]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix testcase: call abort.
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 11 Aug 2010 20:25:18 +0000 (20:25 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
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.

From-SVN: r163124

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

index 47cf9244d32ac39a2d164120a49a9d3a5abd0876..abeda2a42e9c919fd6fa0649101b65718c06b44b 100644 (file)
@@ -1,3 +1,7 @@
+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
index a2ee19f003e2c4830e2fdb5577f7c04c1477497b..17ee09a5952388d66d1e841f229ca2ba1e2d6194 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 0fd5efd8dc2e12989c3567f7456e7246f5788f79..4a2361667abad6d4b1c1339bb275d6171e38807d 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;
 }