Regression going from egcs-1.03 to egcs-19980803
Kamil Iskra
kamil@dwd.interkom.pl
Mon Aug 17 04:54:00 GMT 1998
On Sat, 15 Aug 1998, Jeffrey A Law wrote:
> > $ /u/local/bin/gcc -save-temps -O2 -Wall -c warnbug.cc
> > warnbug.cc: In function `int foo(int)':
> > warnbug.cc:11: warning: `int i' might be used uninitialized in this function
> The code to detect potentially uninitialized variables is not very
> good -- it reports many false positives.
>
> -O2 optimization enables global cse, which happens to rearrange code
> in a manner which triggers the false positive warnings.
This should definitely go into FAQ. I have this funny feeling it's going
to be one of the most frequently reported "bugs" in egcs-1.1.
/ Kamil Iskra AmigaOS Linux/i386 Linux/m68k \
| GeekGadgets GCC maintainer UNIX system administrator |
| iskra@student.uci.agh.edu.pl kiskra@ernie.icslab.agh.edu.pl |
\ kamil@dwd.interkom.pl http://student.uci.agh.edu.pl/~iskra /
More information about the Gcc
mailing list