[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #7 from Uros Bizjak 2013-03-11 22:43:38 UTC --- Testcase: --cut here-- extern int global_options; extern unsigned char *mode_size; extern int printf (const char *, ...); void mergeable_constant_section (int mode, unsigned long long align) { unsigned int modesize = mode_size[mode] * 8; if (global_options && modesize <= align && (align & (align - 1)) == 0) { unsigned int flags; printf ("%d", (int) (align / 8)); flags = align / 8; printf ("%u", (unsigned int) flags); } } --cut here-- $ ~/gcc-build-46/gcc/xgcc -B ~/gcc-build-46/gcc -O2 -m32 -march=pentium3 \ -fcompare-debug pr53728.c xgcc: error: pr53728.c: -fcompare-debug failure (length)
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 Uros Bizjak changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Uros Bizjak 2013-03-11 21:31:26 UTC --- (In reply to comment #5) > This is a compare-debug failure with -O2 -march=pentium3 Also fails on gcc-4_6 x86_64 with -O2 -m32 -march=pentium3 ~/gcc-build-46/prev-gcc/xgcc -B ~/gcc-build-46/prev-gcc -O2 -march=pentium3 -fcompare-debug -m32 varasm.i xgcc: error: varasm.i: -fcompare-debug failure (length) xgcc (GCC) 4.6.4 20130311 (prerelease) [gcc-4_6-branch revision 196601]
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #5 from Uros Bizjak 2013-03-11 21:11:00 UTC --- Created attachment 29646 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29646 Preprocessed source of the file that miscompares during bootstrap This is a compare-debug failure with -O2 -march=pentium3 ~/gcc-build-46/prev-gcc/xgcc -B ~/gcc-build-46/prev-gcc -O2 -march=pentium3 -fcompare-debug varasm.i xgcc: error: varasm.i: -fcompare-debug failure (length) Where gcc was configured with: CC="gcc -m32" ~/gcc-svn/branches/gcc-4_6-branch/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --with-arch=i686 --enable-languages=c
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #4 from Uros Bizjak 2013-02-15 12:23:16 UTC --- (In reply to comment #3) > > Please test the source from the latest 4.6 SVN branch. > > Still fails Then I need exact steps how to trigger the failure on my x86_64-linux, with the official version from FSF SVN. Following the procedure, described in Comment 1, the compilation didn't fail for me. Leaving in WAITING state until exact recipe is available.
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #3 from Kacper Kowalik 2013-02-15 11:45:13 UTC --- (In reply to comment #2) > Please test the source from the latest 4.6 SVN branch. I've got report from user claiming that: commit 10612cb1b937163dcb5207913814a2fa5902cfa2 Author: gccadmin Date: Fri Feb 15 00:17:27 2013 + Daily bump. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@196061 138bc75d-0d04-0410-961f-82ee72b054a Still fails
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed||2013-02-10 Ever Confirmed|0 |1 --- Comment #2 from Uros Bizjak 2013-02-10 07:57:30 UTC --- Please test the source from the latest 4.6 SVN branch.
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 --- Comment #1 from Uros Bizjak 2013-01-30 23:09:05 UTC --- Can you try to build from latest 4.6 branch SVN? The bootstrap works for me with: CC="gcc -m32" ~/gcc-svn/branches/gcc-4_6-branch/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --with-arch=i686 --enable-languages=c and make -j 8 BOOT_CFLAGS="-O2 -march=pentium3 -pipe" bootstrap-lean for gcc version 4.6.4 20130127 (prerelease) [gcc-4_6-branch revision 195496] (GCC)
[Bug bootstrap/53728] [4.6 regression] Bootstrap comparison failure (gcc/varasm.o differs) with CFLAGS="-O2 -march=pentium3"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53728 Richard Guenther changed: What|Removed |Added Target||i686-pc-linux-gnu Target Milestone|--- |4.6.4