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:
parent
434942d978
commit
bf6a0a1838
|
@ -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>
|
2007-04-20 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* gcc.target/i386/ordcmp-1.c: New test.
|
* gcc.target/i386/ordcmp-1.c: New test.
|
||||||
|
|
|
@ -11,10 +11,12 @@ main (int argc, char **argv)
|
||||||
memset (x, argc, strlen (x));
|
memset (x, argc, strlen (x));
|
||||||
return 0;
|
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). */
|
/* hppa*-*-hpux* has an IMPORT statement for strlen (plus the branch). */
|
||||||
/* *-*-darwin* has something similar. */
|
/* *-*-darwin* has something similar. */
|
||||||
/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen\(.*\n\)+.*strlen" { target hppa*-*-hpux* } } } */
|
/* { 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* } } } */
|
/* { 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. */
|
/* 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* } } } */
|
/* { 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*-*-* } } } */
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* { dg-do run } */
|
/* { dg-do run } */
|
||||||
/* { dg-options "-O2 -funsafe-math-optimizations -fno-finite-math-only" } */
|
/* { 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);
|
extern void abort (void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue