2017-07-04 Martin Liska <mliska@suse.cz>
PR sanitizer/81040
* sanopt.c (sanitize_rewrite_addressable_params): Mark the
newly created variable as DECL_IGNORED_P.
2017-07-04 Martin Liska <mliska@suse.cz>
PR sanitizer/81040
* g++.dg/asan/function-argument-1.C: Run the test-case w/o
use-after-scope sanitization.
From-SVN: r249960
+2017-07-04 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/81040
+ * sanopt.c (sanitize_rewrite_addressable_params): Mark the
+ newly created variable as DECL_IGNORED_P.
+
2017-07-04 Martin Liska <mliska@suse.cz>
PR ipa/81293
tree var = build_decl (DECL_SOURCE_LOCATION (arg),
VAR_DECL, DECL_NAME (arg), type);
TREE_ADDRESSABLE (var) = 1;
- DECL_ARTIFICIAL (var) = 1;
+ DECL_IGNORED_P (var) = 1;
gimple_add_tmp_var (var);
+2017-07-04 Martin Liska <mliska@suse.cz>
+
+ PR sanitizer/81040
+ * g++.dg/asan/function-argument-1.C: Run the test-case w/o
+ use-after-scope sanitization.
+
2017-07-04 Jakub Jelinek <jakub@redhat.com>
* g++.dg/asan/function-argument-3.C: Add -Wno-psabi to additional
// { dg-do run }
// { dg-shouldfail "asan" }
+// { dg-options "-fsanitize=address -fno-sanitize-address-use-after-scope" }
struct A
{