https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93236
Bug ID: 93236 Summary: [AArch64] ICE Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jimreesma at gmail dot com Target Milestone: --- On aarch64-linux-gnu, ubuntu@ubuntu:~$ gcc -O -c gcc9_ice.c during RTL pass: expand gcc9_ice.c: In function ‘get’: gcc9_ice.c:13:11: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:1010 13 | return u.s; | ~^~ With the -O, or with -O0, no ice, and the emitted code works correctly.