https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91684
Bug ID: 91684 Summary: [10 regression][ARM] ICE in gen_movdi, at config/arm/arm.md:5079 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: wilco at gcc dot gnu.org Target Milestone: --- The following small example fails with an ICE with -mcpu=cortex-a57: typedef struct { int a, b, c; } S; void g (S *s); void bug1 (void) { S s; __builtin_memset (&s, 0, sizeof (S)); g (&s); } bug1.c:30:3: internal compiler error: in gen_movdi, at config/arm/arm.md:5079 30 | __builtin_memset (&s, 0, sizeof (S)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xb9b8d9 gen_movdi(rtx_def*, rtx_def*) This appears due to recent changes in alignment on Arm.