From 3ea71f1333e373889e29188612ff5eced66d3e45 Mon Sep 17 00:00:00 2001 From: "Balaji V. Iyer" Date: Wed, 12 Jun 2013 20:02:37 +0000 Subject: [PATCH] sec_implicit_ex.c (main): Replaced abort and exit function calls with return 1 and return 0, respectively. 2013-06-12 Balaji V. Iyer * c-c++-common/cilk-plus/AN/sec_implicit_ex.c (main): Replaced abort and exit function calls with return 1 and return 0, respectively. From-SVN: r200038 --- gcc/testsuite/ChangeLog | 5 +++++ .../c-c++-common/cilk-plus/AN/sec_implicit_ex.c | 9 +-------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 02520dd8958..0593da28384 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-06-12 Balaji V. Iyer + + * c-c++-common/cilk-plus/AN/sec_implicit_ex.c (main): Replaced abort + and exit function calls with return 1 and return 0, respectively. + 2013-06-12 Richard Sandiford * gcc.target/mips/umips-branch-1.c, gcc.target/mips/umips-branch-2.c: diff --git a/gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c b/gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c index c22b818434a..4912e6c6ce5 100644 --- a/gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c +++ b/gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c @@ -1,10 +1,6 @@ /* { dg-do run } */ /* { dg-options "-fcilkplus" } */ -void abort (void); -void exit (int); - - int main(void) { int jj, kk, array_3C[10][10][10]; @@ -24,10 +20,7 @@ int main(void) for (jj = 0; jj < 10; jj++) for (kk = 0; kk < 10; kk++) if (array_3[ii][jj][kk] != array_3C[ii][jj][kk]) - abort (); + return 1; - - exit (0); - return 0; } -- 2.30.2