OSDN Git Service

Fix PR43083: Do not handle regions ending with multiple edges on the exit BB.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Feb 2010 12:59:48 +0000 (12:59 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Feb 2010 12:59:48 +0000 (12:59 +0000)
commitbbf92068625787d3004679dbec60fb59666490d1
tree64759a9b3771aac776fa4cce16b1cffeb41dc9a1
parent66bb96d4fa0526a800aea5cbb4fd830ea06668fd
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/trunk@156997 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]