OSDN Git Service

* ipa-split.c (verify_non_ssa_vars): Break out from ...; perform DFS walk
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 20:45:00 +0000 (20:45 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 20:45:00 +0000 (20:45 +0000)
commit4493dab33d38df3d42bfd966c38d400ba1d01232
treea069aef035ff71c61c1fb53b85efe763eac1e131
parent79b26c4ea533f0ac7f985ea921fc352a96931ca1
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161744 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-split.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ipa-split-5.c [new file with mode: 0644]