diff options
author | Denis Khalikov <d.khalikov@partner.samsung.com> | 2018-10-05 11:57:28 +0300 |
---|---|---|
committer | Denis Khalikov <d.khalikov@partner.samsung.com> | 2018-10-05 11:57:49 +0300 |
commit | 8f015ecf048c5bc428a2ea0f35d993d2b31b9de1 (patch) | |
tree | fccde1ee8b962b6366193c7f5b4d052215e40af7 | |
parent | 57919841daf71c3af4aa732f8f1192a01b63fb01 (diff) | |
download | linaro-gcc-sandbox/denis13/use-after-scope.tar.gz linaro-gcc-sandbox/denis13/use-after-scope.tar.bz2 linaro-gcc-sandbox/denis13/use-after-scope.zip |
[Sanitizers] Disable use-after-scope by default.sandbox/denis13/use-after-scope
So, until the patch "Speed up use-after-scope (v2): rewrite into SSA"
is not implemented, we set use-after-scope disabled by default.
Change-Id: Ia84ce0652ce68bc7c269d72a2a4613cb0806bcf4
-rw-r--r-- | gcc/opts.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index 1455a14cc2e..b159d1ecaf0 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -973,12 +973,6 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, opts->x_flag_strict_overflow = 0; } - /* Enable -fsanitize-address-use-after-scope if address sanitizer is - enabled. */ - if (opts->x_flag_sanitize - && !opts_set->x_flag_sanitize_address_use_after_scope) - opts->x_flag_sanitize_address_use_after_scope = true; - /* Force -fstack-reuse=none in case -fsanitize-address-use-after-scope is enabled. */ if (opts->x_flag_sanitize_address_use_after_scope) |