diff options
Diffstat (limited to 'gcc/config/spu/spu-c.c')
-rw-r--r-- | gcc/config/spu/spu-c.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/spu/spu-c.c b/gcc/config/spu/spu-c.c index ce5f92d94db..1f22cd6fb7c 100644 --- a/gcc/config/spu/spu-c.c +++ b/gcc/config/spu/spu-c.c @@ -24,6 +24,7 @@ #include "c-family/c-pragma.h" #include "tm_p.h" #include "langhooks.h" +#include "target.h" /* Keep the vector keywords handy for fast comparisons. */ @@ -111,7 +112,7 @@ spu_resolve_overloaded_builtin (location_t loc, tree fndecl, void *passed_args) for (new_fcode = fcode + 1; spu_builtins[new_fcode].type == B_INTERNAL; new_fcode++) { - tree decl = spu_builtins[new_fcode].fndecl; + tree decl = targetm.builtin_decl (new_fcode, true); tree params = TYPE_ARG_TYPES (TREE_TYPE (decl)); tree param; bool all_scalar; |