[Bug c/53072] automatically set Init() only if option was not set in some other way

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 24 14:11:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53072

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-24 14:10:48 UTC ---
(In reply to comment #1)
> On Sun, 22 Apr 2012, manu at gcc dot gnu.org wrote:
> This is explicitly not a detailed design; anyone implementing it would 
> need to flesh out the details.

Say we have: A enables B enables C. Do we actually need to track that C was
enabled by B or by A? Sorry I cannot imagine what for. 

For warning options, it is sufficient to track the C was enabled by other
option different from C. It seems we have most of the infrastructure to do
this, however, it is unclear how to use this infrastructure to make Init()
useful again, or implement  PR 53063.



More information about the Gcc-bugs mailing list