Fix to get access to other builtins like __builtin_eh_pointer
diff --git a/gcc/jit/dummy-frontend.cc b/gcc/jit/dummy-frontend.cc
index 4c2bdbd..1110993 100644
--- a/gcc/jit/dummy-frontend.cc
+++ b/gcc/jit/dummy-frontend.cc
@@ -608,6 +608,7 @@
/* I don't know why this has to be done explicitly. */
void_list_node = build_tree_list (NULL_TREE, void_type_node);
+ target_builtins.empty ();
build_common_builtin_nodes ();
/* The default precision for floating point numbers. This is used
@@ -615,7 +616,6 @@
eventually be controllable by a command line option. */
mpfr_set_default_prec (256);
- target_builtins.empty ();
targetm.init_builtins ();
return true;