From patchwork Fri Jan 21 13:11:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 79836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id E7987B7109 for ; Sat, 22 Jan 2011 00:11:54 +1100 (EST) Received: (qmail 20588 invoked by alias); 21 Jan 2011 13:11:52 -0000 Received: (qmail 20576 invoked by uid 22791); 21 Jan 2011 13:11:51 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Jan 2011 13:11:35 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id AFFF184B for ; Fri, 21 Jan 2011 14:11:33 +0100 (CET) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ME8unIkX3Bg1 for ; Fri, 21 Jan 2011 14:11:32 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 1745784A for ; Fri, 21 Jan 2011 14:11:32 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p0LDBVKZ006631; Fri, 21 Jan 2011 14:11:31 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite, c++] Skip g++.dg/other/anon5.C on IRIX Date: Fri, 21 Jan 2011 14:11:31 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 * g++.dg/other/anon5.C: Skip on mips-sgi-irix*. 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 {