OSDN Git Service

Fix testcase: call abort.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2010 20:25:18 +0000 (20:25 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Aug 2010 20:25:18 +0000 (20:25 +0000)
2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>

* gcc.dg/graphite/run-id-2.c: Call abort.

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

gcc/ChangeLog.graphite
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/run-id-2.c

index 47cf924..abeda2a 100644 (file)
@@ -1,5 +1,9 @@
 2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * gcc.dg/graphite/run-id-2.c: Call abort.
+
+2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>
+
        * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Always insert out
        of SSA copies on edges except for loop->latch.
 
index a2ee19f..17ee09a 100644 (file)
@@ -1,5 +1,9 @@
 2010-08-02  Sebastian Pop  <sebastian.pop@amd.com>
 
+       * gcc.dg/graphite/run-id-2.c: Call abort.
+
+2010-08-02  Sebastian Pop  <sebastian.pop@amd.com>
+
        * gcc.dg/graphite/id-20.c: New.
 
 2010-08-11  Janus Weil  <janus@gcc.gnu.org>
index 0fd5efd..4a23616 100644 (file)
@@ -19,9 +19,17 @@ static int __attribute__((noinline)) bar(int n)
   return c;
 }
 
+extern void abort ();
+
 int main()
 {
-  return
-   foo(0) != 0 || foo(1) != 1 || bar(0) != 0 || bar(1) != 2 || bar(2) != 5;
+  if (foo(0) != 0
+      || foo(1) != 1
+      || bar(0) != 0
+      || bar(1) != 2
+      || bar(2) != 5)
+    abort ();
+
+  return 0;
 }