diff options
author | Mike Stump <mrs@apple.com> | 2006-06-08 23:29:18 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-06-08 23:29:18 +0000 |
commit | 879c22aca5e78def0871f341772e3bb2767f5a9c (patch) | |
tree | b2cefb82fab6ef73e0ac2a7a1b5f9368a1264b03 | |
parent | 23f99493bc7682649148bb438f9047bb8b59c5dc (diff) | |
download | gcc-879c22aca5e78def0871f341772e3bb2767f5a9c.zip gcc-879c22aca5e78def0871f341772e3bb2767f5a9c.tar.gz gcc-879c22aca5e78def0871f341772e3bb2767f5a9c.tar.bz2 |
* gcc.dg/pr27095.c: Account for stubs.
From-SVN: r114499
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr27095.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 344a9f0..267c08c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2006-06-08 Mike Stump <mrs@apple.com> + * gcc.dg/pr27095.c: Account for stubs. + PR target/26427 * gcc.dg/pr26427.c: Test to ensure that -fsection-anchors doesn't produce bad code on darwin. diff --git a/gcc/testsuite/gcc.dg/pr27095.c b/gcc/testsuite/gcc.dg/pr27095.c index a5144e8..4a225c3 100644 --- a/gcc/testsuite/gcc.dg/pr27095.c +++ b/gcc/testsuite/gcc.dg/pr27095.c @@ -11,9 +11,10 @@ main (int argc, char **argv) memset (x, argc, strlen (x)); return 0; } -/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { *-*-darwin* hppa*-*-hpux* ia64-*-hpux* } } } } } */ +/* { dg-final { scan-assembler-not "(?n)strlen\(.*\n\)+.*strlen" { target { ! { powerpc*-*-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* } } } */ +/* { 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* } } } */ |