diff options
author | Marek Polacek <polacek@redhat.com> | 2014-05-05 20:37:47 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-05-05 20:37:47 +0000 |
commit | c2ac23fe235cd1be19476d11b6942f1d0e1c7dac (patch) | |
tree | e3b163faece7958718d33047d3b1c7ac715d4ee4 /gcc/opts.c | |
parent | 535d5152fedfcf2c404a84d2655942a4eb86734f (diff) | |
download | gcc-c2ac23fe235cd1be19476d11b6942f1d0e1c7dac.zip gcc-c2ac23fe235cd1be19476d11b6942f1d0e1c7dac.tar.gz gcc-c2ac23fe235cd1be19476d11b6942f1d0e1c7dac.tar.bz2 |
re PR driver/61065 ([4.9/4.10 Regresion] invalid args to -fsanitize should be an error not a warning)
PR driver/61065
* opts.c (common_handle_option): Call error_at instead of warning_at.
From-SVN: r210080
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |