nan-legacy.c: Accept 4294967295 as an alternative to -1.
authorMaciej W. Rozycki <macro@codesourcery.com>
Tue, 13 Aug 2013 21:39:26 +0000 (21:39 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Tue, 13 Aug 2013 21:39:26 +0000 (21:39 +0000)
* 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
gcc/testsuite/gcc.target/mips/nan-legacy.c
gcc/testsuite/gcc.target/mips/nans-legacy.c

index a0eed98..75a1237 100644 (file)
@@ -1,5 +1,11 @@
 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
 
+       * 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  <macro@codesourcery.com>
+
        * gcc.target/mips/fabs-2008.c: Correct scan-assembler pattern
        escapes.
        * gcc.target/mips/fabs-legacy.c: Likewise.
index c44cbe9..359ca22 100644 (file)
@@ -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" } } */
index 8b68830..0ce4226 100644 (file)
@@ -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" } } */