[Bug target/84437] New: long long casting breaks PDP-11 with -m10 model option (includes trivial reproducer)
etchedpixels at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 18 13:38:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84437
Bug ID: 84437
Summary: long long casting breaks PDP-11 with -m10 model option
(includes trivial reproducer)
Product: gcc
Version: 7.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: etchedpixels at gmail dot com
Target Milestone: ---
long long x(int y)
{
return y;
}
pdp11-aout-gcc -m10 -S /tmp/3.c
/tmp/3.c: In function ‘x’:
/tmp/3.c:4:1: error: unrecognizable insn:
}
^
(insn 7 6 8 2 (set (reg:HI 24)
(ashift:HI (reg:HI 23)
(const_int -15 [0xfffffffffffffff1]))) "/tmp/3.c":3 -1
(nil))
/tmp/3.c:4:1: internal compiler error: in extract_insn, at recog.c:2311
0x8d8b48 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc-7.3.0/gcc/rtl-error.c:108
0x8d8b79 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc-7.3.0/gcc/rtl-error.c:116
0x8ae40f extract_insn(rtx_insn*)
../../gcc-7.3.0/gcc/recog.c:2311
0x6fe3f3 instantiate_virtual_regs_in_insn
../../gcc-7.3.0/gcc/function.c:1589
0x6fe3f3 instantiate_virtual_regs
../../gcc-7.3.0/gcc/function.c:1957
0x6fe3f3 execute
../../gcc-7.3.0/gcc/function.c:2006
More information about the Gcc-bugs
mailing list