diff options
author | kelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-04-11 11:32:46 +0000 |
---|---|---|
committer | kelvin <kelvin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2018-04-11 11:32:46 +0000 |
commit | 04d693323eaaa62183c0faa4e5c530d1b357201d (patch) | |
tree | 6f1ecedcc9fbdcf96ec9530667eb546eeca9e5e9 | |
parent | 0f84229b4110c399ec2ab8ed8cb5962f86074a65 (diff) |
patch works on genoaibm/git373
git-svn-id: svn+ssh://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 " |