diff options
author | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2018-04-11 11:32:46 +0000 |
---|---|---|
committer | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2018-04-11 11:32:46 +0000 |
commit | b1fdc6a0b35bc74845ab884a9ad7be67bb88de12 (patch) | |
tree | 6f1ecedcc9fbdcf96ec9530667eb546eeca9e5e9 | |
parent | da174232dd7a79d0d0781f91ce0855dc31e9b540 (diff) |
patch works on genoaibm/git373
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/git373@259315 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/config/rs6000/rs6000-c.c | 5 |
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 " |