Call BUILT_IN_ASAN_HANDLE_NO_RETURN before BUILT_IN_UNWIND_RESUME (PR sanitizer/81021).
authorMartin Liska <mliska@suse.cz>
Fri, 30 Jun 2017 08:51:00 +0000 (10:51 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 30 Jun 2017 08:51:00 +0000 (08:51 +0000)
commitc497284c371acf3861754365b1f4d1800378e690
treebc8710aa85afaf74385085ba3f7dc7a14c9f7f3b
parent516fa8946459e29b26035d1d273e8fafbaaa95ce
Call BUILT_IN_ASAN_HANDLE_NO_RETURN before BUILT_IN_UNWIND_RESUME (PR sanitizer/81021).

2017-06-30  Martin Liska  <mliska@suse.cz>

PR sanitizer/81021
* g++.dg/asan/pr81021.C: New test.
2017-06-30  Martin Liska  <mliska@suse.cz>

PR sanitizer/81021
* tree-eh.c (lower_resx): Call BUILT_IN_ASAN_HANDLE_NO_RETURN
before BUILT_IN_UNWIND_RESUME when ASAN is used.

From-SVN: r249833
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/pr81021.C [new file with mode: 0644]
gcc/tree-eh.c