summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-12 20:02:37 +0000
committerbviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>2013-06-12 20:02:37 +0000
commitf661763334b4a42501d0264c418db57bcdb01a59 (patch)
tree04984f25e98f48f9f06bccae80dab114b7e88338 /gcc
parent885edc78945790ece57dbb026210d0908661b1a5 (diff)
downloadgcc-f661763334b4a42501d0264c418db57bcdb01a59.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c9
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 <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 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;
}