diff options
author | Joseph Myers <joseph@codesourcery.com> | 2004-11-09 10:13:30 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-11-09 10:13:30 +0000 |
commit | 9e637a26797c8ffa178974764874683f12b12d4d (patch) | |
tree | 7a8b42664cab7c57c0140be05c05db9dedb5add4 /gcc/config/mcore | |
parent | 55a9c4b2fce38ae2459976fa912cd77071f77f4b (diff) | |
download | gcc-9e637a26797c8ffa178974764874683f12b12d4d.zip gcc-9e637a26797c8ffa178974764874683f12b12d4d.tar.gz gcc-9e637a26797c8ffa178974764874683f12b12d4d.tar.bz2 |
builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate.
* builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h,
c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
config/iq2000/iq2000.c, config/m32r/m32r.c,
config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
config/sh/symbian.c, config/stormy16/stormy16.c,
config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
and %> as appropriate. Use %' as apostrophe in diagnostics where
applicable. Use %< and %> in place of '' quotes where applicable.
Use %qs in place of %<%s%>. Consistently quote __builtin function
names.
ada:
* misc.c (gnat_handle_option): Use %< and %> for quoting in
warning message.
cp:
* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
quoting in diagnostics.
* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
quoting in printf format.
* decl.c (duplicate_decls, start_decl): Use %qD instead of
unquoted %D.
objc:
* objc-act.c: Use %q, %< and %> for quoting in diagnostics.
testsuite:
* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.
From-SVN: r90337
Diffstat (limited to 'gcc/config/mcore')
-rw-r--r-- | gcc/config/mcore/mcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index dbd3599..57e5174 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -2984,7 +2984,7 @@ mcore_override_options (void) || (mcore_stack_increment == 0 && (mcore_stack_increment_string[0] != '0' || mcore_stack_increment_string[1] != 0))) - error ("invalid option `-mstack-increment=%s'", + error ("invalid option %<-mstack-increment=%s%>", mcore_stack_increment_string); } @@ -3372,7 +3372,7 @@ mcore_handle_naked_attribute (tree * node, tree name, tree args ATTRIBUTE_UNUSED } else { - warning ("`%s' attribute only applies to functions", + warning ("%qs attribute only applies to functions", IDENTIFIER_POINTER (name)); *no_add_attrs = true; } |