Fix testcase: call abort.

2010-06-23  Sebastian Pop  <sebastian.pop@amd.com>

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

From-SVN: r163124
This commit is contained in:
Sebastian Pop 2010-08-11 20:25:18 +00:00 committed by Sebastian Pop
parent 4aa9a16727
commit 3d1254793b
3 changed files with 18 additions and 2 deletions

View 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

View 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.

View 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;
}