From: Jason Merrill Date: Tue, 14 Jun 2022 21:56:08 +0000 (-0400) Subject: opts: fix opts_set->x_flag_sanitize X-Git-Tag: basepoints/gcc-14~6065 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753aaa949ab9a32ce57c9e4f73315a9b2f90c326;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/opts.cc b/gcc/opts.cc index bf06a55456a..55859f549ba 100644 --- a/gcc/opts.cc +++ b/gcc/opts.cc @@ -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);