From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95791 invoked by alias); 21 Aug 2018 21:34:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 95780 invoked by uid 89); 21 Aug 2018 21:34:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=expectation, H*c:HHHHH X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Aug 2018 21:34:34 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-03.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1fsEII-0005Vf-Sa from joseph_myers@mentor.com ; Tue, 21 Aug 2018 14:34:30 -0700 Received: from digraph.polyomino.org.uk (137.202.0.87) by SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 21 Aug 2018 22:34:27 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.90_1) (envelope-from ) id 1fsEIE-00054i-R5; Tue, 21 Aug 2018 21:34:26 +0000 Date: Tue, 21 Aug 2018 21:34:00 -0000 From: Joseph Myers To: "Uecker, Martin" CC: "gcc-patches@gcc.gnu.org" , "law@redhat.com" , "ebotcazou@adacore.com" Subject: Re: [PATCH v2][C][ADA] use function descriptors instead of trampolines in C In-Reply-To: <1534832264.15600.1.camel@med.uni-goettingen.de> Message-ID: References: <1534005653.22677.9.camel@med.uni-goettingen.de> <1534609978.14596.2.camel@med.uni-goettingen.de> <1534774021.5798.6.camel@med.uni-goettingen.de> <1534832264.15600.1.camel@med.uni-goettingen.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-2030345922-1534887266=:13329" X-SW-Source: 2018-08/txt/msg01312.txt.bz2 ---1152306461-2030345922-1534887266=:13329 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-length: 1162 On Tue, 21 Aug 2018, Uecker, Martin wrote: > > I don't see why this is target-specific (if it is, the documentation for  > > users in invoke.texi should explain what targets it works for and what it  > > doesn't work for) anyway.  I'd expect it to be a target-independent  > > feature with a target-independent test or tests. > > My understanding is that this is a target-independent feature which > has not yet been implemented for all targets. The existing > documentation does not reflect this. How does one tell which targets do or do not support it? For tests for features supported on some but not all targets, we use effective-target keywords. Of course you need to be careful about how you implement those keywords: you don't want the implementation of the keyword to be essentially the same as the test being conditioned, to avoid a bug in the implementation quietly causing the test to be disabled. But the implementation of the keyword might e.g. have a blacklist of targets that do not yet support the feature, with the expectation that the test should run and pass on all other targets. -- Joseph S. Myers joseph@codesourcery.com ---1152306461-2030345922-1534887266=:13329--