From: Uros Bizjak Date: Sun, 17 Dec 2017 20:22:36 +0000 (+0100) Subject: guality.h (guality_check): Cast %lli arguments inf fprintf statements to long long... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e3133dd0c6aa6fb8ee26599598099a521e0d134;p=gcc.git guality.h (guality_check): Cast %lli arguments inf fprintf statements to long long int. * gcc.dg/guality/guality.h (guality_check): Cast %lli arguments inf fprintf statements to long long int. From-SVN: r255765 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f46994747bd..5cb9c935b4d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-12-17 Uros Bizjak + + * gcc.dg/guality/guality.h (guality_check): Cast %lli arguments + inf fprintf statements to long long int. + 2017-12-17 Janne Blomqvist * gfortran.dg/error_stop_3.f90: Update -std= option, fix comments. @@ -51,7 +56,7 @@ 2017-12-15 Markus Trippelsdorf - PR target/83358 + PR target/83358 * gcc.target/i386/pr83358-1.c: New test. * gcc.target/i386/pr83358-2.c: New test. @@ -395,17 +400,17 @@ vec_cts, vec_ctu. * gcc.target/powerpc/builtins-3-runnable.c (test_result_sp): Fix printf conversion character. - * gcc.target/powerpc/fold-vec-minmax-char.c (test1_min, test2_min, + * gcc.target/powerpc/fold-vec-minmax-char.c (test1_min, test2_min, test4_min, test1_max, test2_max): Add tests for vec_max and vec_min. - * gcc.target/powerpc/fold-vec-minmax-int.c (test4_min, test5_min, + * gcc.target/powerpc/fold-vec-minmax-int.c (test4_min, test5_min, test7_min, test8_min): Add tests for vec_min. - * gcc.target/powerpc/fold-vec-minmax-longlong.c (test7_max, test8_max, + * gcc.target/powerpc/fold-vec-minmax-longlong.c (test7_max, test8_max, test9_max, test10_max): Add tests for and vec_max. - * gcc.target/powerpc/fold-vec-minmax-short.c (test4_min, test5_min, + * gcc.target/powerpc/fold-vec-minmax-short.c (test4_min, test5_min, tes7_min, test8_min): Add tests for and vec_min. - * gcc.target/powerpc/p8vector-builtin-8.c (foo): Add test for vec_adds, + * gcc.target/powerpc/p8vector-builtin-8.c (foo): Add test for vec_adds, vec_subs, vec_sum2s, vec_sum4s. - * gcc.target/powerpc/vsx-splats-p8.c: New file to test vec_splats. + * gcc.target/powerpc/vsx-splats-p8.c: New file to test vec_splats. * gcc.target/vsx-vector-5.c (arg1_tests_d, arg1_tests_d): Add tests for vec_ceil, vec_floor, vec_nearbyint, vec_sqrt. * gcc.target/vsx-vector-7.c (foo): Add tests for vec_sel. @@ -423,7 +428,7 @@ ALTIVEC_BUILTIN_VEC_SLL): Add expansions. * doc/extend.texi: Add documentation for the added builtins. -2017-12-11 Alexandre Oliva +2017-12-11 Alexandre Oliva PR rtl-optimization/80693 PR rtl-optimization/81019 diff --git a/gcc/testsuite/gcc.dg/guality/guality.h b/gcc/testsuite/gcc.dg/guality/guality.h index 94722510ff0..7a164754dd8 100644 --- a/gcc/testsuite/gcc.dg/guality/guality.h +++ b/gcc/testsuite/gcc.dg/guality/guality.h @@ -363,15 +363,18 @@ continue\n\ switch (result) { case PASS: - fprintf (stderr, "PASS: " GUALITY_TEST ": %s is %lli\n", name, value); + fprintf (stderr, "PASS: " GUALITY_TEST ": %s is %lli\n", name, + (long long int) value); break; case INCORRECT: - fprintf (stderr, "FAIL: " GUALITY_TEST ": %s is %lli, not %lli\n", name, xvalue, value); + fprintf (stderr, "FAIL: " GUALITY_TEST ": %s is %lli, not %lli\n", name, + (long long int) xvalue, (long long int) value); break; case INCOMPLETE: fprintf (stderr, "%s: " GUALITY_TEST ": %s is %s, expected %lli\n", unknown_ok ? "UNRESOLVED" : "FAIL", name, - unavailable < 0 ? "not computable" : "optimized away", value); + unavailable < 0 ? "not computable" : "optimized away", + (long long int) value); result = unknown_ok ? INCOMPLETE : INCORRECT; break; default: