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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c
index 16263377445..77c529e518e 100644
--- a/gcc/config/rs6000/rs6000-c.c
+++ b/gcc/config/rs6000/rs6000-c.c
@@ -6994,8 +6994,9 @@ altivec_resolve_overloaded_builtin (location_t loc, tree fndecl,
/* An error message making reference to the name of the
non-overloaded function has already been issued. Add
clarification of the previous message. */
- fprintf (stderr, "builtin %s requires builtin %s\n",
- name, internal_name);
+ rich_location richloc (line_table, input_location);
+ inform (&richloc, "builtin %qs requires builtin %qs",
+ name, internal_name);
}
else
error ("builtin function %qs not supported in this compiler "