diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2011-08-06 23:37:22 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-08-06 23:37:22 +0200 |
commit | 476ccc3fc4c266fa9e06cfc327c6dd0ec1839530 (patch) | |
tree | 275c699683c2a15c7b9590c54a3fbdc67bf81812 /gcc | |
parent | ed003a88550b114f8bdd1940b0738b844c694507 (diff) | |
download | gcc-476ccc3fc4c266fa9e06cfc327c6dd0ec1839530.zip gcc-476ccc3fc4c266fa9e06cfc327c6dd0ec1839530.tar.gz gcc-476ccc3fc4c266fa9e06cfc327c6dd0ec1839530.tar.bz2 |
re PR testsuite/48727 (FAIL: g++.dg/opt/devirt2.C scan-assembler-times xyzzy 2)
PR testsuite/48727
* g++.dg/opt/devirt2.C: Use specific pattern for alpha*-*-*.
From-SVN: r177537
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/opt/devirt2.C | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3c230ef..7841b93 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2011-08-06 Uros Bizjak <ubizjak@gmail.com> + PR testsuite/48727 + * g++.dg/opt/devirt2.C: Use specific pattern for alpha*-*-*. + +2011-08-06 Uros Bizjak <ubizjak@gmail.com> + * gcc.dg/pr48770.c: Cleanup coverage files. * gfortran.dg/vect/O3-pr49957.f: Cleanup vect tree dump. diff --git a/gcc/testsuite/g++.dg/opt/devirt2.C b/gcc/testsuite/g++.dg/opt/devirt2.C index a16c25f..b068f4d 100644 --- a/gcc/testsuite/g++.dg/opt/devirt2.C +++ b/gcc/testsuite/g++.dg/opt/devirt2.C @@ -1,10 +1,13 @@ // { dg-do compile } // { dg-options "-O2" } +// { dg-final { scan-assembler-times "xyzzy" 2 { target { ! { alpha*-*-* hppa*-*-* ia64*-*-hpux* sparc*-*-* } } } } } // The IA64 and HPPA compilers generate external declarations in addition // to the call so those scans need to be more specific. -// { dg-final { scan-assembler-times "xyzzy" 2 { target { ! { hppa*-*-* ia64*-*-hpux* sparc*-*-* } } } } } // { dg-final { scan-assembler-times "br\[^\n\]*xyzzy" 2 { target ia64*-*-hpux* } } } // { dg-final { scan-assembler-times "xyzzy\[^\n\]*,%r" 2 { target hppa*-*-* } } } +// If assembler supports explicit relocation directives, the alpha compiler generates +// literal/lituse_jsr pairs, so the scans need to be more specific. +// { dg-final { scan-assembler-times "jsr\[^\n\]*xyzzy" 2 { target alpha*-*-* } } } // Unless the assembler supports -relax, the 32-bit SPARC compiler generates // sethi/jmp instead of just call, so the scans need to be more specific. // With subexpressions, Tcl regexp -inline -all returns both the complete |