diff mbox

[testsuite,c++] Skip g++.dg/other/anon5.C on IRIX

Message ID yddzkqujta4.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Jan. 21, 2011, 1:11 p.m. UTC
g++.dg/other/anon5.C currently FAILs on IRIX:

FAIL: g++.dg/other/anon5.C undefined (test for warnings, line )
FAIL: g++.dg/other/anon5.C (test for excess errors)
Excess errors:
ld32: ERROR   33 : Unresolved data symbol "(anonymous namespace)::c::t" -- 1st r
eferenced by /var/tmp//cc6vXoF2.o.
        Use linker option -v to see when and which objects, archives and dsos ar
e loaded.
ld32: FATAL   2  : Internal: at ../../ld/multigot.c lgot_local_got_offset() seg_
ndx exceeds per_seg_lgot_table
ld32: INFO    152: Output file removed because of error.

The current testcase expects "undefined" in the linker output, which
doesn't match what the SGI ld emits.  While this could be fixed, the
fatal error that follows seems unavoidable, so I'm skipping the test on
IRIX, as is obviously the case on many (all?) other targets where vendor
linkers are in use.

Tested with the appropriate runtest invocation, applied to mainline, 4.4
and 4.5 branches.

	Rainer


2011-01-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/other/anon5.C: Skip on mips-sgi-irix*.
diff mbox

Patch

Index: gcc/testsuite/g++.dg/other/anon5.C
===================================================================
--- gcc/testsuite/g++.dg/other/anon5.C	(revision 169082)
+++ gcc/testsuite/g++.dg/other/anon5.C	(working copy)
@@ -1,5 +1,5 @@ 
 // PR c++/34094
-// { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* alpha*-dec-osf* } } } }
+// { dg-do link { target { ! { *-*-darwin* *-*-hpux* *-*-solaris2.* alpha*-dec-osf* mips-sgi-irix* } } } }
 // { dg-options "-g" }
 
 namespace {