summaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-05 20:37:47 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-05 20:37:47 +0000
commit008f3532cc7907d17526dcb8bd906e5420907592 (patch)
treee3b163faece7958718d33047d3b1c7ac715d4ee4 /gcc/opts.c
parentaa93217a9d1e4b8c8dc4ccca9cffcc53ba985cf8 (diff)
downloadgcc-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.c6
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;