re PR target/62247 (FAIL: g++.dg/abi/anon3.C -std=c++98/9 scan-assembler .weak...
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 8 Mar 2015 23:46:34 +0000 (23:46 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 8 Mar 2015 23:46:34 +0000 (23:46 +0000)
PR target/62247
* g++.dg/abi/anon3.C: Skip failing scan-assembler checks on
hppa*-*-hpux*.
* g++.dg/abi/rtti3.C: Likewise.

From-SVN: r221271

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/anon3.C
gcc/testsuite/g++.dg/abi/rtti3.C

index e9b11612bf64d475368a862678c123d3b1913107..6258ff30d9657fa39f4b05acee890b18a2191c1c 100644 (file)
@@ -1,5 +1,10 @@
 2015-03-08  John David Anglin  <danglin@gcc.gnu.org>
 
+       PR target/62247
+       * g++.dg/abi/anon3.C: Skip failing scan-assembler checks on
+       hppa*-*-hpux*.
+       * g++.dg/abi/rtti3.C: Likewise.
+
        * g++.dg/ipa/pr63621.C: Add dg-require-effective-target named_sections.
 
        PR target/62251
index 623c7f5c6e1751c803d3f4671baecac5ebc79fb5..3e38024aeddc3c03dfdb5bcbe7492467b492eae2 100644 (file)
@@ -2,13 +2,13 @@
 
 typedef struct {
   // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZN4Heya4blahEv" } }
-  // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTI4Heya" } }
+  // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTI4Heya" { target { ! { hppa*-*-hpux* } } } } }
   // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTV4Heya" } }
   virtual const char *blah() {
     return "Heya::blah";
   }
   // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZN4Heya1A1fEv" } }
-  // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTIN4Heya1AE" } }
+  // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTIN4Heya1AE" { target { ! { hppa*-*-hpux* } } } } }
   // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTVN4Heya1AE" } }
   struct A {
     virtual void f() { }
index c03e4611c0b47dee8e18826f4a235fd2125d8957..0316bcb5de27a44a9519472d565af4c186b12582 100644 (file)
@@ -3,7 +3,7 @@
 
 // { dg-require-weak "" }
 // { dg-skip-if "Linkonce not weak" { *-*-mingw* *-*-cygwin } { "*" } { "" } }
-// { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* } } } } }
+// { dg-final { scan-assembler ".weak\[ \t\]_?_ZTSPP1A" { target { ! { *-*-darwin* hppa*-*-hpux* } } } } }
 // { dg-final { scan-assembler-not ".weak\[ \t\]_?_ZTIPP1A" { target { ! { *-*-darwin* } } } } }
 // { dg-final { scan-assembler ".weak_definition\[ \t\]_?_ZTSPP1A" { target { *-*-darwin* } } } }
 // { dg-final { scan-assembler-not ".weak_definition\[ \t\]_?_ZTIPP1A" { target { *-*-darwin* } } } }