public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/32024]  New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
@ 2007-05-21 15:06 rob1weld at aol dot com
  2007-05-21 15:08 ` [Bug middle-end/32024] " pinskia at gcc dot gnu dot org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-21 15:06 UTC (permalink / raw)
  To: gcc-bugs

The bootstrap hardly runs for a few minutes and then I get an ICE.


Screen output:
...
make[3]: Leaving directory `/opt/gcc-4_3-build/gcc'
mkdir -p -- i686-pc-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in i686-pc-linux-gnu/libgcc
configure: creating cache ./config.cache
...
checking whether decimal floating point is supported... yes
checking for __attribute__((visibility("hidden")))... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
make[3]: Entering directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
# multilibs.
/opt/gcc-4_3-build/./gcc/xgcc -B/opt/gcc-4_3-build/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g
-fkeep-inline-functions -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/root/downloads/gcc-4_3-trunk/libgcc
-I/root/downloads/gcc-4_3-trunk/libgcc/.
-I/root/downloads/gcc-4_3-trunk/libgcc/../gcc
-I/root/downloads/gcc-4_3-trunk/libgcc/../include
-I/root/downloads/gcc-4_3-trunk/libgcc/../libdecnumber/bid
-I/root/downloads/gcc-4_3-trunk/libgcc/../libdecnumber -I../../libdecnumber -o
_muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c: In function '__muldi3':
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c:557: internal compiler
error: in fold_checksum_tree, at fold-const.c:12652
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [_muldi3.o] Error 1
make[3]: Leaving directory `/opt/gcc-4_3-build/i686-pc-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/gcc-4_3-build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/gcc-4_3-build'
make: *** [all] Error 2


# gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--with-gjdoc --enable-portable-native-sync --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,fold,gc,misc,rtl,rtlflag,runtime,tree
Thread model: posix
gcc version 4.3.0 20070521 (experimental)

The _exact_ same ./configure commands work on gcc 4.2.0/1 (last few weeks).
I have saved a "make" screen output log (and the whole build directory).

No rush, I'll play with 4.2.1 while I wait to see if this clears up.


-- 
           Summary: ICE - libgcc2.c:557: internal compiler error: in
                    fold_checksum_tree, at fold-const.c:12652
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
@ 2007-05-21 15:08 ` pinskia at gcc dot gnu dot org
  2007-05-21 18:09 ` rob1weld at aol dot com
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-21 15:08 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal
          Component|bootstrap                   |middle-end
           Keywords|                            |build, ice-checking, ice-on-
                   |                            |valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
  2007-05-21 15:08 ` [Bug middle-end/32024] " pinskia at gcc dot gnu dot org
@ 2007-05-21 18:09 ` rob1weld at aol dot com
  2007-05-21 20:05 ` rob1weld at aol dot com
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-21 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rob1weld at aol dot com  2007-05-21 19:09 -------
I did some more testing on this issue. I started pulling off configure option a
half dozen at a time.

1st I removed:
--enable-initfini-array --enable-__cxa_atexit --enable-threads=posix
--enable-decimal-float --with-long-double-128 --with-tls

Next I removed:
--enable-objc-gc --enable-concept-checks --enable-libstdcxx-debug
--enable-static --enable-shared --enable-version-specific-runtime-libs
--enable-gc-debug

Then I removed:
--enable-libssp --enable-libmudflap --enable-libgomp --enable-nls
--with-included-gettext --enable-debug --enable-java-gc=boehm --with-x
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--enable-java-awt=gtk,xlib --enable-gtk-cairo --enable-qt-peer --enable-xmlj
--enable-gconf-peer --enable-tool-wrappers --with-gjdoc
--enable-portable-native-sync --enable-libgcj-multifile --with-stabs
--enable-hash-synchronization --enable-interpreter --with-system-zlib
--enable-libada


It still broke each time in the _exact_ same place. Finally I removed _ALL_
options and simply used "./configure". A grep of the Makefile's
BUILD_CONFIGARGS says: '--enable-languages=c,c++,fortran,java,objc' which are
not enough for what I prefer - but now it builds I can add some more options
back in.


So now my xgcc says this:

#gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure
Thread model: posix
gcc version 4.3.0 20070521 (experimental)


The make of gcc has now passed the point where the prior ICE occurred. I did a
"diff -q" of the ICE'd build directory and the (so far) successful directory
and came up with this output (hand-edited output of diff):

Files ../gcc-4_3-build-ICE-1/Makefile and ../gcc-4_3-build/Makefile differ
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/fixincludes/config.log and
../gcc-4_3-build/build-i686-pc-linux-gnu/fixincludes/config.log differ
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/fixincludes/config.status
and ../gcc-4_3-build/build-i686-pc-linux-gnu/fixincludes/config.status differ
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/fixincludes/mkheaders
Files
../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/fixincludes/mkheaders.almost
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/libiberty/Makefile
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/libiberty/config.log
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/libiberty/config.status
Files ../gcc-4_3-build-ICE-1/build-i686-pc-linux-gnu/libiberty/libiberty.a
Files ../gcc-4_3-build-ICE-1/config.log
Files ../gcc-4_3-build-ICE-1/config.status
Files ../gcc-4_3-build-ICE-1/gcc/Make-hooks
Files ../gcc-4_3-build-ICE-1/gcc/Makefile
Files ../gcc-4_3-build-ICE-1/gcc/ada/Makefile
Files ../gcc-4_3-build-ICE-1/gcc/auto-host.h
Files ../gcc-4_3-build-ICE-1/gcc/config.cache
Files ../gcc-4_3-build-ICE-1/gcc/config.log
Files ../gcc-4_3-build-ICE-1/gcc/config.status
Files ../gcc-4_3-build-ICE-1/gcc/configargs.h
Files ../gcc-4_3-build-ICE-1/gcc/gccbug
Files ../gcc-4_3-build-ICE-1/gcc/libada-mk
Files ../gcc-4_3-build-ICE-1/intl/Makefile
Files ../gcc-4_3-build-ICE-1/intl/config.cache
Files ../gcc-4_3-build-ICE-1/intl/config.h
Files ../gcc-4_3-build-ICE-1/intl/config.intl
Files ../gcc-4_3-build-ICE-1/intl/config.log
Files ../gcc-4_3-build-ICE-1/intl/config.status
Files ../gcc-4_3-build-ICE-1/libiberty/Makefile
Files ../gcc-4_3-build-ICE-1/libiberty/alloca.o
Files ../gcc-4_3-build-ICE-1/libiberty/argv.o
Files ../gcc-4_3-build-ICE-1/libiberty/choose-temp.o
Files ../gcc-4_3-build-ICE-1/libiberty/concat.o
Files ../gcc-4_3-build-ICE-1/libiberty/config.cache
Files ../gcc-4_3-build-ICE-1/libiberty/config.log
Files ../gcc-4_3-build-ICE-1/libiberty/config.status
Files ../gcc-4_3-build-ICE-1/libiberty/cp-demangle.o
Files ../gcc-4_3-build-ICE-1/libiberty/cp-demint.o
Files ../gcc-4_3-build-ICE-1/libiberty/cplus-dem.o
Files ../gcc-4_3-build-ICE-1/libiberty/dyn-string.o
Files ../gcc-4_3-build-ICE-1/libiberty/fdmatch.o
Files ../gcc-4_3-build-ICE-1/libiberty/fibheap.o
Files ../gcc-4_3-build-ICE-1/libiberty/filename_cmp.o
Files ../gcc-4_3-build-ICE-1/libiberty/floatformat.o
Files ../gcc-4_3-build-ICE-1/libiberty/fnmatch.o
Files ../gcc-4_3-build-ICE-1/libiberty/fopen_unlocked.o
Files ../gcc-4_3-build-ICE-1/libiberty/getopt.o
Files ../gcc-4_3-build-ICE-1/libiberty/getopt1.o
Files ../gcc-4_3-build-ICE-1/libiberty/getpwd.o
Files ../gcc-4_3-build-ICE-1/libiberty/getruntime.o
Files ../gcc-4_3-build-ICE-1/libiberty/hashtab.o
Files ../gcc-4_3-build-ICE-1/libiberty/hex.o
Files ../gcc-4_3-build-ICE-1/libiberty/lbasename.o
Files ../gcc-4_3-build-ICE-1/libiberty/libiberty.a
Files ../gcc-4_3-build-ICE-1/libiberty/lrealpath.o
Files ../gcc-4_3-build-ICE-1/libiberty/make-relative-prefix.o
Files ../gcc-4_3-build-ICE-1/libiberty/make-temp-file.o
Files ../gcc-4_3-build-ICE-1/libiberty/md5.o
Files ../gcc-4_3-build-ICE-1/libiberty/mkstemps.o
Files ../gcc-4_3-build-ICE-1/libiberty/objalloc.o
Files ../gcc-4_3-build-ICE-1/libiberty/obstack.o
Files ../gcc-4_3-build-ICE-1/libiberty/partition.o
Files ../gcc-4_3-build-ICE-1/libiberty/pex-common.o
Files ../gcc-4_3-build-ICE-1/libiberty/pex-one.o
Files ../gcc-4_3-build-ICE-1/libiberty/pex-unix.o
Files ../gcc-4_3-build-ICE-1/libiberty/pexecute.o
Files ../gcc-4_3-build-ICE-1/libiberty/physmem.o
Files ../gcc-4_3-build-ICE-1/libiberty/regex.o
Files ../gcc-4_3-build-ICE-1/libiberty/safe-ctype.o
Files ../gcc-4_3-build-ICE-1/libiberty/sort.o
Files ../gcc-4_3-build-ICE-1/libiberty/spaces.o
Files ../gcc-4_3-build-ICE-1/libiberty/splay-tree.o
Files ../gcc-4_3-build-ICE-1/libiberty/strerror.o
Files ../gcc-4_3-build-ICE-1/libiberty/strsignal.o
Files ../gcc-4_3-build-ICE-1/libiberty/ternary.o
Files ../gcc-4_3-build-ICE-1/libiberty/testsuite/Makefile
Files ../gcc-4_3-build-ICE-1/libiberty/unlink-if-ordinary.o
Files ../gcc-4_3-build-ICE-1/libiberty/xatexit.o
Files ../gcc-4_3-build-ICE-1/libiberty/xexit.o
Files ../gcc-4_3-build-ICE-1/libiberty/xhost-mkfrag
Files ../gcc-4_3-build-ICE-1/libiberty/xmalloc.o
Files ../gcc-4_3-build-ICE-1/libiberty/xmemdup.o
Files ../gcc-4_3-build-ICE-1/libiberty/xstrdup.o
Files ../gcc-4_3-build-ICE-1/libiberty/xstrerror.o
Files ../gcc-4_3-build-ICE-1/libiberty/xstrndup.o
Files ../gcc-4_3-build-ICE-1/zlib/Makefile
Files ../gcc-4_3-build-ICE-1/zlib/config.cache
Files ../gcc-4_3-build-ICE-1/zlib/config.log
Files ../gcc-4_3-build-ICE-1/zlib/config.status
Files ../gcc-4_3-build-ICE-1/zlib/libtool
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-adler32.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-compress.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-crc32.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-deflate.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-gzio.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-infback.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-inffast.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-inflate.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-inftrees.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-trees.o
Files ../gcc-4_3-build-ICE-1/zlib/libz_a-uncompr.o


Since there are very few differences in the gcc-4_3-build-ICE/gcc/* files and
the ".o" (and executable files) are _identical_ it is my opinion that the gcc
executable itself is _probably_ not at fault. The same can be said for the
"intl" directory.

The directories with _many_ differences are "zlib" (probably not at fault) and
"libiberty", which is where the problem _might_ be.

I will try some more to narrow this down by adding back more options and
rebuilding repeatedly.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
  2007-05-21 15:08 ` [Bug middle-end/32024] " pinskia at gcc dot gnu dot org
  2007-05-21 18:09 ` rob1weld at aol dot com
@ 2007-05-21 20:05 ` rob1weld at aol dot com
  2007-05-22  2:18 ` rob1weld at aol dot com
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-21 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rob1weld at aol dot com  2007-05-21 21:05 -------
The BUG is somewhere in here:

I put back ALL my origonal (lengthy) configure options but left off the
checking. It gets past the ICE. That is not good though...

Situation A): The checker is working fine and the code produced is incorrect
and this is being caught by the checker.

Situation B): The checker is incorrect and the code produced is OK, the checker
is wrongly complaining about code that is OK.

I check back in a day or two ...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (2 preceding siblings ...)
  2007-05-21 20:05 ` rob1weld at aol dot com
@ 2007-05-22  2:18 ` rob1weld at aol dot com
  2007-05-22  8:53 ` rguenth at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-22  2:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rob1weld at aol dot com  2007-05-22 03:17 -------
Created an attachment (id=13598)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13598&action=view)
Notes: diffs of 4.2.1 and 4.3.0 fold-const.c and ICE


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (3 preceding siblings ...)
  2007-05-22  2:18 ` rob1weld at aol dot com
@ 2007-05-22  8:53 ` rguenth at gcc dot gnu dot org
  2007-05-22 15:02 ` rob1weld at aol dot com
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-22  8:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-05-22 09:53 -------
bootstrap with fold-checking is known to be broken.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (4 preceding siblings ...)
  2007-05-22  8:53 ` rguenth at gcc dot gnu dot org
@ 2007-05-22 15:02 ` rob1weld at aol dot com
  2007-05-24  5:41 ` rob1weld at aol dot com
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-22 15:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rob1weld at aol dot com  2007-05-22 16:02 -------
Thanks for confirming, Richard. It works on 4.2.0/1 and I've enclosed notes in
the prior message that _probably_ explain why it is failing.

In addition I just did a build (one day newer version) _without_ "fold" and it
still halted the make and trigger a GNAT BUG in verify_flow_info.

If the bootstrap is that touchy then we won't be getting many good compiles
finishing (and test results submitted, and bugs fixed).

Yesterday it worked, today I added
"--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree" and it
broke.

---

I'm placing this here because I am reasonably certain that it is related to the 
problems with the "fold-const.c" after examining the code.


Here is the output:

make profiledbootstrap 2>&1 | tee make_1_log.txt

...(Many Many lines)
ranlib libdecnumber.a
make[3]: Leaving directory `/opt/gcc-4_3-build/libdecnumber'
make[3]: Entering directory `/opt/gcc-4_3-build/gcc'
test -d po || mkdir po
/usr/bin/msgfmt --statistics -o po/be.gmo
/root/downloads/gcc-4_3-trunk/gcc/po/be.po
114 translated messages, 1159 fuzzy translations, 4632 untranslated messages.
...(Many lines)
build/genrecog /root/downloads/gcc-4_3-trunk/gcc/config/i386/i386.md \
          insn-conditions.md > tmp-recog.c
/root/downloads/gcc-4_3-trunk/gcc/config/i386/i386.md:18884: warning: operand 1
missing mode?
/bin/sh /root/downloads/gcc-4_3-trunk/gcc/../move-if-change tmp-recog.c
insn-recog.c
echo timestamp > s-recog
...(Many lines)
ranlib  libbackend.a
...(Few lines)
build/genchecksum cc1-dummy > cc1-checksum.c
...(Some lines)
/opt/gcc-4_3-build/./prev-gcc/xgcc -B/opt/gcc-4_3-build/./prev-gcc/
-B/usr/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -fprofile-generate
     -gnatpg -gnata -I- -I. -Iada -I/root/downloads/gcc-4_3-trunk/gcc/ada
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb -o ada/ali.o
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb: In function 'ALI.SCAN_ALI':
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 126
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 126
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 126
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 126
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 126
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 664
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 664
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 664
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 664
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265: error: control flow in the
middle of basic block 664
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20070522 (experimental) (i686-pc-linux-gnu) verify_flow_info failed|
| Error detected around /root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb:2265 |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| 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).                   |
+==========================================================================+
(blank line)
Please include these source files with error report
Note that list may not be accurate in some cases, 
so please double check that the problem can still 
be reproduced with the set of files listed.
(blank line)
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.adb
/root/downloads/gcc-4_3-trunk/gcc/ada/ali.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/casing.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/types.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/gnatvsn.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/rident.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/table.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/butil.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/debug.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/fname.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/namet.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/alloc.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/hostparm.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/opt.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/osint.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/output.ads
/root/downloads/gcc-4_3-trunk/gcc/ada/table.adb
/root/downloads/gcc-4_3-trunk/gcc/ada/tree_io.ads
(blank line)
(blank line)
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:398
make[3]: *** [ada/ali.o] Error 1
make[3]: Leaving directory `/opt/gcc-4_3-build/gcc'
make[2]: *** [all-stageprofile-gcc] Error 2
make[2]: Leaving directory `/opt/gcc-4_3-build'
make[1]: *** [stageprofile-bubble] Error 2
make[1]: Leaving directory `/opt/gcc-4_3-build'
make: *** [profiledbootstrap] Error 2


# grep Configuring\ stage make_1_log.txt
Configuring stage 1 in ./intl
Configuring stage 1 in ./gcc
Configuring stage 1 in ./libiberty
Configuring stage 1 in ./zlib
Configuring stage 1 in ./libcpp
Configuring stage 1 in ./libdecnumber
Configuring stage 1 in i686-pc-linux-gnu/libgcc
Configuring stage profile in ./intl
Configuring stage profile in ./gcc
Configuring stage profile in ./libiberty
Configuring stage profile in ./zlib
Configuring stage profile in ./libcpp
Configuring stage profile in ./libdecnumber
# 


# wc -l make_1_log.txt 
5356 make_1_log.txt


# prev-gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--with-gjdoc --enable-portable-native-sync --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp : (reconfigured)
/root/downloads/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--enable-portable-native-sync --enable-libgcj-multifile --with-stabs
--enable-hash-synchronization --enable-gc-debug --enable-interpreter
--with-system-zlib --enable-libada --with-tls --with-cpu=athlon-xp
--with-arch=athlon-xp
--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree
Thread model: posix
gcc version 4.3.0 20070522 (experimental)
# 



Since _I_ did not add the "flow" flag the "verify_flow_info failed" error is a
result of the existing flow checking and nothing that I added.



I was able to complete the build on 4.3.0 _yesterday_ (without the other
checking ebabled) using my usual HUGE number of options, (everything).

Results for 4.3.0 20070521 (experimental) testsuite on i686-pc-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01083.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (5 preceding siblings ...)
  2007-05-22 15:02 ` rob1weld at aol dot com
@ 2007-05-24  5:41 ` rob1weld at aol dot com
  2007-05-27 22:08 ` rob1weld at aol dot com
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-24  5:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rob1weld at aol dot com  2007-05-24 06:41 -------
"make profiledbootstrap" is broken.

Newest compile uses
"--enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime" since both "fold"
and "tree" have some issues.

Results for 4.3.0 20070523 (experimental) testsuite on i686-pc-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01171.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (6 preceding siblings ...)
  2007-05-24  5:41 ` rob1weld at aol dot com
@ 2007-05-27 22:08 ` rob1weld at aol dot com
  2007-05-29  3:57 ` rob1weld at aol dot com
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-27 22:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rob1weld at aol dot com  2007-05-27 22:08 -------
This bug is still active when configuring with
--enable-stage1-checking=assert,fold,gc,misc,rtl,rtlflag,runtime,tree

# cat gcc-4_3-trunk/LAST_UPDATED 
Sun May 27 20:31:07 UTC 2007 (revision 125116)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (7 preceding siblings ...)
  2007-05-27 22:08 ` rob1weld at aol dot com
@ 2007-05-29  3:57 ` rob1weld at aol dot com
  2007-06-20  5:15 ` rob1weld at aol dot com
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-05-29  3:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rob1weld at aol dot com  2007-05-29 03:57 -------
For target i686-pc-linux-gnu it breaks at:

/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c: In function '__muldi3':
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c:557: internal compiler
error: in fold_checksum_tree, at fold-const.c:12652

For target i686-pc-cygwin it breaks at:
$ cat /cygdrive/C/makecygwin/gcc-4_3-trunk/LAST_UPDATED 
Mon May 28 16:39:01 UTC 2007 (revision 125132)

/cygdrive/C/makecygwin/gcc-4_3-trunk/configure --verbose
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
--prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
--with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
--enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit
--enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp
--enable-libmudflap --enable-libgomp --disable-werror --enable-nls
--with-included-gettext --enable-decimal-float --with-long-double-128
--enable-debug --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
--enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
--enable-portable-native-sync --enable-examples --enable-libgcj-multifile
--with-stabs --enable-hash-synchronization --enable-gc-debug
--enable-interpreter --with-system-zlib --enable-libada --with-tls
--with-cpu=athlon-xp --with-arch=athlon-xp
--enable-stage1-checking=assert,fold,gc,misc,rtl,rtlflag,runtime,tree

/cygdrive/C/makecygwin/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c: In function
'__sgetc_r':
/cygdrive/C/makecygwin/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c:566: internal
compiler error: in fold_checksum_tree, at fold-const.c:12652


I hope the two different spots help narrow down the one place where "fold" is
broken (if that is what the problem is).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug middle-end/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (8 preceding siblings ...)
  2007-05-29  3:57 ` rob1weld at aol dot com
@ 2007-06-20  5:15 ` rob1weld at aol dot com
  2007-06-20  8:23 ` [Bug bootstrap/32024] " ubizjak at gmail dot com
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-06-20  5:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rob1weld at aol dot com  2007-06-20 05:15 -------
Still occurs:

gcc version 4.3.0 20070619 (experimental)
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c: In function '__muldi3':
/root/downloads/gcc-4_3-trunk/libgcc/../gcc/libgcc2.c:557: internal compiler
error: in fold_checksum_tree, at fold-const.c:12775


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (9 preceding siblings ...)
  2007-06-20  5:15 ` rob1weld at aol dot com
@ 2007-06-20  8:23 ` ubizjak at gmail dot com
  2007-06-20  8:55 ` ubizjak at gmail dot com
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-20  8:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ubizjak at gmail dot com  2007-06-20 08:23 -------
Confirmed, configure gcc with --enable=checking=fold

--cut here--
typedef union
{
  struct {int low, high;} s;
  long long ll;
} DWunion;

long long
__muldi3 (long long u, long long v)
{
  const DWunion uu = {.ll = u};
  const DWunion vv = {.ll = v};
  DWunion w = {.ll = 0 };

  w.s.high += ((unsigned int) uu.s.low * (unsigned int) vv.s.high
        + (unsigned int) uu.s.high * (unsigned int) vv.s.low);

  return w.ll;
}
--cut here--

gcc -O2:

mul.c: In function '__muldi3':
mul.c:9: internal compiler error: in fold_checksum_tree, at fold-const.c:12775
Please submit a full bug report,


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |bootstrap
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-06-20 08:23:06
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (10 preceding siblings ...)
  2007-06-20  8:23 ` [Bug bootstrap/32024] " ubizjak at gmail dot com
@ 2007-06-20  8:55 ` ubizjak at gmail dot com
  2007-06-20  8:59 ` ubizjak at gmail dot com
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-20  8:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ubizjak at gmail dot com  2007-06-20 08:55 -------
backtrace:

(gdb) bt
#0  fancy_abort (file=0x8a02980 "../../gcc-svn/trunk/gcc/fold-const.c",
line=12775, function=0x8a021be "fold_checksum_tree") at
../../gcc-svn/trunk/gcc/diagnostic.c:656
#1  0x08207fc1 in fold_checksum_tree (expr=0xb7f55de4, ctx=0xbfab4df0,
ht=0x92ce1e8) at ../../gcc-svn/trunk/gcc/fold-const.c:12775
#2  0x082077bf in fold_checksum_tree (expr=0xb7f5b138, ctx=0xbfab4df0,
ht=0x92ce1e8) at ../../gcc-svn/trunk/gcc/fold-const.c:12779
#3  0x0823b69e in fold_build1_stat (code=NOP_EXPR, type=0xb7eb5360,
op0=0xb7f5b138) at ../../gcc-svn/trunk/gcc/fold-const.c:12892
#4  0x0823b9f7 in fold_convert (type=0xb7eb5360, arg=0xb7f5b138) at
../../gcc-svn/trunk/gcc/fold-const.c:2281
#5  0x0894307c in chrec_convert_1 (type=0xb7eb5360, chrec=0xb7f5b138,
at_stmt=0xb7f55e00, use_overflow_semantics=1 '\001') at
../../gcc-svn/trunk/gcc/tree-chrec.c:1308
#6  0x0842482b in interpret_rhs_modify_stmt (loop=0xb7f57c38,
at_stmt=0xb7f55e00, opnd1=0xb7f4e1a0, type=0xb7eb5360) at 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (11 preceding siblings ...)
  2007-06-20  8:55 ` ubizjak at gmail dot com
@ 2007-06-20  8:59 ` ubizjak at gmail dot com
  2007-06-20  9:04 ` ubizjak at gmail dot com
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-20  8:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from ubizjak at gmail dot com  2007-06-20 08:59 -------
(In reply to comment #11)
> backtrace:

(gdb) frame 4
#4  0x0823b9f7 in fold_convert (type=0xb7eb5360, arg=0xb7f5b138) at
../../gcc-svn/trunk/gcc/fold-const.c:2281
(gdb) p debug_tree (arg)
 <ssa_name 0xb7f5b138
    type <integer_type 0xb7eb52f4 int sizes-gimplified public SI
        size <integer_cst 0xb7ea6658 constant invariant 32>
        unit size <integer_cst 0xb7ea6444 constant invariant 4>
        align 32 symtab 0 alias set 4 canonical type 0xb7eb52f4 precision 32
min <integer_cst 0xb7ea6604 -2147483648> max <integer_cst 0xb7ea6620
2147483647>
        pointer_to_this <pointer_type 0xb7ebb798>>
    visited var <var_decl 0xb7f57114 D.1650> def_stmt <gimple_modify_stmt
0xb7f55de4>
    version 3>

So, chrec_convert_1() is sending ssa_name into fold_convert().


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (12 preceding siblings ...)
  2007-06-20  8:59 ` ubizjak at gmail dot com
@ 2007-06-20  9:04 ` ubizjak at gmail dot com
  2007-06-20 12:28 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: ubizjak at gmail dot com @ 2007-06-20  9:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from ubizjak at gmail dot com  2007-06-20 09:03 -------
svn blame of tree-chrec.c

114057    rakdver   /* If we cannot propagate the cast inside the chrec, just
keep the cast.  */
114057    rakdver keep_cast:
100718       spop   res = fold_convert (type, chrec);
 97607  ebotcazou 


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spop at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (13 preceding siblings ...)
  2007-06-20  9:04 ` ubizjak at gmail dot com
@ 2007-06-20 12:28 ` rguenth at gcc dot gnu dot org
  2007-06-24  2:17 ` rob1weld at aol dot com
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-20 12:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from rguenth at gcc dot gnu dot org  2007-06-20 12:28 -------
Don't use fold checking, it's broken.

*** This bug has been marked as a duplicate of 20623 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (14 preceding siblings ...)
  2007-06-20 12:28 ` rguenth at gcc dot gnu dot org
@ 2007-06-24  2:17 ` rob1weld at aol dot com
  2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-06-24  2:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rob1weld at aol dot com  2007-06-24 02:17 -------
I origonally reported "The bootstrap hardly runs for a few minutes and then I
get an ICE." That is no longer the case. I am making gcc version 4.3.0
20070623.

I'm 4 hours into the make (my build is made using
"--enable-stage1-checking=assert,df,fold,gc,misc,rtl,rtlflag,runtime,tree"), it
is passed all the stages and into the libraries now.

_This_ bug report was marked as "RESOLVED DUPLICATE" of 20623 (which is filed
against 4.1.0 for HTB x86_64-unknown-linux-gnu, while _this_ report is for
4.3.0 HTB i686-pc-linux-gnu - the kind of errors are different too).

Since _this_ report is marked "RESOLVED DUPLICATE" _I_ can not change it to
"RESOLVED FIXED", if someone else who is able would wish to do so that is OK by
me. I do not know that 20623 is fixed and no one has marked it as such.


-- 

rob1weld at aol dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|rob1weld at aol dot com     |
      Known to work|                            |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (16 preceding siblings ...)
  2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
@ 2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
  2007-06-24 17:33 ` rob1weld at aol dot com
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-24 12:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from rguenth at gcc dot gnu dot org  2007-06-24 12:08 -------
Reopen...


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (15 preceding siblings ...)
  2007-06-24  2:17 ` rob1weld at aol dot com
@ 2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
  2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
  2007-06-24 17:33 ` rob1weld at aol dot com
  18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-06-24 12:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from rguenth at gcc dot gnu dot org  2007-06-24 12:08 -------
...to mark as fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug bootstrap/32024] ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652
  2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
                   ` (17 preceding siblings ...)
  2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
@ 2007-06-24 17:33 ` rob1weld at aol dot com
  18 siblings, 0 replies; 20+ messages in thread
From: rob1weld at aol dot com @ 2007-06-24 17:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from rob1weld at aol dot com  2007-06-24 17:33 -------
Compiled using fold (compile + check time < 16 hours):
--enable-stage1-checking=assert,df,fold,gc,misc,rtl,rtlflag,runtime,tree

Results for 4.3.0 20070623 (experimental) testsuite on i686-pc-linux-gnu
http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg01093.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32024


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2007-06-24 17:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-21 15:06 [Bug bootstrap/32024] New: ICE - libgcc2.c:557: internal compiler error: in fold_checksum_tree, at fold-const.c:12652 rob1weld at aol dot com
2007-05-21 15:08 ` [Bug middle-end/32024] " pinskia at gcc dot gnu dot org
2007-05-21 18:09 ` rob1weld at aol dot com
2007-05-21 20:05 ` rob1weld at aol dot com
2007-05-22  2:18 ` rob1weld at aol dot com
2007-05-22  8:53 ` rguenth at gcc dot gnu dot org
2007-05-22 15:02 ` rob1weld at aol dot com
2007-05-24  5:41 ` rob1weld at aol dot com
2007-05-27 22:08 ` rob1weld at aol dot com
2007-05-29  3:57 ` rob1weld at aol dot com
2007-06-20  5:15 ` rob1weld at aol dot com
2007-06-20  8:23 ` [Bug bootstrap/32024] " ubizjak at gmail dot com
2007-06-20  8:55 ` ubizjak at gmail dot com
2007-06-20  8:59 ` ubizjak at gmail dot com
2007-06-20  9:04 ` ubizjak at gmail dot com
2007-06-20 12:28 ` rguenth at gcc dot gnu dot org
2007-06-24  2:17 ` rob1weld at aol dot com
2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
2007-06-24 12:08 ` rguenth at gcc dot gnu dot org
2007-06-24 17:33 ` rob1weld at aol dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).