../../xgcc -B../../ -c -g -O2 -W -Wall -gnatpg g-cgideb.adb -o g-cgideb.o +===========================GNAT BUG DETECTED==============================+ | 3.4.2 20040902 (prerelease) (PLD Linux) (i686-pld-linux-gnu) | | Storage_Error stack overflow (or erroneous memory access) | | Error detected at g-cgideb.adb:36:22 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ btw: what about [Bug middle-end/16503]? will it be fixed?
Does this work with i686-pc-linux-gnu as the target if so this is an optimization problem in the sense -march=pentium3 causes the wrong code. Also does this happen on the mainline.
*** Bug 17567 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Does this work with i686-pc-linux-gnu as the target if so this is an optimization problem in the sense > -march=pentium3 causes the wrong code. Also does this happen on the mainline. Currently I have installed gcc-3.4.3-20041008 (pentium3 target with -O2) and I can't rebuild any gcc34 snaphot (386 target with -O0) :/ # segv gcc -c -O0 -march=i386 -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include ../../gcc/c-parse.c -o c-parse.o In file included from c-parse.y:48: ../../gcc/output.h:107: internal compiler error: Segmentation fault make[2]: *** [c-parse.o] Error 1
gcc(ada)-3.4.3/4.0.0snap now builds/works fine with -march=pentium3.