diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-11-13 01:08:06 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-11-13 01:08:06 +0000 |
commit | 778e02fdc4da78fede96faf39566060bc040727d (patch) | |
tree | 71af228ae671518483d416113abf3431b7af5e72 /gcc/opts.c | |
parent | 75171b6e814b00577083c9a9f411de759cc6e5ef (diff) | |
download | gcc-778e02fdc4da78fede96faf39566060bc040727d.zip gcc-778e02fdc4da78fede96faf39566060bc040727d.tar.gz gcc-778e02fdc4da78fede96faf39566060bc040727d.tar.bz2 |
opts-global.c (postpone_unknown_option_warning): Fix spelling.
2014-11-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
* opts-global.c (postpone_unknown_option_warning): Fix spelling.
(print_ignored_options): Fix quoting.
* opts.c (common_handle_option): Likewise.
(set_debug_level): Likewise.
* toplev.c (process_options): Likewise.
From-SVN: r217457
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1923,7 +1923,7 @@ common_handle_option (struct gcc_options *opts, ? STATIC_BUILTIN_STACK_CHECK : GENERIC_STACK_CHECK; else - warning_at (loc, 0, "unknown stack check parameter \"%s\"", arg); + warning_at (loc, 0, "unknown stack check parameter %qs", arg); break; case OPT_fstack_limit: @@ -2199,7 +2199,7 @@ set_debug_level (enum debug_info_type type, int extended, const char *arg, if (opts_set->x_write_symbols != NO_DEBUG && opts->x_write_symbols != NO_DEBUG && type != opts->x_write_symbols) - error_at (loc, "debug format \"%s\" conflicts with prior selection", + error_at (loc, "debug format %qs conflicts with prior selection", debug_type_names[type]); opts->x_write_symbols = type; opts_set->x_write_symbols = type; @@ -2217,9 +2217,9 @@ set_debug_level (enum debug_info_type type, int extended, const char *arg, { int argval = integral_argument (arg); if (argval == -1) - error_at (loc, "unrecognised debug output level \"%s\"", arg); + error_at (loc, "unrecognised debug output level %qs", arg); else if (argval > 3) - error_at (loc, "debug output level %s is too high", arg); + error_at (loc, "debug output level %qs is too high", arg); else opts->x_debug_info_level = (enum debug_info_levels) argval; } |