From: Martin Sebor Date: Mon, 30 Jan 2017 21:59:37 +0000 (+0000) Subject: PR testsuite/79293 - gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cf88bffdb6dd08ad039aba64d762bcac11a1ef4;p=gcc.git PR testsuite/79293 - gcc.dg/tree-ssa/builtin-sprintf.c fails starting with r244953 gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/builtin-sprintf.c: Relax long double test. From-SVN: r245037 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cbab69fd1b1..73dfce2ba03 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-30 Martin Sebor + + PR testsuite/79293 + * gcc.dg/tree-ssa/builtin-sprintf.c: Relax long double test. + 2017-01-30 Martin Liska PR gcov-profile/79259 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c index cf6b9ec3dfe..eb27de6705f 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf.c @@ -721,7 +721,12 @@ test_g_long_double (void) RNG ( 10, 15, 16, "%Lg", 1.0L / 512); /* Numbers that are not exactly representable. */ - RNG ( 3, 13, 14, "%Lg", 0.1L); + + /* The following test case results in up to 14 bytes on powerpc*-*-* + but only in 13 bytes on x86_64 (see PR testsuite/79293). Test just + for the former for simplicity. */ + RNG ( 3, 14, 15, "%Lg", 0.1L); + RNG ( 4, 13, 14, "%Lg", 0.12L); RNG ( 5, 13, 14, "%Lg", 0.123L); RNG ( 6, 13, 14, "%Lg", 0.1234L);