Commit c2ac23fe by Marek Polacek Committed by Marek Polacek

re PR driver/61065 ([4.9/4.10 Regresion] invalid args to -fsanitize should be an…

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
parent 535d5152
2014-05-05 Marek Polacek <polacek@redhat.com>
PR driver/61065
* opts.c (common_handle_option): Call error_at instead of warning_at.
2014-05-05 Richard Biener <rguenther@suse.de>
* passes.c (execute_function_todo): Don't reset TODO_verify_ssa
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment