http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50617
Bug #: 50617 Summary: [4.7 Regression] ICE: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa64-hp-hpux11.00 Target: hppa64-hp-hpux11.00 Build: hppa64-hp-hpux11.00 Executing on host: /home/gnu/gcc/objdir/gcc/xgcc -B/home/gnu/gcc/objdir/gcc/ -O2 -flto -flto-partition=none -w -c -o 20000105-1.o /xxx/gnu/gcc/gcc/gcc/test suite/gcc.c-torture/compile/20000105-1.c (timeout = 300) /xxx/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c: In function ' main': /xxx/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20000105-1.c:25:1: internal compiler error: RTL flag check: INSN_ANNULLED_BRANCH_P used with unexpected rtx code 'simplify_immed_subreg' in output_bb, at config/pa/pa.c:6631 Seems to occur with -flto. The rtx code is wierd... -bash-3.2$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa64-hp-hpux11.00 Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64 --prefix=/opt/gnu64/gcc/gcc-4.7 --build=hppa64-hp-hpux11.00 --disable-nls --disable-build-poststage1-with-cxx --with-gmp=/opt/gnu64/gcc/gmp --enable-languages=c,c++,fortran,objc,obj-c++ Thread model: posix gcc version 4.7.0 20110928 (experimental) [trunk revision 179321] (GCC)