Support nested functions (PR sanitizer/78541).
authorMartin Liska <mliska@suse.cz>
Wed, 30 Nov 2016 09:26:51 +0000 (10:26 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 30 Nov 2016 09:26:51 +0000 (09:26 +0000)
commitfb61d96cf20d5bb6db8fd72ef7b528804e9f6be4
treedbeaebeaf71880f943227264b45ccfab26cf47de
parente03fb6ec681070048ecc0f1f2d2a299dc3d3db1a
Support nested functions (PR sanitizer/78541).

PR sanitizer/78541
* gcc.dg/asan/pr78541-2.c: New test.
* gcc.dg/asan/pr78541.c: New test.
PR sanitizer/78541
* asan.c (asan_expand_mark_ifn): Properly
select a VAR_DECL from FRAME.* component reference.

From-SVN: r243003
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr78541-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/asan/pr78541.c [new file with mode: 0644]