Fix PR sanitizer/78270 (part 2)
authorMartin Liska <mliska@suse.cz>
Wed, 16 Nov 2016 11:56:58 +0000 (12:56 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 16 Nov 2016 11:56:58 +0000 (11:56 +0000)
commit080140bc85bd8b5be9634beb8cbc2f0324e1d649
treeb4578276aa988216a737becffed8c4f02ae81ddd
parent3e077364f3f6aa74bc662d5c2f16264dd622a4a9
Fix PR sanitizer/78270 (part 2)

PR sanitizer/78270
* gimplify.c (gimplify_switch_expr): Always save previous
gimplify_ctxp->live_switch_vars.
PR sanitizer/78270
* gcc.dg/asan/pr78270.c: Update comment style.
* gcc.dg/asan/pr78270-2.c: New test.

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