opts: fix opts_set->x_flag_sanitize

While working on PR104642 I noticed this wasn't getting set.

gcc/ChangeLog:

	* opts.cc (common_handle_option) [OPT_fsanitize_]: Set
	opts_set->x_flag_sanitize.
This commit is contained in:
Jason Merrill 2022-06-14 17:56:08 -04:00
parent d89e64d4cb
commit 753aaa949a

View File

@ -2613,6 +2613,7 @@ common_handle_option (struct gcc_options *opts,
break;
case OPT_fsanitize_:
opts_set->x_flag_sanitize = true;
opts->x_flag_sanitize
= parse_sanitizer_options (arg, loc, code,
opts->x_flag_sanitize, value, true);