public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1142] opts: fix opts_set->x_flag_sanitize
@ 2022-06-16 19:50 Jason Merrill
0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2022-06-16 19:50 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:753aaa949ab9a32ce57c9e4f73315a9b2f90c326
commit r13-1142-g753aaa949ab9a32ce57c9e4f73315a9b2f90c326
Author: Jason Merrill <jason@redhat.com>
Date: Tue Jun 14 17:56:08 2022 -0400
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:
---
gcc/opts.cc | 1 +
1 file changed, 1 insertion(+)
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-16 19:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 19:50 [gcc r13-1142] opts: fix opts_set->x_flag_sanitize Jason Merrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).