http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50001
Summary: [alpha]: ICE in reload_combine_note_use, at postreload.c:1538 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: ubiz...@gmail.com Target: alphaev68-unknown-linux-gnu Created attachment 24930 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24930 Profiler file Currently g++.dg/tree-prof/partition1.C ICEs during -fprofile-use compile using attached gcda file: FAIL: g++.dg/tree-prof/partition1.C compilation, -g -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -g -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O0 -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O0 -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O1 -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O1 -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O2 -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O2 -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O3 -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -O3 -g -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -O3 -g -fprofile-use FAIL: g++.dg/tree-prof/partition1.C compilation, -Os -fprofile-use (internal compiler error) UNRESOLVED: g++.dg/tree-prof/partition1.C execution, -Os -fprofile-use ~/gcc-build-alpha/gcc/cc1plus -O2 -freorder-blocks-and-partition -fprofile-use -w -quiet partition1.C partition1.C: In function ‘void foo()’: partition1.C:46:1: internal compiler error: in reload_combine_note_use, at postreload.c:1538 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. (gdb) up #1 0x000000000092a808 in reload_combine_note_use (xp=<optimized out>, insn=0x7ffff1a197e0, ruid=3, containing_mem=<optimized out>) at ../../gcc-svn/trunk/gcc/postreload.c:1538 1538 gcc_assert (regno < FIRST_PSEUDO_REGISTER); (gdb) bt #0 fancy_abort (file=0xdb5b58 "../../gcc-svn/trunk/gcc/postreload.c", line=1538, function=0xdb6050 "reload_combine_note_use") at ../../gcc-svn/trunk/gcc/diagnostic.c:892 #1 0x000000000092a808 in reload_combine_note_use (xp=<optimized out>, insn=0x7ffff1a197e0, ruid=3, containing_mem=<optimized out>) at ../../gcc-svn/trunk/gcc/postreload.c:1538 #2 0x000000000092a5e7 in reload_combine_note_use (xp=<optimized out>, insn=0x7ffff1a197e0, ruid=3, containing_mem=0x7ffff1a17288) at ../../gcc-svn/trunk/gcc/postreload.c:1600 #3 0x000000000092a5a5 in reload_combine_note_use (xp=<optimized out>, insn=0x7ffff1a197e0, ruid=3, containing_mem=0x0) at ../../gcc-svn/trunk/gcc/postreload.c:1604 #4 0x000000000092bb3f in reload_combine () at ../../gcc-svn/trunk/gcc/postreload.c:1384 #5 0x000000000092ca1e in reload_cse_regs (first=0x7ffff19e06c0) at ../../gcc-svn/trunk/gcc/postreload.c:72 The problem can be triggered with a c++ crosscompiler to --target=alphaev68-pc-linux-gnu.