Bug 45544 - ICE: in sese_adjust_liveout_phis, at sese.c:633
Summary: ICE: in sese_adjust_liveout_phis, at sese.c:633
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 4.5.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 14:49 UTC by Sandro Hannemann
Modified: 2010-12-14 17:12 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
the culprit source file (6.51 KB, text/plain)
2010-09-05 14:52 UTC, Sandro Hannemann
Details
sorry... the ii was too big, so it comes gzip'ed. (170.29 KB, application/gzip)
2010-09-05 14:54 UTC, Sandro Hannemann
Details
the previous ii file was not the right one. (170.29 KB, application/gzip)
2010-09-05 15:05 UTC, Sandro Hannemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Hannemann 2010-09-05 14:49:19 UTC
Hi,

Compiling libtorrent-0.12.6 using "-fgraphite-identity" ends up with an ICE.
Disabling that flag "fixes" the problem. The bail-out message is at the bottom of this report. The same compilation with exactly the same flags performed on host/target/build triplet x86_64-pc-linux-gnu does not show that error and compiles fine.

I am no regular submitter for bug reports and no expert with gcc.
If you need more info please tell, I'll try to provide it.
For now I leave it with the .cc file and the .ii file.


/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../..   -v -save-temps -march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -fvisibility-inlines-hidden -DNDEBUG -fvisibility=hidden   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -c -o dht_router.lo dht_router.cc
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -v -save-temps -march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -fvisibility-inlines-hidden -DNDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -c dht_router.cc  -fPIC -DPIC -o .libs/dht_router.o
i686-pc-linux-gnu-g++: warning: -pipe ignored because -save-temps specified
Using built-in specs.
COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.1/i686-pc-linux-gnu-g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.5.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.5.1/work/gcc-4.5.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.5.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-lto --enable-nls --without-included-gettext --with-system-zlib --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.5.1/python --enable-checking=release --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1 p1.0, pie-0.4.5'
Thread model: posix
gcc version 4.5.1 (Gentoo 4.5.1 p1.0, pie-0.4.5) 
COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I../..' '-I.' '-I./..' '-I../..' '-v' '-save-temps'  '-O2' '-pipe' '-floop-interchange' '-floop-strip-mine' '-floop-block' '-fgraphite-identity' '-fvisibility-inlines-hidden' '-DNDEBUG' '-fvisibility=hidden' '-I/usr/include/sigc++-2.0' '-I/usr/lib/sigc++-2.0/include' '-c' '-fPIC' '-DPIC' '-o' '.libs/dht_router.o' '-shared-libgcc'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.5.1/cc1plus -E -quiet -v -I. -I../.. -I. -I./.. -I../.. -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -D_GNU_SOURCE -DHAVE_CONFIG_H -DNDEBUG -DPIC dht_router.cc -D_FORTIFY_SOURCE=2 -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -fvisibility-inlines-hidden -fvisibility=hidden -fPIC -O2 -fpch-preprocess -o dht_router.ii
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../.."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../..
 ./..
 /usr/include/sigc++-2.0
 /usr/lib/sigc++-2.0/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include/g++-v4
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include/g++-v4/i686-pc-linux-gnu
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include/g++-v4/backward
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include
 /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I../..' '-I.' '-I./..' '-I../..' '-v' '-save-temps'  '-O2' '-pipe' '-floop-interchange' '-floop-strip-mine' '-floop-block' '-fgraphite-identity' '-fvisibility-inlines-hidden' '-DNDEBUG' '-fvisibility=hidden' '-I/usr/include/sigc++-2.0' '-I/usr/lib/sigc++-2.0/include' '-c' '-fPIC' '-DPIC' '-o' '.libs/dht_router.o' '-shared-libgcc'
 /usr/libexec/gcc/i686-pc-linux-gnu/4.5.1/cc1plus -fpreprocessed dht_router.ii -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -quiet -dumpbase dht_router.cc -auxbase-strip .libs/dht_router.o -O2 -version -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -fvisibility-inlines-hidden -fvisibility=hidden -fPIC -o dht_router.s
GNU C++ (Gentoo 4.5.1 p1.0, pie-0.4.5) version 4.5.1 (i686-pc-linux-gnu)
        compiled by GNU C version 4.5.1, GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Gentoo 4.5.1 p1.0, pie-0.4.5) version 4.5.1 (i686-pc-linux-gnu)
        compiled by GNU C version 4.5.1, GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 624da71fb975f806d657ba17ec1d999e
dht_router.cc: In member function 'void torrent::DhtRouter::bootstrap()':
dht_router.cc:626:1: internal compiler error: in sese_adjust_liveout_phis, at sese.c:633
Please submit a full bug report,
with preprocessed source if appropriate.
Comment 1 Sandro Hannemann 2010-09-05 14:52:05 UTC
Created attachment 21702 [details]
the culprit source file
Comment 2 Sandro Hannemann 2010-09-05 14:54:30 UTC
Created attachment 21703 [details]
sorry... the ii was too big, so it comes gzip'ed.
Comment 3 Sandro Hannemann 2010-09-05 15:05:33 UTC
Created attachment 21704 [details]
the previous ii file was not the right one.
Comment 4 Sebastian Pop 2010-09-24 06:34:15 UTC
I cannot reproduce the bug.
Comment 5 Sebastian Pop 2010-12-14 17:12:02 UTC
Fixed.
Both trunk and the 4.5 branch are not ICE-ing on this testcase.