This is the mail archive of the 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]

INSN_CODE used on jump_table_data


when building gcc for avr with --enable-checking=yes,rtl , I run into the following error:
/home/vries/gcc_versions/devel/src/libgcc/unwind-c.c: In function ‘__gcc_personality_sj0’: /home/vries/gcc_versions/devel/src/libgcc/unwind-c.c:234:1: internal compiler error: RTL check: expected elt 6 type 'i' or 'n', have '0' (rtx jump_table_data) in recog_memoized, at recog.h:154
0xbcb709 rtl_check_failed_type2(rtx_def const*, int, int, int, char const*, int, char const*)
0xf85f36 recog_memoized
0xf9ccaa avr_adjust_insn_length(rtx_def*, int)
0x84c2a9 shorten_branches(rtx_def*)
0x85cbc2 rest_of_handle_shorten_branches
0x85cc10 execute
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <> for instructions.

AFAIU, the problem is that avr_adjust_insn_length uses recog_memoized, which uses INSN_CODE on a jump_table_data.

- Tom

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