sec_implicit_ex.c (main): Replaced abort and exit function calls with return 1 and...
authorBalaji V. Iyer <balaji.v.iyer@intel.com>
Wed, 12 Jun 2013 20:02:37 +0000 (20:02 +0000)
committerBalaji V. Iyer <bviyer@gcc.gnu.org>
Wed, 12 Jun 2013 20:02:37 +0000 (13:02 -0700)
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

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/sec_implicit_ex.c

index 02520dd8958d3515c3f85f8015a0f61539779cf1..0593da28384b7a0cfe9a878ba4803d497311293b 100644 (file)
@@ -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:
index c22b818434a2a9c3dc1de59793a26cc4ed7793e4..4912e6c6ce564c1b8089f0a057d5815287b4c6fe 100644 (file)
@@ -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;
 }