ipa-split.c (verify_non_ssa_vars): Break out from ......
authorJan Hubicka <jh@suse.cz>
Fri, 2 Jul 2010 20:45:00 +0000 (22:45 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 2 Jul 2010 20:45:00 +0000 (20:45 +0000)
commit2094f1fcd65fc95e28f2704da10d367700e96571
treea069aef035ff71c61c1fb53b85efe763eac1e131
parentc21ae2bfce8a4b50b6f87224809c6685999def30
ipa-split.c (verify_non_ssa_vars): Break out from ......

* ipa-split.c (verify_non_ssa_vars): Break out from ...; perform DFS walk
backwards from entry_bb to check only those basic block of header
that might lead to execution of split part.
(consider_split) ... here.
(find_return_bb): Allow assignment in return BB.
(find_retval): New.
(split_function): Fix name of cloned function; take care of updating return
value in return_bb containing move.

* gcc.dg/tree-ssa/ipa-split-5.c: New function.

From-SVN: r161744
gcc/ChangeLog
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ipa-split-5.c [new file with mode: 0644]