diff options
author | Jason Merrill <jason@redhat.com> | 2022-06-14 17:56:08 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-06-16 15:48:48 -0400 |
commit | 753aaa949ab9a32ce57c9e4f73315a9b2f90c326 (patch) | |
tree | 1912083a413248d450d9bac6404b13dd06c15a9d /gcc | |
parent | d89e64d4cbf5a4c3b8de120257da68944f31e759 (diff) | |
download | gcc-753aaa949ab9a32ce57c9e4f73315a9b2f90c326.zip gcc-753aaa949ab9a32ce57c9e4f73315a9b2f90c326.tar.gz gcc-753aaa949ab9a32ce57c9e4f73315a9b2f90c326.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/opts.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.cc b/gcc/opts.cc index bf06a55..55859f5 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); |