* gcc.dg/pr27095.c: Improve scanning.

From-SVN: r114467
This commit is contained in:
Steve Ellcey 2006-06-07 15:27:24 +00:00 committed by Steve Ellcey
parent 3416d7cd4b
commit 1df01687da
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-06-07 Steve Ellcey <sje@cup.hp.com>
* gcc.dg/pr27095.c: Improve scanning.
2006-06-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/23091

View File

@ -11,4 +11,9 @@ main (int argc, char **argv)
memset (x, argc, strlen (x));
return 0;
}
/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { xfail *-*-darwin* } } } */
/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { *-*-darwin* hppa*-*-hpux* ia64-*-hpux* } } } } } */
/* 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* *-*-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* } } } */