C++ PATCH: Fix PR 862
Mark Mitchell
mark@codesourcery.com
Fri Apr 27 15:42:00 GMT 2001
Thanks for doing this!
Just to be clear, when you remove (unsupported option) -fbar from
lang-options.h for C++, does that mean that the C front-end will now
complain about -fbar, whereas it would silently ignore it if it were
still there? If so, that represents a behavior change from the
previous version of GCC which presumably would have silently ignored
the option. Is that correct, or do I misunderstand?
If that is the case, I'm not sure it's a problem. (I've always
thought that silently ignoring options was a little odd; it fails the
principle of least surprise, in my opinion.)
So, I think the patch is OK, but I think maybe someone else (Jason
Merrill?) should have a chance to comment if I'm guessing right above.
If I'm wrong, then the patch is definitely OK.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list