diff mbox

[committed] Replace printf with __builtin_printf

Message ID 20151016193457.GA1987@intel.com
State New
Headers show

Commit Message

H.J. Lu Oct. 16, 2015, 7:34 p.m. UTC

diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 228921)
+++ ChangeLog	(working copy)
@@ -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: gcc.target/i386/iamcu/test_basic_64bit_returning.c
===================================================================
--- gcc.target/i386/iamcu/test_basic_64bit_returning.c	(revision 228920)
+++ gcc.target/i386/iamcu/test_basic_64bit_returning.c	(working copy)
@@ -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 ();