From c5c3a0d30ec88a9530b63605866daac2fc379bcb Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Tue, 3 Jan 2023 15:04:41 -0500 Subject: [PATCH] Add missing builtins needed by optimizations --- gcc/jit/jit-builtins.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/jit/jit-builtins.cc b/gcc/jit/jit-builtins.cc index 0196966d8a51f..622a061ea8975 100644 --- a/gcc/jit/jit-builtins.cc +++ b/gcc/jit/jit-builtins.cc @@ -611,6 +611,9 @@ builtins_manager::ensure_optimization_builtins_exist () We can't loop through all of the builtin_data array, we don't support all types yet. */ (void)get_builtin_function_by_id (BUILT_IN_TRAP); + (void)get_builtin_function_by_id (BUILT_IN_POPCOUNT); + (void)get_builtin_function_by_id (BUILT_IN_POPCOUNTL); + (void)get_builtin_function_by_id (BUILT_IN_POPCOUNTLL); } /* Playback support. */