From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109592 invoked by alias); 8 Mar 2015 23:56:44 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 109578 invoked by uid 89); 8 Mar 2015 23:56:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: BLU004-OMC3S5.hotmail.com Received: from blu004-omc3s5.hotmail.com (HELO BLU004-OMC3S5.hotmail.com) (65.55.116.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sun, 08 Mar 2015 23:56:42 +0000 Received: from BLU436-SMTP251 ([65.55.116.74]) by BLU004-OMC3S5.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 8 Mar 2015 16:56:41 -0700 X-TMN: [uF3t/EoEk42ghek0TSm+54DZ3nDtcWlY] Message-ID: From: John David Anglin Content-Type: multipart/mixed; boundary="Apple-Mail-25-875199764" Date: Sun, 08 Mar 2015 23:56:00 -0000 Subject: [committed] Skip failing scan-assembler checks in g++.dg/abi/anon3.C and g++.dg/abi/rtti3.C To: GCC Patches MIME-Version: 1.0 (Apple Message framework v1085) X-SW-Source: 2015-03/txt/msg00443.txt.bz2 --Apple-Mail-25-875199764 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Content-length: 255 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 --Apple-Mail-25-875199764 Content-Disposition: attachment; filename="ZTI.d.txt" Content-Type: text/plain; name="ZTI.d.txt" Content-Transfer-Encoding: quoted-printable Content-length: 2337 2015-03-08 John David Anglin 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- g++.dg/abi/anon3.C (revision 221270) +++ g++.dg/abi/anon3.C (working copy) @@ -2,13 +2,13 @@ =20 typedef struct { // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZN4Heya4b= lahEv" } } - // { 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\]_?_ZN4Heya1A= 1fEv" } } - // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTIN4Heya= 1AE" } } + // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTIN4Heya= 1AE" { target { ! { hppa*-*-hpux* } } } } } // { dg-final { scan-assembler ".weak\(_definition\)?\[ \t\]_?_ZTVN4Heya= 1AE" } } struct A { virtual void f() { } Index: g++.dg/abi/rtti3.C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- g++.dg/abi/rtti3.C (revision 221270) +++ g++.dg/abi/rtti3.C (working copy) @@ -3,7 +3,7 @@ =20 // { 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" { targe= t { *-*-darwin* } } } } // { dg-final { scan-assembler-not ".weak_definition\[ \t\]_?_ZTIPP1A" { t= arget { *-*-darwin* } } } } --Apple-Mail-25-875199764--