OSDN Git Service

Add testcase for PR43351.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 18:36:45 +0000 (18:36 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 18:36:45 +0000 (18:36 +0000)
2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43351
* gcc.dg/graphite/id-pr43351.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157882 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog.graphite
gcc/testsuite/gcc.dg/graphite/id-pr43351.c [new file with mode: 0644]

index 1659de6..1475ef6 100644 (file)
@@ -1,5 +1,10 @@
 2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
 
+       PR middle-end/43351
+       * gcc.dg/graphite/id-pr43351.c
+
+2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>
+
        PR middle-end/43354
        * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not
        call insert_out_of_ssa_copy for default definitions.
diff --git a/gcc/testsuite/gcc.dg/graphite/id-pr43351.c b/gcc/testsuite/gcc.dg/graphite/id-pr43351.c
new file mode 100644 (file)
index 0000000..0590584
--- /dev/null
@@ -0,0 +1,5 @@
+int foo(int i)
+{
+  if (i < 0) return 0;
+  for (; i < 10; i++);
+}