This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wuninitialized issues


On Wed, 2 Nov 2005, Jeffrey A Law wrote:
Sure, running it as the first stage of the optimizers has the effect of
making it have the properties I desire, without requiring the front-ends
to duplicate the code.  Such a feature would be great to have!
I think we've all agreed it's a good feature to have; I think all
we're trying to work out is invocation details.  ie, do we have
another switch and if we do, is it enabled or disabled when
the existing -Wuninitialized is enabled.

My preference would be to make the "front-end" version of the warning be on with -Wall, and the existing version be enabled with a new flag. However, I don't feel strongly about this, and as long as there is a way to turn the "front-end" version on and the existing one off. Bonus points if it can be done without causing issues with older GCC's. :-)


-Chris

--
http://nondot.org/sabre/
http://llvm.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]