We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a306607 + 44b7998 commit 6514edcCopy full SHA for 6514edc
gcc/config/aarch64/aarch64.cc
@@ -15484,11 +15484,19 @@ aarch64_insn_cost (rtx_insn *insn, bool speed)
15484
static void
15485
aarch64_init_builtins ()
15486
{
15487
+ // TODO: find a better fix than this to avoid the failure:
15488
+ // SET_TYPE_VECTOR_SUBPARTS, in tree.h:4258
15489
+ static bool builtins_initialized = false;
15490
+ if (builtins_initialized)
15491
+ return;
15492
+
15493
aarch64_general_init_builtins ();
15494
aarch64_sve::init_builtins ();
15495
#ifdef SUBTARGET_INIT_BUILTINS
15496
SUBTARGET_INIT_BUILTINS;
15497
#endif
15498
15499
+ builtins_initialized = true;
15500
}
15501
15502
/* Implement TARGET_FOLD_BUILTIN. */
0 commit comments