summaryrefslogtreecommitdiff
path: root/gcc/cp/mangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/mangle.c')
-rw-r--r--gcc/cp/mangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 1aeb3beb401..eb9f8f075a2 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -2169,7 +2169,7 @@ write_expression (tree expr)
expression without extending the C++ ABI. */
if (code == COND_EXPR && i == 1 && !operand)
{
- error ("omitted middle operand to `?:' operand "
+ error ("omitted middle operand to %<?:%> operand "
"cannot be mangled");
continue;
}
@@ -2479,7 +2479,7 @@ static inline const char *
finish_mangling (const bool warn)
{
if (warn_abi && warn && G.need_abi_warning)
- warning ("the mangled name of `%D' will change in a future "
+ warning ("the mangled name of %qD will change in a future "
"version of GCC",
G.entity);