aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/rs6000-c.c')
-rw-r--r--gcc/config/rs6000/rs6000-c.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c
index c125c78..bfe542f 100644
--- a/gcc/config/rs6000/rs6000-c.c
+++ b/gcc/config/rs6000/rs6000-c.c
@@ -38,8 +38,6 @@
-static tree altivec_resolve_overloaded_builtin (tree, tree);
-
/* Handle the machine specific pragma longcall. Its syntax is
# pragma longcall ( TOGGLE )
@@ -143,8 +141,6 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
/* Let the compiled code know if 'f' class registers will not be available. */
if (TARGET_SOFT_FLOAT || !TARGET_FPRS)
builtin_define ("__NO_FPRS__");
-
- targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin;
}
@@ -2470,7 +2466,7 @@ altivec_build_resolved_builtin (tree *args, int n,
/* Implementation of the resolve_overloaded_builtin target hook, to
support Altivec's overloaded builtins. */
-static tree
+tree
altivec_resolve_overloaded_builtin (tree fndecl, tree arglist)
{
unsigned int fcode = DECL_FUNCTION_CODE (fndecl);