https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78254
Bug ID: 78254 Summary: FAIL: g++.dg/torture/pr77822.C -O3 -g (internal compiler error) Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Target Milestone: --- Target: m68k-*-* Combine is generating (insn 47 46 48 (set (cc0) (compare (zero_extract:SI (reg:SI 1 %d1 [orig:33 b.0_3 ] [33]) (const_int 1 [0x1]) (const_int -33 [0xffffffffffffffdf])) (const_int 0 [0]))) "../../../gcc/gcc/testsuite/g++.dg/torture/pr77822.C":27 31 {*m68k.md:763} (expr_list:REG_DEAD (reg:SI 1 %d1 [orig:33 b.0_3 ] [33]) (nil))) but output_btst cannot cope with out-of-range bit pos for a register operand.