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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits