This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed] Skip g++.dg/other/anon5.C on hppa*-*-hpux*
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 Mar 2008 19:28:59 -0400 (EDT)
- Subject: [PATCH, committed] Skip g++.dg/other/anon5.C on hppa*-*-hpux*
The expected error message is not generated when using HP ld, so
the test needs to be skipped on hppa*-*-hpux*.
If more tests appear like this, we need a dg-require for GNU ld.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2008-03-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR c++/35245
* g++.dg/other/anon5.C: Skip on hppa*-*-hpux*.
Index: g++.dg/other/anon5.C
===================================================================
--- g++.dg/other/anon5.C (revision 133459)
+++ g++.dg/other/anon5.C (working copy)
@@ -4,7 +4,7 @@
// problem is that mips*-elf tests run from KSEG0 (which is in the upper
// half of the address range), and the linker compares sign-extended
// addresses from .debug_aranges with unextended addresses.
-// { dg-do link { target { ! mips*-*-elf* } } }
+// { dg-do link { target { ! { hppa*-*-hpux* mips*-*-elf* } } } }
// { dg-options "-g" }
namespace {