gcc/gcc/testsuite/gcc.dg/asan
Martin Liska c7775327e8 Speed up use-after-scope (v2): rewrite into SSA
2017-01-23  Martin Liska  <mliska@suse.cz>

	* asan.c (create_asan_shadow_var): New function.
	(asan_expand_poison_ifn): Likewise.
	* asan.h (asan_expand_poison_ifn): New declaration.
	* internal-fn.c (expand_ASAN_POISON): Likewise.
	* internal-fn.def (ASAN_POISON): New builtin.
	* sanopt.c (pass_sanopt::execute): Expand
	asan_expand_poison_ifn.
	* tree-inline.c (copy_decl_for_dup_finish): Make function
	external.
	* tree-inline.h (copy_decl_for_dup_finish): Likewise.
	* tree-ssa.c (is_asan_mark_p): New function.
	(execute_update_addresses_taken): Rewrite local variables
	(identified just by use-after-scope as addressable) into SSA.
2017-01-23  Martin Liska  <mliska@suse.cz>

	* gcc.dg/asan/use-after-scope-3.c: Add additional flags.
	* gcc.dg/asan/use-after-scope-9.c: Likewise and grep for
	sanopt optimization for ASAN_POISON.

From-SVN: r244791
2017-01-23 12:02:13 +00:00
..
asan.exp Update copyright years. 2017-01-01 13:07:43 +01:00
nosanitize-and-inline.c
pr56417.c
pr63845.c
pr64170.c
pr64981.c
pr66314.c
pr78106.c
pr78270-2.c
pr78270.c
pr78541-2.c
pr78541.c
pr78832.c re PR sanitizer/78832 (-fcompare-debug failure (length) with -fsanitize=address) 2016-12-17 20:10:39 +01:00
sancov-1.c
use-after-scope-1.c
use-after-scope-2.c
use-after-scope-3.c Speed up use-after-scope (v2): rewrite into SSA 2017-01-23 12:02:13 +00:00
use-after-scope-4.c
use-after-scope-5.c
use-after-scope-6.c
use-after-scope-7.c
use-after-scope-9.c Speed up use-after-scope (v2): rewrite into SSA 2017-01-23 12:02:13 +00:00
use-after-scope-goto-1.c Add pretty printer for ASAN_MARK and add a helper fn 2016-12-13 09:14:47 +00:00
use-after-scope-goto-2.c Add pretty printer for ASAN_MARK and add a helper fn 2016-12-13 09:14:47 +00:00
use-after-scope-switch-1.c Add pretty printer for ASAN_MARK and add a helper fn 2016-12-13 09:14:47 +00:00
use-after-scope-switch-2.c Add pretty printer for ASAN_MARK and add a helper fn 2016-12-13 09:14:47 +00:00
use-after-scope-switch-3.c Add pretty printer for ASAN_MARK and add a helper fn 2016-12-13 09:14:47 +00:00