https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87516
Bug ID: 87516 Summary: [9 Regression] AArch64 bootstrap ICEs in ipa-fnsummary.c:2492 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ktkachov at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Target: aarch64 typedef __Int16x8_t int16x8_t; typedef __Uint16x8_t uint16x8_t; void fn1(uint16x8_t __a) { __builtin_aarch64_reduc_plus_scal_v8hi((int16x8_t)__a); } The above reduced testcase (from the expansion of the vaddvq_u16 aarch64 intrinsic) ICEs on aarch64 at all optimisation levels with: lex.ii:5:1: internal compiler error: in compute_fn_summary, at ipa-fnsummary.c:2492 5 | } | ^ 0xbe6adf compute_fn_summary(cgraph_node*, bool) $SRC/gcc/ipa-fnsummary.c:2492 0xbe6cfb compute_fn_summary_for_current $SRC/gcc/ipa-fnsummary.c:2502 0xbe6cfb execute $SRC/gcc/ipa-fnsummary.c:3516 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. I suspect this is to do with target options mismatch or something