public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/52203] New: ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7136 with -fsel-sched-pipelining -fselective-scheduling2 and other custom flags
@ 2012-02-10 22:19 zsojka at seznam dot cz
  2012-02-10 22:43 ` [Bug rtl-optimization/52203] " steven at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: zsojka at seznam dot cz @ 2012-02-10 22:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52203

             Bug #: 52203
           Summary: ICE: in reset_sched_cycles_in_current_ebb, at
                    sel-sched.c:7136 with -fsel-sched-pipelining
                    -fselective-scheduling2 and other custom flags
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Created attachment 26639
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26639
reduced testcase

After a long time, there comes one sel-sched ICE.

Compiler output:
$ gcc -O -fPIC -fno-dce -fgcse -fschedule-insns2 -fsel-sched-pipelining
-fselective-scheduling2 -ftree-vectorize -funroll-loops -fno-web
-mno-avx256-split-unaligned-store -mfma --param=max-pending-list-length=0
--param=selsched-insns-to-rename=70 testcase.c 
testcase.c: In function 'foo':
testcase.c:9:1: internal compiler error: in reset_sched_cycles_in_current_ebb,
at sel-sched.c:7136
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x129c408 "/mnt/svn/gcc-trunk/gcc/sel-sched.c",
line=7136, function=0x129dce0 "reset_sched_cycles_in_current_ebb")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:898
#1  0x00000000009a919d in reset_sched_cycles_in_current_ebb () at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7136
#2  0x00000000009bea53 in sel_region_target_finish (reset_sched_cycles_p=true)
at /mnt/svn/gcc-trunk/gcc/sel-sched.c:7209
#3  sel_region_finish (reset_sched_cycles_p=<optimized out>) at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7266
#4  sel_sched_region (rgn=<optimized out>) at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7622
#5  0x00000000009bf23a in run_selective_scheduling () at
/mnt/svn/gcc-trunk/gcc/sel-sched.c:7693
#6  0x000000000098c076 in rest_of_handle_sched2 () at
/mnt/svn/gcc-trunk/gcc/sched-rgn.c:3515
#7  0x00000000008fbd85 in execute_one_pass (pass=0x17ca8e0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2081
#8  0x00000000008fc145 in execute_pass_list (pass=0x17ca8e0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2136
#9  0x00000000008fc157 in execute_pass_list (pass=0x17c9ee0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2137
#10 0x00000000008fc157 in execute_pass_list (pass=0x17c9f40) at
/mnt/svn/gcc-trunk/gcc/passes.c:2137
#11 0x0000000000a5e3ee in tree_rest_of_compilation (fndecl=0x7ffff5bd2700) at
/mnt/svn/gcc-trunk/gcc/tree-optimize.c:422
#12 0x00000000006b006a in cgraph_expand_function (node=0x7ffff5a976c0) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1829
#13 0x00000000006b1f5c in cgraph_expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1896
#14 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2210
#15 0x00000000006b25aa in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1338
#16 0x000000000058ecb0 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:10030
#17 0x00000000009f0b9c in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:573
#18 do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1938
#19 toplev_main (argc=28, argv=0x7fffffffd658) at
/mnt/svn/gcc-trunk/gcc/toplev.c:2014
#20 0x00007ffff61cc09d in __libc_start_main () from /lib64/libc.so.6
#21 0x00000000005723b1 in _start ()

Tested revisions:
r184068 - crash
4.6 r180325 - OK


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-04-13  9:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-10 22:19 [Bug rtl-optimization/52203] New: ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7136 with -fsel-sched-pipelining -fselective-scheduling2 and other custom flags zsojka at seznam dot cz
2012-02-10 22:43 ` [Bug rtl-optimization/52203] " steven at gcc dot gnu.org
2012-02-11 12:53 ` abel at gcc dot gnu.org
2012-02-13  8:49 ` abel at gcc dot gnu.org
2012-02-13  8:49 ` abel at gcc dot gnu.org
2012-02-13 15:54 ` ubizjak at gmail dot com
2012-02-13 16:01 ` ubizjak at gmail dot com
2012-02-13 16:02 ` ubizjak at gmail dot com
2012-02-13 21:14 ` steven at gcc dot gnu.org
2012-02-14  6:57 ` abel at gcc dot gnu.org
2012-03-07 12:01 ` abel at gcc dot gnu.org
2012-03-07 12:03 ` abel at gcc dot gnu.org
2012-04-13  9:37 ` abel at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).