[Bug rtl-optimization/47992] ICE: SIGSEGV in ira_reuse_stack_slot (ira-color.c:2887) with -fweb
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Fri Mar 4 20:02:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47992
--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2011-03-04 20:02:03 UTC ---
Seems I forgot to paste the compiler output:
$ gcc -O -fno-dce -fgcse -fno-tree-ccp -fno-tree-dominator-opts
-funroll-all-loops -wrapper valgrind,-q,--num-callers=40 testcase.f
testcase.f:2.72:
ASSIGN 20 TO M !{ dg-warning "Deleted feature: ASSIGN" "
1
Warning: Deleted feature: ASSIGN statement at (1)
testcase.f:6.72:
30 ASSIGN 10 TO M !{ dg-warning "Deleted feature: ASSIGN" "
1
Warning: Deleted feature: ASSIGN statement at (1)
testcase.f:7.12:
40 GOTO M,(10,20,30) !{ dg-warning "Deleted feature: Assigned
1
Warning: Deleted feature: Assigned GOTO statement at (1)
==1357== Invalid read of size 4
==1357== at 0x8027D1: ira_reuse_stack_slot (ira-color.c:2887)
==1357== by 0x8B54A6: alter_reg (reload1.c:2180)
==1357== by 0x8C00E1: reload (reload1.c:795)
==1357== by 0x7EDF78: ira (ira.c:3273)
==1357== by 0x7EFD8F: rest_of_handle_ira (ira.c:3343)
==1357== by 0x857895: execute_one_pass (passes.c:1556)
==1357== by 0x857B94: execute_pass_list (passes.c:1611)
==1357== by 0x857BA6: execute_pass_list (passes.c:1612)
==1357== by 0x99AAF5: tree_rest_of_compilation (tree-optimize.c:422)
==1357== by 0xB62B41: cgraph_expand_function (cgraphunit.c:1576)
==1357== by 0xB65289: cgraph_optimize (cgraphunit.c:1635)
==1357== by 0xB65809: cgraph_finalize_compilation_unit (cgraphunit.c:1096)
==1357== by 0x810D3C: write_global_declarations (langhooks.c:303)
==1357== by 0x943A87: toplev_main (toplev.c:591)
==1357== by 0x64AABBC: (below main) (in /lib64/libc-2.11.2.so)
==1357== Address 0xc is not stack'd, malloc'd or (recently) free'd
==1357==
testcase.f: In function 'MAIN__':
testcase.f:8:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list