]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-split.c
re PR tree-optimization/47141 (segfault)
authorJeff Law <law@redhat.com>
Mon, 10 Jan 2011 16:48:42 +0000 (09:48 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 10 Jan 2011 16:48:42 +0000 (09:48 -0700)
commit2e5e346da2c4c6dea5b514894fc0bbcaf4bd3d99
tree3414c4dc8a1eecc61ab246c7126be1ca6fb775d8
parentcf9712ccc092e054e2a48d78c275b709700a0032
re PR tree-optimization/47141 (segfault)

* PR tree-optimization/47141
* ipa-split.c (split_function): Handle case where we are returning a
value and the return block has a virtual operand phi.

* gcc.c-torture/compile/pr47141.c: New test.

Approved by richie in IRC

From-SVN: r168634
gcc/ChangeLog
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr47141.c [new file with mode: 0644]