Replace printf with __builtin_printf
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 16 Oct 2015 19:34:32 +0000 (19:34 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 16 Oct 2015 19:34:32 +0000 (12:34 -0700)
* gcc.target/i386/iamcu/test_basic_64bit_returning.c (main):
Replace printf with __builtin_printf.

From-SVN: r228922

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c

index 19bed5a..f56798c 100644 (file)
@@ -1,5 +1,10 @@
 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * gcc.target/i386/iamcu/test_basic_64bit_returning.c (main):
+       Replace printf with __builtin_printf.
+
+2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
        * gcc.target/i386/iamcu/test_passing_unions.c (main): Properly
        initialize u5.
 
index ecece94..f714bc7 100644 (file)
@@ -49,7 +49,7 @@ main (void)
   if (d != test_64.d
       || (test_64.ll & 0xffffffff) != eax
       || ((test_64.ll >> 32) & 0xffffffff) != edx)
-    printf ("fail double\n"), failed++;
+    __builtin_printf ("fail double\n"), failed++;
 
   if (failed)
     abort ();