re PR ipa/69241 (ICE with noreturn and function that return non-POD)
authorJakub Jelinek <jakub@redhat.com>
Fri, 12 Feb 2016 11:59:00 +0000 (12:59 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 12 Feb 2016 11:59:00 +0000 (12:59 +0100)
commit06ff700018a769b76d4ec39b487fff46738ce84b
tree0247bb31639a9cd236d1d18a2093f70a95038354
parentb69539cbf58a1d0c918759dc12cf384922661753
re PR ipa/69241 (ICE with noreturn and function that return non-POD)

PR ipa/69241
* ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
type by reference, force lhs on the call.

* g++.dg/ipa/pr69241-4.C: New test.

From-SVN: r233375
gcc/ChangeLog
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ipa/pr69241-4.C [new file with mode: 0644]