pr28796-2.c: Add -mieee for alpha.
authorRichard Henderson <rth@redhat.com>
Fri, 20 Apr 2007 17:38:10 +0000 (10:38 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 20 Apr 2007 17:38:10 +0000 (10:38 -0700)
        * gcc.dg/pr28796-2.c: Add -mieee for alpha.
        * gcc.dg/pr27095.c: Cope with alpha GOT load.

From-SVN: r123998

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr27095.c
gcc/testsuite/gcc.dg/pr28796-2.c

index d261c4949a76cd029f6425019f60207b692f9a1d..5b43dc1776f9353bfd72336c0eefec9d85c18276 100644 (file)
@@ -1,3 +1,8 @@
+2007-04-20  Richard Henderson  <rth@redhat.com>
+
+       * gcc.dg/pr28796-2.c: Add -mieee for alpha.
+       * gcc.dg/pr27095.c: Cope with alpha GOT load.
+
 2007-04-20  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.target/i386/ordcmp-1.c: New test.
index 4a225c3012a2d602f23def4c1e6ddcd55d1aba4b..5ec39687a06d411c8905b88a832b05f3b42339d0 100644 (file)
@@ -11,10 +11,12 @@ main (int argc, char **argv)
   memset (x, argc, strlen (x));
   return 0;
 }
-/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { powerpc*-*-darwin* hppa*-*-hpux* ia64-*-hpux* } } } } } */
+/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { powerpc*-*-darwin* hppa*-*-hpux* ia64-*-hpux* alpha*-*-* } } } } } */
 /* hppa*-*-hpux* has an IMPORT statement for strlen (plus the branch). */
 /* *-*-darwin* has something similar. */
 /* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen" { target hppa*-*-hpux* } } } */
 /* { dg-final { scan-assembler-not "(?n)bl L_strlen\(.*\n\)+.*bl L_strlen" { target powerpc*-*-darwin* } } } */
 /* ia64-*-hpux* has a global statement, a type statement, and the branch. */
 /* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen" { target ia64-*-hpux* } } } */
+/* alpha-*-* has a GOT load and the call.  */
+/* { dg-final { scan-assembler-not "(?n)jsr .*,strlen\(.*\n\)+.*jsr .*,strlen" { target alpha*-*-* } } } */
index b99fd0cc112af9551a318af9637df4b83864dc5f..f76bfed35fa4870f0e8b3cd9cc9446c44d174b91 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -funsafe-math-optimizations -fno-finite-math-only" } */
+/* { dg-options "-mieee -O2 -funsafe-math-optimizations -fno-finite-math-only" { target alpha*-*-* } } */
 
 extern void abort (void);