diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-05 20:37:47 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-05 20:37:47 +0000 |
commit | 008f3532cc7907d17526dcb8bd906e5420907592 (patch) | |
tree | e3b163faece7958718d33047d3b1c7ac715d4ee4 /gcc/opts.c | |
parent | aa93217a9d1e4b8c8dc4ccca9cffcc53ba985cf8 (diff) | |
download | gcc-008f3532cc7907d17526dcb8bd906e5420907592.tar.gz |
PR driver/61065
* opts.c (common_handle_option): Call error_at instead of warning_at.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210080 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index 3c214f09701..f15852d69a0 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -1495,9 +1495,9 @@ common_handle_option (struct gcc_options *opts, } if (! found) - warning_at (loc, 0, - "unrecognized argument to -fsanitize= option: %q.*s", - (int) len, p); + error_at (loc, + "unrecognized argument to -fsanitize= option: %q.*s", + (int) len, p); if (comma == NULL) break; |