Revision 149170: http://gcc.gnu.org/ml/gcc-cvs/2009-07/msg00046.html breaks bootstrap on Linux/ia32: /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -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 -c -g -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../src-trunk/gcc -I../../src-trunk/gcc/build -I../../src-trunk/gcc/../include -I../../src-trunk/gcc/../libcpp/include -I../../src-trunk/gcc/../libdecnumber -I../../src-trunk/gcc/../libdecnumber/bid -I../libdecnumber \ -o build/gencheck.o ../../src-trunk/gcc/gencheck.c build/genmodes > tmp-modes.c /bin/sh: line 1: 23689 Segmentation fault build/genmodes > tmp-modes.c make[6]: *** [s-modes] Error 139 make[6]: *** Waiting for unfinished jobs.... rm gcj-dbtool.pod fsf-funding.pod jcf-dump.pod jv-convert.pod grmic.pod gcov.pod gcj.pod gc-analyze.pod gfdl.pod cpp.pod gij.pod gcc.pod gfortran.pod make[6]: Leaving directory `/export/gnu/import/svn/gcc-test/bld/gcc' make[5]: *** [all-stage2-gcc] Error 2 make[5]: Leaving directory `/export/gnu/import/svn/gcc-test/bld' make[4]: *** [stage2-bubble] Error 2
For 4.5 you mean?
(In reply to comment #1) > For 4.5 you mean? > Yes. Only on Linux/ia32. Linux/x86-64 passed that failure point.
Ok, I'm trying to reproduce and get genmodes.i.
Hm, I'm into stage2 and genmodes was already built and executed fine - so, I don't seem to be able to reproduce it right now. How did you configure? I did /space/rguenther/tramp3d/trunk/configure --enable-languages=c --disable-nls --with-build-time-tools=/abuild/rguenther/tools32/usr/bin which configures for i686-pc-linux-gnu for me.
Thus, please somebody attach genmodes.i that is miscompiled.
Ok, I see it with stage3 only :( build/genmodes > tmp-modes.c /bin/sh: line 1: 16996 Segmentation fault build/genmodes > tmp-modes.c make[3]: *** [s-modes] Error 139 make[3]: *** Waiting for unfinished jobs.... rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gcc.pod make[3]: Leaving directory `/abuild/rguenther/obj-32/gcc' make[2]: *** [all-stage3-gcc] Error 2 make[2]: Leaving directory `/abuild/rguenther/obj-32' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/abuild/rguenther/obj-32' make: *** [all] Error 2
(In reply to comment #6) > Ok, I see it with stage3 only :( > > build/genmodes > tmp-modes.c > /bin/sh: line 1: 16996 Segmentation fault build/genmodes > tmp-modes.c > make[3]: *** [s-modes] Error 139 > make[3]: *** Waiting for unfinished jobs.... > rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gcc.pod > make[3]: Leaving directory `/abuild/rguenther/obj-32/gcc' > make[2]: *** [all-stage3-gcc] Error 2 > make[2]: Leaving directory `/abuild/rguenther/obj-32' > make[1]: *** [stage3-bubble] Error 2 > make[1]: Leaving directory `/abuild/rguenther/obj-32' > make: *** [all] Error 2 > Configuring gcc with ../src-trunk/configure --enable-clocale=gnu --with-system-zlib --enable-shared --with-demangler-in-ld may see it in stage2.
Hmm, building genmodes.o with -save-temps makes the segfault go away...
Ok, i have an idea.
Subject: Bug 40617 Author: rguenth Date: Thu Jul 2 15:50:26 2009 New Revision: 149179 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149179 Log: 2009-07-02 Richard Guenther <rguenther@suse.de> PR bootstrap/40617 * tree-ssa-structalias.c (new_var_info): Initialize is_restrict_var. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-structalias.c
Fixed I suppose.