From 53781c0df3a5b054dda09bff165091befc56b1b8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 13 Aug 2013 21:39:26 +0000 Subject: [PATCH] nan-legacy.c: Accept 4294967295 as an alternative to -1. * gcc.target/mips/nan-legacy.c: Accept 4294967295 as an alternative to -1. * gcc.target/mips/nans-legacy.c: Likewise. From-SVN: r201711 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/mips/nan-legacy.c | 2 +- gcc/testsuite/gcc.target/mips/nans-legacy.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a0eed98..75a1237 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 2013-08-13 Maciej W. Rozycki + * gcc.target/mips/nan-legacy.c: Accept 4294967295 as an + alternative to -1. + * gcc.target/mips/nans-legacy.c: Likewise. + +2013-08-13 Maciej W. Rozycki + * gcc.target/mips/fabs-2008.c: Correct scan-assembler pattern escapes. * gcc.target/mips/fabs-legacy.c: Likewise. diff --git a/gcc/testsuite/gcc.target/mips/nan-legacy.c b/gcc/testsuite/gcc.target/mips/nan-legacy.c index c44cbe9..359ca22 100644 --- a/gcc/testsuite/gcc.target/mips/nan-legacy.c +++ b/gcc/testsuite/gcc.target/mips/nan-legacy.c @@ -4,4 +4,4 @@ double d = __builtin_nan (""); /* { dg-final { scan-assembler "\t\\.nan\tlegacy\n" } } */ -/* { dg-final { scan-assembler "\t\\.word\t2146959359\n\t\\.word\t-1\n" } } */ +/* { dg-final { scan-assembler "\t\\.word\t2146959359\n\t\\.word\t(?:-1|4294967295)\n" } } */ diff --git a/gcc/testsuite/gcc.target/mips/nans-legacy.c b/gcc/testsuite/gcc.target/mips/nans-legacy.c index 8b68830..0ce4226 100644 --- a/gcc/testsuite/gcc.target/mips/nans-legacy.c +++ b/gcc/testsuite/gcc.target/mips/nans-legacy.c @@ -4,4 +4,4 @@ double ds = __builtin_nans (""); /* { dg-final { scan-assembler "\t\\.nan\tlegacy\n" } } */ -/* { dg-final { scan-assembler "\t\\.word\t2147483647\n\t\\.word\t-1\n" } } */ +/* { dg-final { scan-assembler "\t\\.word\t2147483647\n\t\\.word\t(?:-1|4294967295)\n" } } */ -- 2.7.4