This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for various warnings in gcc
- From: Michael Matz <matz at suse dot de>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 8 Aug 2002 17:56:04 +0200 (CEST)
- Subject: 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.