This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/54455] New: [4.7/4.8 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418


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

             Bug #: 54455
           Summary: [4.7/4.8 Regression] ICE: RTL check: expected elt 3
                    type 'B', have '0' (rtx barrier) in
                    compute_bb_for_insn, at cfgrtl.c:418
    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 28118
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28118
reduced testcase (from gcc.c-torture/compile/pr51767.c)

Compiler output:
$ gcc -fschedule-insns -fselective-scheduling --param
max-sched-extend-regions-iters=8 testcase.c
testcase.c: In function 'bar':
testcase.c:11:1: internal compiler error: RTL check: expected elt 3 type 'B',
have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418
 }
 ^
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  0x000000000096d82b in rtl_check_failed_type1(rtx_def const*, int, int, char
const*, int, char const*) () at /mnt/svn/gcc-trunk/gcc/rtl.c:753
#2  0x00000000006a94b8 in compute_bb_for_insn() () at
/mnt/svn/gcc-trunk/gcc/cfgrtl.c:418
#3  0x0000000000c29723 in ix86_reorg() () at
/mnt/svn/gcc-trunk/gcc/config/i386/i386.c:33774
#4  0x000000000096d27a in rest_of_handle_machine_reorg() ()
#5  0x000000000090092f in execute_one_pass(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2157
#6  0x0000000000900ce5 in execute_pass_list(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2212
#7  0x0000000000900cf7 in execute_pass_list(opt_pass*) () at
/mnt/svn/gcc-trunk/gcc/passes.c:2213
#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 - crash
4.6 r188682 - OK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]