From 2455f3dd89b84e9e93ca30d0d52733f1f05a1802 Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Fri, 29 Jan 2016 09:58:55 +0100
Subject: [PATCH] S/390: Use %qs in error messages.
---
gcc/config/s390/s390-c.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
@@ -904,13 +904,14 @@ s390_resolve_overloaded_builtin (location_t loc,
if (last_match_type == INT_MAX)
{
- error_at (loc, "invalid parameter combination for intrinsic");
+ error_at (loc, "invalid parameter combination for intrinsic %qs",
+ IDENTIFIER_POINTER (DECL_NAME (ob_fndecl)));
return error_mark_node;
}
else if (num_matches > 1)
{
- error_at (loc, "ambiguous overload for intrinsic: %s",
- IDENTIFIER_POINTER (DECL_NAME (ob_fndecl)));
+ error_at (loc, "ambiguous overload for intrinsic %qs",
+ IDENTIFIER_POINTER (DECL_NAME (ob_fndecl)));
return error_mark_node;
}
--
2.3.0