https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211
Bug ID: 102211 Summary: ICE introduced by r12-3277 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: crazylht at gmail dot com CC: sch...@linux-m68k.org Target Milestone: --- Target: risv64 cat test.c float foo (float a, long b) { union{float a[2]; long b;}c; c.b = b; return c.a[0] * a; } gcc test.c -O2 -S test.c:8:1: error: this is the insn: (insn 12 19 13 2 (set (reg/i:SF 42 fa0) (mult:SF (reg:SF 77) (subreg:SF (reg:DI 80 [78]) 0))) "test.c":8:1 17 {mulsf3} (expr_list:REG_DEAD (reg:DI 80 [78]) (expr_list:REG_DEAD (reg:SF 77) (nil)))) during RTL pass: reload