* [committed] Skip failing scan-assembler checks in g++.dg/abi/anon3.C and g++.dg/abi/rtti3.C
@ 2015-03-08 23:56 John David Anglin
0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2015-03-08 23:56 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
Since r214177, DECL_COMDAT no longer triggers comdat_linkage. As a result, some types that were
previously "weak" are no longer weak on hppa-hpux.
Tested on hppa2.0w-hp-hpux11.11. Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
[-- Attachment #2: ZTI.d.txt --]
[-- Type: text/plain, Size: 2069 bytes --]
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.
Index: g++.dg/abi/anon3.C
===================================================================
--- g++.dg/abi/anon3.C (revision 221270)
+++ g++.dg/abi/anon3.C (working copy)
@@ -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: g++.dg/abi/rtti3.C
===================================================================
--- g++.dg/abi/rtti3.C (revision 221270)
+++ g++.dg/abi/rtti3.C (working copy)
@@ -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* } } } }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-08 23:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-08 23:56 [committed] Skip failing scan-assembler checks in g++.dg/abi/anon3.C and g++.dg/abi/rtti3.C John David Anglin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).