From b1fdc6a0b35bc74845ab884a9ad7be67bb88de12 Mon Sep 17 00:00:00 2001 From: Kelvin Nilsen Date: Wed, 11 Apr 2018 11:32:46 +0000 Subject: patch works on genoa git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/git373@259315 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/rs6000/rs6000-c.c | 5 +++-- 1 file 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 " -- cgit v1.2.3