This is the mail archive of the gcc-bugs@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]

Re: Incorrect `might be used uninitialized' message


  In message <199907311218.IAA09699@beak.my.domain>you write:
  > /* Demonstrates bug in egcs-2.91.66 on FreeBSD 3.2.  To see the bug,
  >    compile using:
  >    
  >           gcc -c token.c -g -Wall -O2 
  > 
  >    The bug is the warning:
  > 
  >      token.c:17: warning: `c' might be used uninitialized in this function
  > 
  >    egcs-2.91.60 on Solaris 2.6 reports this message twice.
  > */
Thanks.

FWIW, gcc-2.95 does not generate the incorrect warning for this test.  However,
the test does trigger a fairly obscure abort in the gcc-2.95 compiler.  I've
asked someone more knowledgeable about the code in question to look into the
problem.

Thanks,
jeff


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