summaryrefslogtreecommitdiff
path: root/gcc/opts-global.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-13 01:08:06 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-13 01:08:06 +0000
commit2bef00f6c5beb4563d4e8f5834a5a1e0955f07d9 (patch)
tree71af228ae671518483d416113abf3431b7af5e72 /gcc/opts-global.c
parent1fa1be9b502e7921f99be2d737b7c0f21cc0bc24 (diff)
downloadgcc-2bef00f6c5beb4563d4e8f5834a5a1e0955f07d9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217457 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts-global.c')
-rw-r--r--gcc/opts-global.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opts-global.c b/gcc/opts-global.c
index 6825943a8a5..80a84f629d2 100644
--- a/gcc/opts-global.c
+++ b/gcc/opts-global.c
@@ -132,7 +132,7 @@ complain_wrong_lang (const struct cl_decoded_option *decoded,
we only complain about unknown -Wno-* options if they may have
prevented a diagnostic. Otherwise, we just ignore them. Note that
if we do complain, it is only as a warning, not an error; passing
- the compiler an unrecognised -Wno-* option should never change
+ the compiler an unrecognized -Wno-* option should never change
whether the compilation succeeds or fails. */
static void
@@ -152,7 +152,7 @@ print_ignored_options (void)
opt = ignored_options.pop ();
warning_at (UNKNOWN_LOCATION, 0,
- "unrecognized command line option \"%s\"", opt);
+ "unrecognized command line option %qs", opt);
}
}