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
This commit is contained in:
Martin Sebor 2017-01-30 21:59:37 +00:00 committed by Martin Sebor
parent cc0608e7a0
commit 3cf88bffdb
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-01-30 Martin Sebor <msebor@redhat.com>
PR testsuite/79293
* gcc.dg/tree-ssa/builtin-sprintf.c: Relax long double test.
2017-01-30 Martin Liska <mliska@suse.cz>
PR gcov-profile/79259

View File

@ -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);