This is the mail archive of the gcc-patches@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: Patch for various warnings in gcc


Hi,

On Thu, 8 Aug 2002, Kaveh R. Ghazi wrote:

> Hmm, I have two concerns with this.  First if we're forcibly silencing
> the warning this way without initializing the variable, we'll get
> non-deterministic behavior if an actual uninitialized reference is
> later introduced.

Yes, that's the ugly side of this, but I don't expect to have too many
changes in that part, except a complete rewrite ;)

> Second, I'm not sure what happens with vendor compilers used in
> stage1.  I don't care about their warnings, but are we confident that
> this mechanism doesn't break any of them?  What about traditional C?

As one data point it's accepted by Suns cc.


Ciao,
Michael.


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