[Bug target/82960] New: spu_machine_dependent_reorg does not handle jump_table_data insn

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 13 09:25:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82960

            Bug ID: 82960
           Summary: spu_machine_dependent_reorg does not handle
                    jump_table_data insn
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When building spu with --enable-checking=yes,rtl, I run into:
...
0xf965db rtl_check_failed_type2(rtx_def const*, int, int, int, char const*,
int, char const*)
        src/gcc/rtl.c:820
0x14b6cca pad_bb
        src/gcc/config/spu/spu.c:2032
0x14b9d8b spu_machine_dependent_reorg
        src/gcc/config/spu/spu.c:2640
0xf83d92 execute
        src/gcc/reorg.c:3947
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
...

In pad_bb, we loop over the insns using active_insn_p and next_active_insn, but
do not handle the jump_table_data insn.


More information about the Gcc-bugs mailing list