From bc8512ab00e29c64ec9872c42986d5e76d9a75a6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 16 Oct 2015 19:34:32 +0000 Subject: [PATCH] Replace printf with __builtin_printf * gcc.target/i386/iamcu/test_basic_64bit_returning.c (main): Replace printf with __builtin_printf. From-SVN: r228922 --- gcc/testsuite/ChangeLog | 5 +++++ .../gcc.target/i386/iamcu/test_basic_64bit_returning.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 19bed5aabe7..f56798cb925 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-10-16 H.J. Lu + + * gcc.target/i386/iamcu/test_basic_64bit_returning.c (main): + Replace printf with __builtin_printf. + 2015-10-16 H.J. Lu * gcc.target/i386/iamcu/test_passing_unions.c (main): Properly diff --git a/gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c b/gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c index ecece94b793..f714bc7820c 100644 --- a/gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c +++ b/gcc/testsuite/gcc.target/i386/iamcu/test_basic_64bit_returning.c @@ -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 (); -- 2.30.2