[Bug rtl-optimization/54456] New: [4.8 Regression] ICE: in init_seqno, at sel-sched.c:6797 with -fschedule-insns -fselective-scheduling
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Sun Sep 2 10:25:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54456
Bug #: 54456
Summary: [4.8 Regression] ICE: in init_seqno, at
sel-sched.c:6797 with -fschedule-insns
-fselective-scheduling
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Created attachment 28119
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28119
reduced testcase
Compiler output:
$ gcc -fschedule-insns -fselective-scheduling --param
max-sched-extend-regions-iters=8 testcase.c
testcase.c: In function 'foo':
testcase.c:5:1: internal compiler error: in init_seqno, at sel-sched.c:6797
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
(gdb) bt
#0 0x0000000001131fc0 in internal_error(char const*, ...) ()
#1 0x0000000001130b74 in fancy_abort(char const*, int, char const*) ()
#2 0x00000000009aa0bf in init_seqno(bitmap_head_def*, basic_block_def*) () at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:6797
#3 0x00000000009b7aa1 in sel_sched_region(int) () at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7520
#4 0x00000000009b923a in run_selective_scheduling() () at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7709
#5 0x0000000000988ffe in rest_of_handle_sched() () at
/mnt/svn/gcc-trunk/gcc/sched-rgn.c:3489
#6 0x000000000090092f in execute_one_pass(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2157
#7 0x0000000000900ce5 in execute_pass_list(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2212
#8 0x0000000000900cf7 in execute_pass_list(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2213
#9 0x00000000006bdd88 in expand_function(cgraph_node*) () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1609
#10 0x00000000006bff02 in compile() () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1803
#11 0x00000000006c0225 in finalize_compilation_unit() () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2089
#12 0x00000000005a1dc0 in c_write_global_declarations() () at
/mnt/svn/gcc-trunk/gcc/c/c-decl.c:10116
#13 0x00000000009e8475 in compile_file() () at
/mnt/svn/gcc-trunk/gcc/toplev.c:560
#14 0x00000000009ea03a in toplev_main(int, char**) () at
/mnt/svn/gcc-trunk/gcc/toplev.c:1863
#15 0x00007ffff6e784bd in __libc_start_main () from /lib64/libc.so.6
#16 0x0000000000584d01 in _start ()
Tested revisions:
r190830 - crash
4.7 r188682 - OK
More information about the Gcc-bugs
mailing list