re PR middle-end/64242 (Longjmp expansion incorrect)
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 30 Nov 2018 23:06:51 +0000 (23:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 30 Nov 2018 23:06:51 +0000 (16:06 -0700)
commit71b144289c1c69a6d8eec9fd1dc64aecaf3ebed6
tree47f216c2db4a2bd2b45e9c35a194db10402fcaec
parent8ba109cecce1cf6598380908a1d6b00e0360b85d
re PR middle-end/64242 (Longjmp expansion incorrect)

PR middle-end/64242
* builtins.c (expand_builtin_longjmp): Use a temporary when restoring
the frame pointer.
(expand_builtin_nonlocal_goto): Likewise.

* gcc.c-torture/execute/pr64242.c: New test.

From-SVN: r266697
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr64242.c [new file with mode: 0644]