summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-04 20:07:37 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-04 20:07:37 +0000
commit87eb1c28ca15375db9bf1e91bd48b70c7c5e3a96 (patch)
treeb6cae2ac774e24ef00beddf1b18217127bdf44b5 /gcc/c-common.c
parent7088d5e666e05878746d99eff19c3f78f5d5bb76 (diff)
downloadgcc-87eb1c28ca15375db9bf1e91bd48b70c7c5e3a96.tar.gz
PR c/32191
* gcc/c-common.c (c_define_builtins): Call targetm.init_builtins () before build_common_builtin_nodes (). testsuite/ChangeLog: PR c/32191 * gcc.dg/pr32191.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 2d893ff1c78..41547e168e4 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -3491,9 +3491,10 @@ c_define_builtins (tree va_list_ref_type_node, tree va_list_arg_type_node)
#include "builtins.def"
#undef DEF_BUILTIN
+ targetm.init_builtins ();
+
build_common_builtin_nodes ();
- targetm.init_builtins ();
if (flag_mudflap)
mudflap_init ();
}