[patch] Forward all -f* options to -cc1
Tobias Grosser
tobias at grosser.es
Mon Sep 30 06:09:39 PDT 2013
On 09/30/2013 02:47 PM, Rafael EspĂndola wrote:
>>> If the -cc1 option handling can be made *really* simple, I would be ok
>>> with it. By really simple I mean something like "all boolean options
>>> default to false, the driver just passes a list of flags to enable".
>>
>>
>> Busy in committee at the moment, so not likely to get to a proper review,
>> but just for the record I really like the separation of concerns even if the
>> handling is simple.
>
> I assume you mean "if it is simple" not "even if it is simple". I
> mean, if the driver is doing the complex part of option handling than
> it is better for it to use a simple interface to pass the result to
Also, it may be interesting to look into the -ffast-math option and how
it is handled (specifically test/Driver/fast-math.c). To my
understanding there was put quite some intelligence into the driver to
make --cc1 options rather straightforward.
Tobias
More information about the cfe-commits
mailing list