[PATCH, committed] Skip g++.dg/other/anon5.C on hppa*-*-hpux*

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Mar 31 05:39:00 GMT 2008


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 {



More information about the Gcc-patches mailing list