diff options
author | Balaji V. Iyer <balaji.v.iyer@intel.com> | 2013-06-12 20:02:37 +0000 |
---|---|---|
committer | Balaji V. Iyer <bviyer@gcc.gnu.org> | 2013-06-12 13:02:37 -0700 |
commit | 3ea71f1333e373889e29188612ff5eced66d3e45 (patch) | |
tree | 04984f25e98f48f9f06bccae80dab114b7e88338 | |
parent | 710b6cc1f06453523da058124cd1d63dfe05e350 (diff) | |
download | gcc-3ea71f1333e373889e29188612ff5eced66d3e45.zip gcc-3ea71f1333e373889e29188612ff5eced66d3e45.tar.gz gcc-3ea71f1333e373889e29188612ff5eced66d3e45.tar.bz2 |
sec_implicit_ex.c (main): Replaced abort and exit function calls with return 1 and return 0, respectively.
2013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
* 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
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/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 02520dd..0593da2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * 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 <rdsandiford@googlemail.com> * 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 c22b818..4912e6c 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; } |