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.


-- 
           Summary: ICE: in sese_adjust_liveout_phis, at sese.c:633
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: shannemann at gmail 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=45544

Reply via email to