https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111260
Bug ID: 111260
Summary: arm: ice in maybe_legitimize_operand, at
optabs.cc:8054
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 55827
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55827&action=edit
C source code
For the attached C code, on a raspberry Pi 3, with
compiler flag -O2 and recent gcc, does this:
bug952.c:809:17: internal compiler error: in maybe_legitimize_operand, at
optabs.cc:8054
809 | static uint32_t func_16(int8_t * p_17, int64_t p_18)
| ^~~~~~~
0x8811b3 maybe_legitimize_operand
../../trunk/gcc/optabs.cc:8054
0x8811b3 maybe_legitimize_operands(insn_code, unsigned int, unsigned int,
expand_operand*)
../../trunk/gcc/optabs.cc:8191
0x87dfa7 maybe_gen_insn(insn_code, unsigned int, expand_operand*)
../../trunk/gcc/optabs.cc:8210
0x87ecff maybe_expand_insn(insn_code, unsigned int, expand_operand*)
../../trunk/gcc/optabs.cc:8265
The bug first seems to appear sometime between g:bb0da4542df887a5
and g:7c04da768c1fc22e