[basic-improvements] N-way choice followup

Neil Booth neil@daikokuya.co.uk
Fri Oct 4 12:18:00 GMT 2002


Zack Weinberg wrote:-

> I would have liked to get rid of the extra parser and just set the
> 'switch validated' flag bits as part of normal processing, but this
> breaks the existing invariant that switches meaningful to language A
> are silently ignored when compiling language B.

I didn't preserve that with front-end specific options across C/ObjC/C++
when I did c-opts.c.  I originally made it an error, but was requested
to downgrade it to a warning for a while at least.  IMO the only reason
things are the way they are is that being precise (particularly in the
driver) is too hard in general.  It's easy for the C family options,
so I did it.

Neil.



More information about the Gcc-patches mailing list