Move non-local goto expansion after parm_birth_insn (PR sanitize/81186).
authorMartin Liska <mliska@suse.cz>
Wed, 26 Jul 2017 08:52:37 +0000 (10:52 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 26 Jul 2017 08:52:37 +0000 (08:52 +0000)
commit108c3c88d7273be093ff1431760bff5774381ac1
treee6e7217bb711dfa24d97cebd3c4daad78029b430
parent9cda17b5c6411df40b865838bc99d55709d7ae21
Move non-local goto expansion after parm_birth_insn (PR sanitize/81186).

2017-07-26  Martin Liska  <mliska@suse.cz>

PR sanitize/81186
* function.c (expand_function_start): Make expansion of
nonlocal_goto_save_area after parm_birth_insn.
2017-07-26  Martin Liska  <mliska@suse.cz>

PR sanitize/81186
* gcc.dg/asan/pr81186.c: New test.

From-SVN: r250561
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr81186.c [new file with mode: 0644]