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 19bed5aabe7a946cddd9c70a23bb5270a792a2b2..f56798cb9259ea96623844c936e1d54150ca81eb 100644 (file)
@@ -1,3 +1,8 @@
+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
index ecece94b793d0728d3467d0ee1e18a4733b88db0..f714bc7820ca9bd9337fbae7b35166171bafdb4f 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 ();