pr28796-2.c: Add -mieee for alpha.

* gcc.dg/pr28796-2.c: Add -mieee for alpha.
        * gcc.dg/pr27095.c: Cope with alpha GOT load.

From-SVN: r123998
This commit is contained in:
Richard Henderson 2007-04-20 10:38:10 -07:00 committed by Richard Henderson
parent 434942d978
commit bf6a0a1838
3 changed files with 9 additions and 1 deletions

View 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.

View 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*-*-* } } } */

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