I have spend the morning tracking down a bug that shows up only for a
bootstrapped compiler.  This is on i686-pc-linux-gnu.

The bug is in libgcc:bid64_add.c

The reason that the problem does not show up for the stage1 compile is
that libgcc is built without -fomit-frame-pointer in the stage1 build
and with -fomit-frame-pointer in the stage3 build.  Aside from that the
command lines are the same.

This seems like a bug.

Any comments?

stage1 command
/gondorpublic/gbG2/./gcc/xgcc -B/gondorpublic/gbG2/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -O2 -g -O2  -O2 -g -O2  
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC
-g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../.././gcc -I/home/zadeck/gccGlobal/libgcc
-I/home/zadeck/gccGlobal/libgcc/. -I/home/zadeck/gccGlobal/libgcc/../gcc
-I/home/zadeck/gccGlobal/libgcc/../include
-I/home/zadeck/gccGlobal/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o bid64_add.o -MT
bid64_add.o -MD -MP -MF bid64_add.dep -c
/home/zadeck/gccGlobal/libgcc/config/libbid/bid64_add.c

stage3 command
/gondorpublic/gbGlobal/./gcc/xgcc -B/gondorpublic/gbGlobal/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-gnu/sys-include -g -O2 -fomit-frame-pointer
-O2  -O2 -g -O2   -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I/home/zadeck/gccGlobal/libgcc -I/home/zadeck/gccGlobal/libgcc/.
-I/home/zadeck/gccGlobal/libgcc/../gcc
-I/home/zadeck/gccGlobal/libgcc/../include
-I/home/zadeck/gccGlobal/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o bid64_add.o -MT
bid64_add.o -MD -MP -MF bid64_add.dep -c
/home/zadeck/gccGlobal/libgcc/config/libbid/bid64_add.c


Kenny

Reply via email to