Patchwork [testsuite] : Use return 0 instead of exit(0) in gcc.target/i386/*-check.h

login
register
mail settings
Submitter Uros Bizjak
Date Oct. 29, 2011, 5:28 p.m.
Message ID <CAFULd4b0Lj92+buWh1CpBViE-nRmjJt8xfjxuX7H8w68a-pihw@mail.gmail.com>
Download mbox | patch
Permalink /patch/122543/
State New
Headers show

Comments

Uros Bizjak - Oct. 29, 2011, 5:28 p.m.
Hello!

2011-10-29  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/fma-check.h (main): Use return 0 instead of exit (0).
	* gcc.target/i386/fma4-check.h (main): Ditto.
	* gcc.target/i386/xop-check.h (main): Ditto.

Committed as trivial change to mainline SVN.

Uros.

Patch

Index: fma4-check.h
===================================================================
--- fma4-check.h	(revision 180650)
+++ fma4-check.h	(working copy)
@@ -23,5 +23,5 @@  main ()
   if (ecx & bit_FMA4)
     do_test ();
 
-  exit (0);
+  return 0;
 }
Index: xop-check.h
===================================================================
--- xop-check.h	(revision 180650)
+++ xop-check.h	(working copy)
@@ -24,5 +24,5 @@  main ()
   if (ecx & bit_XOP)
     do_test ();
 
-  exit (0);
+  return 0;
 }
Index: fma-check.h
===================================================================
--- fma-check.h	(revision 180650)
+++ fma-check.h	(working copy)
@@ -21,5 +21,5 @@  main ()
   if (ecx & bit_FMA)
     do_test ();
 
-  exit (0);
+  return 0;
 }