PR6878 (-cc1 should default to -fexceptions)
John McCall
rjmccall at apple.com
Wed Jul 31 19:14:21 PDT 2013
On Jul 31, 2013, at 5:59 AM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
>> And then the driver basically makes the same decision that it does today,
>> and if that differs from what it knows the frontend will decide, it should
>> pass the appropriate option.
>
> The -cc1 interface is not normally used by humans (other than us when
> writing tests), so why is this mild duplication better? It seems that
> if the driver needs to reason about some options, it should just pass
> the result to -cc1. If the options don't change the driver behavior,
> it should probably just forward them.
Well, it reduces the complexity of the frontend a bit. I wouldn’t fervently
oppose your proposal, though, as long as we preserve the basic idea
that the -cc1 default should be fully compliance with the selected language.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130731/5053fbe4/attachment.html>
More information about the cfe-commits
mailing list