https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72821
Bug ID: 72821 Summary: [7 regression] RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: dimhen at gmail dot com Target Milestone: --- r239064 PASS r239176 FAIL Fedora24/x86_64 ~/src/gcc_current/configure --enable-checking=rtl --disable-multilib make /home/dimhen/src/gcc_current/libgcc/libgcc2.c: In function '__lshrti3': /home/dimhen/src/gcc_current/libgcc/libgcc2.c:426:1: internal compiler error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1424 } ^ 0xe2f3b4 rtl_check_failed_type1(rtx_def const*, int, int, char const*, int, char const*) /home/dimhen/src/gcc_current/gcc/rtl.c:792 0x8d3716 BLOCK_FOR_INSN(rtx_def*) /home/dimhen/src/gcc_current/gcc/rtl.h:1424 0xc940d4 regno_in_use_p /home/dimhen/src/gcc_current/gcc/lra-spills.c:701 0xc9484c lra_final_code_change() /home/dimhen/src/gcc_current/gcc/lra-spills.c:769 0xc5a2da lra(_IO_FILE*) /home/dimhen/src/gcc_current/gcc/lra.c:2482 0xbf1424 do_reload /home/dimhen/src/gcc_current/gcc/ira.c:5384 0xbf1884 execute /home/dimhen/src/gcc_current/gcc/ira.c:5568 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.