Fix PR43083: Do not handle regions ending with multiple edges on the exit BB.regtest/success/2010_02_22_20_21_54
commit29715f7ad89b31a28e8dd3201a3686e5b0cec75d
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 17:40:23 +0000 (22 17:40 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Feb 2010 17:40:23 +0000 (22 17:40 +0000)
tree25a7249e2cdf8ed7a1995b7590fa498b890ee883
parenta7472d9cd74d243a98dea604d143322c7f41e6b6
Fix PR43083: Do not handle regions ending with multiple edges on the exit BB.

2010-02-22  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43083
* graphite-scop-detection.c (create_single_exit_edge): Move
the call to find_single_exit_edge to....
(create_sese_edges): ...here.  Don't handle multiple edges
exiting the function.
(build_graphite_scops): Don't handle multiple edges
exiting the function.

* gcc.dg/graphite/pr43083.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@156970 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-scop-detection.c
gcc/testsuite/gcc.dg/graphite/pr43083.c [new file with mode: 0644]