re PR tree-optimization/49243 (attribute((returns_twice)) doesn't work)
authorMikael Pettersson <mikpe@it.uu.se>
Mon, 6 Jun 2011 11:43:31 +0000 (13:43 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 6 Jun 2011 11:43:31 +0000 (11:43 +0000)
commit275311c494a330790748a27d28fa494bd4a18933
tree4cf2bc8dd32967087e36ff5664d882cd396e5b51
parent38fbfaf6fb23fdcd130cc524839686b9ad28f752
re PR tree-optimization/49243 (attribute((returns_twice)) doesn't work)

2011-06-06  Mikael Pettersson  <mikpe@it.uu.se>

PR tree-optimization/49243
* calls.c (setjmp_call_p): Also check if fndecl has the
returns_twice attribute.

* gcc.dg/pr49243.c: New.

From-SVN: r174695
gcc/ChangeLog
gcc/calls.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr49243.c [new file with mode: 0644]