From patchwork Sun Sep 1 16:32:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Botcazou X-Patchwork-Id: 271620 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C4F352C0098 for ; Mon, 2 Sep 2013 02:33:51 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=iNVH+7uv/Tu2aYP4v9NPYFJJXrqkVoXqqvYES5lI3rgzDs3uzNqeQ rYpu8hni1hZcuQNvgPeoT/ojonZ7G9hl2qquPIKnSJtJmAl41XpCicGd5ypBSuoy dZSz7ij6BKqOY0PgxB4MruFAUHqyviJyULQEWOPRwlWfgvG1ol1d0Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=default; bh=TQyQPMeTvQLrABOd1GQemOVouFI=; b=a1one+diGdnMDLZyllXyW+NWbGPv XUHnHbceRJ5ETMySf67I6E33/Xy+sqTweyzqomZllf9OAM2NO/PJOCUUeHEqteDt kZpd4/zFRT52OshFOImlDiWPaOvYhsMsxQq8ZHiNA5tq/8bUN7UNNUyiYzJzh4FA TGIknKfguk7nhGY= Received: (qmail 11926 invoked by alias); 1 Sep 2013 16:33:44 -0000 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 Received: (qmail 11914 invoked by uid 89); 1 Sep 2013 16:33:44 -0000 Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sun, 01 Sep 2013 16:33:44 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED, AWL, BAYES_00, KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id C77E52660790; Sun, 1 Sep 2013 18:33:40 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SECGs492Iofu; Sun, 1 Sep 2013 18:33:40 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id A462C265F028; Sun, 1 Sep 2013 18:33:40 +0200 (CEST) From: Eric Botcazou To: Dominique Dhumieres Cc: gcc-patches@gcc.gnu.org Subject: Re: [ping] Fix error recovery issue with alias Date: Sun, 01 Sep 2013 18:32:43 +0200 Message-ID: <1476373.hBV0SnVtcZ@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.29-desktop; KDE/4.7.2; x86_64; ; ) In-Reply-To: <20130819121544.A9C333BE1E@mailhost.lps.ens.fr> References: <20130818172108.676293BE1E@mailhost.lps.ens.fr> <201308182047.52368.ebotcazou@adacore.com> <20130819121544.A9C333BE1E@mailhost.lps.ens.fr> MIME-Version: 1.0 > The test still fails with the following change: > > --- /opt/gcc/_clean/gcc/testsuite/gnat.dg/specs/linker_alias.ads2013-08-18 > 17:39:22.000000000 +0200 +++ > /opt/gcc/work/gcc/testsuite/gnat.dg/specs/linker_alias.ads 2013-08-19 > 08:52:35.000000000 +0200 @@ -5,5 +5,6 @@ package Linker_Alias is > Var : Integer; -- { dg-error "aliased to undefined symbol" } > pragma Export (C, Var, "my_var"); > pragma Linker_Alias (Var, "var2"); > + pragma Weak_External (Var); > > end Linker_Alias; OK, I've installed the following patchlet instead, thanks. 2013-09-01 Eric Botcazou * gnat.dg/specs/linker_alias.ads: Skip on Darwin. Index: gnat.dg/specs/linker_alias.ads =================================================================== --- gnat.dg/specs/linker_alias.ads (revision 202141) +++ gnat.dg/specs/linker_alias.ads (working copy) @@ -1,4 +1,5 @@ -- { dg-do compile } +-- { dg-skip-if "missing alias support" { *-*-darwin* } } package Linker_Alias is