]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/graphite-scop-detection.c
Fix PR43083: Do not handle regions ending with multiple edges on the exit BB.
authorSebastian Pop <sebastian.pop@amd.com>
Tue, 23 Feb 2010 12:59:48 +0000 (12:59 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Tue, 23 Feb 2010 12:59:48 +0000 (12:59 +0000)
commit4caa8e21cfe66d2ce6bd914f4b0edf9d0df54530
tree64759a9b3771aac776fa4cce16b1cffeb41dc9a1
parentb8df8b8b99906651d07d38ad64cf5f11a5fb9c75
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.

From-SVN: r156997
gcc/ChangeLog.graphite
gcc/graphite-scop-detection.c
gcc/testsuite/gcc.dg/graphite/pr43083.c [new file with mode: 0644]