From patchwork Thu Sep 22 16:43:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 76805 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp132591qgf; Thu, 22 Sep 2016 09:44:32 -0700 (PDT) X-Received: by 10.66.161.195 with SMTP id xu3mr4843749pab.68.1474562672410; Thu, 22 Sep 2016 09:44:32 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id ft3si2798808pad.98.2016.09.22.09.44.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2016 09:44:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-436629-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-436629-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-436629-patch=linaro.org@gcc.gnu.org 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:mime-version:content-type; q=dns; s=default; b=kqbCFrYHQQprtk9+IVm522fn1Uplhc5S8bhYJHu4iHvkMniVgh DpfP4tlem3FfOkr5YXQs6BlDwoCPBNsYDnC+vNLjIaUFTRIBT/5Fux4gISlT4vlm gC7Cv6+nIhF5xoodfWDwvMBGgQL5UqCNcgPKaLISxNcfMnGwXWEEcDW9Y= 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:mime-version:content-type; s= default; bh=JwYCDo2vN3xxgFcESSSD06PqJVs=; b=P0Mfe0+nIIZN291FgRYw V0Msh/M4kLpos7P+U4fIz4rIDStBIeC7ukdAvc7PugGt+tYHMSD6RdtfYVVv3x4g /62AXSO1BKLe+7L/jbG8c9DRfzXDpW9shkkXFXq6HGTcqDshX5ci4w0DyuXzoZ3p nnQYP66WsW8Yp3I87eplqOw= Received: (qmail 17843 invoked by alias); 22 Sep 2016 16:44:09 -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 17805 invoked by uid 89); 22 Sep 2016 16:44:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*aph, Excess, HX-Exchange-Antispam-Report-Test:180628864354917 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Sep 2016 16:43:58 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp0211.outbound.protection.outlook.com [213.199.154.211]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-70-96AW6ZfJN12iQ08gFk2Glg-1; Thu, 22 Sep 2016 17:43:53 +0100 Received: from HE1PR08CA0016.eurprd08.prod.outlook.com (10.161.112.26) by AM2PR08MB0273.eurprd08.prod.outlook.com (10.161.129.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.8; Thu, 22 Sep 2016 16:43:51 +0000 Received: from DB3FFO11FD007.protection.gbl (2a01:111:f400:7e04::171) by HE1PR08CA0016.outlook.office365.com (2a01:111:e400:5097::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Thu, 22 Sep 2016 16:43:51 +0000 Received: from nebula.arm.com (217.140.96.140) by DB3FFO11FD007.mail.protection.outlook.com (10.47.216.96) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.629.5 via Frontend Transport; Thu, 22 Sep 2016 16:43:50 +0000 Received: from e107456-lin.cambridge.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Thu, 22 Sep 2016 17:43:48 +0100 From: James Greenhalgh To: CC: , , , , , , , Subject: [Patch] Remove all uses of TARGET_FLT_EVAL_METHOD_NON_DEFAULT and poison it Date: Thu, 22 Sep 2016 17:43:32 +0100 Message-ID: <1474562612-38327-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(377424004)(189002)(199003)(586003)(8936002)(36756003)(11100500001)(626004)(5660300001)(77096005)(2906002)(4326007)(19580405001)(33646002)(19580395003)(8676002)(110136003)(356003)(50986999)(7846002)(246002)(305945005)(4610100001)(2351001)(229853001)(92566002)(2476003)(568964002)(84326002)(26826002)(87936001)(50226002)(106466001)(104016004)(86362001)(5890100001)(189998001)(512874002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR08MB0273; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD007; 1:VxAXrETl5FCl5rf8xywUC2jNWaW9J242M2qdaz7YScgiGZyizfH867t7c3L9sY4A8go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NlxHLjxtMrlvFZy2QOqJRoHxH9+QVBQmE80oLVg== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:AM2PR08MB0273; X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0273; 25:Ud8NZyoqqPY0NPbO0INgctfIYwWKAIpd8TZrVThe46G5FYRw39l2A5Gx1ocCWrCr7oflemGfTI5Qq1O534A9H42onhA0ZTovmH1YE6DrFCD3q0kLjr8m6SZck+r0z+ALIEQr5iAtnr/RE3NhC8Vw/EKS4hLGXPPjFcNqNnj3zY+bH2lYXdG7DXCd8TUQqdnSVr6dkAmH9qGs/JQyj/UyaVD2sSTsu8D7S90Eo6YMlbqaVUTcl4Z03r8W4ijzkUJ4WVPFHOMohMm34zEQX+VAI/RtUcnPsXD3XVDHHLMdb1LDWQ/dlsCjjw0AZdibTr6uIuL8DGqMr6WREqxD5cdOmik5lBn3cyITUOLp3+oYP73llTy/YY0JxaJOxIYLpLhOPubzWJ6DVFpXnFuPm7tFl1j3uK93cf4Fh8hwBM+TNiFbY3IzOFDxhCIxOXty7xBExdVIhl7MqKATAsDwrbcXQO4EO9h62hD+L8QtyHPPKBvieHYPF7Bsp2y8kX7vFpRr7UI5SEpzlEjw8M1WUbHYmRKCiA/E62/krFWjJY1MpSk+nFBrPRJ8HhBNYLszvoWSpQXNLKuIFfJTjGT9TAyYyV43RReOf9iR4JP3BX+xsIb4GtFPKBxlqIkyhgw6iqvMrEbVIPYGtbONwiujOdFwEw8L1G1SJBG0q6a94LAKTY0GBA2xYWwUWJNQp1Uza42pf4fMBJeKTT+MxHBkhtEQMi17DBnysjVssfV7siKtolyctqJv+xRBUGJuW6HSibBMZutpbr6SSnjKtQPBUBflwKDgCMhqLayuoLYRxIGFQRa7n0dwvxe+DswnnIoDekydEZY9CjzWaCnFys/42YL8xjCLnmTm3axJ335+D+uHBnRz6gOytuVhvSoHYUzT8qeBu8gEelX6OOFT8iMpbziITg== X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0273; 31:Y8taDo60qrtwYU3BROVpClay12Jp+ut6PqFJ4UvrynJftShtN4lz5sKluf1/bvAjLPuA1NUTjvZXAxtnbcMl6HwXUdL30RR/xA6Jdf5msu5Gzf5Wj/UiKoGuk8r/YKzv7xbRx3hW0KXqLafSpHh9SJOjEQzklmoNK8J1VetkJ6mH8GMy62nfriCESMvXxhpwTLeQlotwpHiOrKMUmWkQ9WoNjAEZoYKacE5FXhI1ca99vEitDo27+YnDaQKS4lpMBPWgu3OW227q8uN+CwwDLgz2T8yodarcWQH8itdPyH4=; 20:oknquxXw83M5bvbuJSZpBIXDBYaufmuMeu69QJXu8d5v3FZURsdM+T/wn6fjjocCzw5ovSWb3LyK+3ZPF2hAPVHJ9/oORs2HLhtoebjJSdR3UN8w4jwUy7xphosQx6Lmh89HSENWGPZga9K9AilAGQNM0WpGY0E6GEIOKvlm2ZEmVoG0l+YgeyFvZpS/KzLDDRYwQTS+FU4uQAKOT8a0VolJUeNwn5hEbeRlzPb8pRE+q0IsMQVlTSSEqyDSvxgq NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415321)(6040176)(601004)(2401047)(13020025)(13013025)(8121501046)(5005006)(13024025)(13023025)(3002001)(10201501046)(6055026); SRVR:AM2PR08MB0273; BCL:0; PCL:0; RULEID:; SRVR:AM2PR08MB0273; X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0273; 4:KEvblv6O/qbWFoKRAHg1e/LFGP1QAiMOa/3bFtooxk0kov2x2v368H+1VjFI5nO3Zed1meXCYQRAHbU+PvnjklPfLHUuCW8sMI+Fj67aOr3BEheMtsFTpIwOASSSdxM/LLa3/Pm0ewTQ6YDLoKhp1KYsPioWIroHJ1UAiQFdoKRmkxlEKwEs+pY0FtSAICk3N+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jdeBxItFRe4c6e5vSvB3sxGumsgaiJ2EjkzWB1tDva/+QFDZohMNUxCUnjbsGXey55Rcrq54pEA2CJhly4F5XCSJaUn33Pb98KomzT3fqNbHlxQWJQOdr6cN53xYea2Bg==; 24:F7Cp9BVIvINOsB2IdOQCdKQWpWIdoT8KezEmeyotNd+ft8ISNWtxiQGpMDxNvp43GZh+qxt2vkQ2LtIQn1BuavdTFnSjUfADXrVyFFGsJH8=; 7:1im3WxVaTWA5MpYSJIsoWyfcmQ4oEmVAbEr97+JYOx6EW5zJ2HpoBlhabzOyTeK0mL/o+WUomBV42YPlM54LLo0utSO1hfSW/vB2dkhPTJosrVrgz890pgZ+7BiIFodAmtnz1+sJc2g0T4p6j62BLcyxNNoZ/xTD8wSOT4/rXLYU4Tp9fGZnREF7BOQN3dchqZl5AO8MgzgircQUBKOraeAYGBfrUv1bbTZpiUFnoPnYuo3+Za8HyUe731r2bk0DBmfztLPZtvcyv6zA78pWVZXDLPvqfHKhlG+Wobxp4BLrH0+UsfBVyxNGyDeAsQLP SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR08MB0273; 20:L7daGVg7HK3ERDOJ/NaWxny90sCtGkGzjGsZ3HVtY9mmWIwux8bXKxjDagd6InVSXb1GYI9I5Km3oSjuWxuwENJj8pKEvGple/b1c/sIj7Caak60WdFIzVflComSt562/POykRSr5vM+ZiOlnAqzGSY6SQ1JAv6qBRUO2i415eI= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2016 16:43:50.8385 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR08MB0273 X-MC-Unique: 96AW6ZfJN12iQ08gFk2Glg-1 X-IsSubscribed: yes Hi, I'm going to hookize TARGET_FLT_EVAL_METHOD, so the current definition of TARGET_FLT_EVAL_METHOD_NON_DEFAULT will stop working. I looked in to ways of redefining this macro, but each that I explored would require pulling in target.h in front-ends that don't otherwise need it. Rather than do that, I thought about the purpose of this macro, which is to permit a relaxation of the rule that -fexcess-precision=standard requires front-end specific code to work if the target had no definition of TARGET_FLT_EVAL_METHOD. That makes -fexcess-precision=standard with a language other than C not-portable, and in particular it won't work with any of the i386 backend targets. The relaxation isn't portable, and keeping it in place is tricky, so this patch removes it, and poisons TARGET_FLT_EVAL_METHOD_NON_DEFAULT in system.h to prevent future use. Bootstrapped and tested on x86_64 with --enable-languages=all,ada,go,obj-c++ with no issues. OK? Thanks, James --- gcc/ 2016-09-22 James Greenhalgh * defaults.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Remove. * system.h (TARGET_FLT_EVAL_METHOD_NON_DEFAULT): Poison. gcc/c-family/ 2016-09-22 James Greenhalgh * c-opts.c (c_common_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard in C++. gcc/java/ 2016-09-22 James Greenhalgh * lang.c (java_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. gcc/fortran/ 2016-09-22 James Greenhalgh * options.c (gfc_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. gcc/ada/ 2016-09-22 James Greenhalgh * gcc-interface/misc.c (gnat_post_options): Remove special case for TARGET_FLT_EVAL_METHOD_NON_DEFAULT with -fexcess-precision=standard. diff --git a/gcc/ada/gcc-interface/misc.c b/gcc/ada/gcc-interface/misc.c index b240bc5..236a083 100644 --- a/gcc/ada/gcc-interface/misc.c +++ b/gcc/ada/gcc-interface/misc.c @@ -255,8 +255,7 @@ static bool gnat_post_options (const char **pfilename ATTRIBUTE_UNUSED) { /* Excess precision other than "fast" requires front-end support. */ - if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD - && TARGET_FLT_EVAL_METHOD_NON_DEFAULT) + if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD) sorry ("-fexcess-precision=standard for Ada"); flag_excess_precision_cmdline = EXCESS_PRECISION_FAST; diff --git a/gcc/c-family/c-opts.c b/gcc/c-family/c-opts.c index e83944c..5fe3132 100644 --- a/gcc/c-family/c-opts.c +++ b/gcc/c-family/c-opts.c @@ -770,8 +770,7 @@ c_common_post_options (const char **pfilename) support. */ if (c_dialect_cxx ()) { - if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD - && TARGET_FLT_EVAL_METHOD_NON_DEFAULT) + if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD) sorry ("-fexcess-precision=standard for C++"); flag_excess_precision_cmdline = EXCESS_PRECISION_FAST; } diff --git a/gcc/defaults.h b/gcc/defaults.h index af8fe91..c62c844 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -963,11 +963,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define REG_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN #endif -#ifdef TARGET_FLT_EVAL_METHOD -#define TARGET_FLT_EVAL_METHOD_NON_DEFAULT 1 -#else +#ifndef TARGET_FLT_EVAL_METHOD #define TARGET_FLT_EVAL_METHOD 0 -#define TARGET_FLT_EVAL_METHOD_NON_DEFAULT 0 #endif #ifndef TARGET_DEC_EVAL_METHOD diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index 4aa8303..1b6984f 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -209,8 +209,7 @@ gfc_post_options (const char **pfilename) /* Excess precision other than "fast" requires front-end support. */ - if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD - && TARGET_FLT_EVAL_METHOD_NON_DEFAULT) + if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD) sorry ("-fexcess-precision=standard for Fortran"); flag_excess_precision_cmdline = EXCESS_PRECISION_FAST; diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 1c6dde4..65025ee 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -569,8 +569,7 @@ java_post_options (const char **pfilename) /* Excess precision other than "fast" requires front-end support. */ - if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD - && TARGET_FLT_EVAL_METHOD_NON_DEFAULT) + if (flag_excess_precision_cmdline == EXCESS_PRECISION_STANDARD) sorry ("-fexcess-precision=standard for Java"); flag_excess_precision_cmdline = EXCESS_PRECISION_FAST; diff --git a/gcc/system.h b/gcc/system.h index 8a17197..e8f4dd9 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -976,7 +976,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; EXTRA_ADDRESS_CONSTRAINT CONST_DOUBLE_OK_FOR_CONSTRAINT_P \ CALLER_SAVE_PROFITABLE LARGEST_EXPONENT_IS_NORMAL \ ROUND_TOWARDS_ZERO SF_SIZE DF_SIZE XF_SIZE TF_SIZE LIBGCC2_TF_CEXT \ - LIBGCC2_LONG_DOUBLE_TYPE_SIZE STRUCT_VALUE EH_FRAME_IN_DATA_SECTION + LIBGCC2_LONG_DOUBLE_TYPE_SIZE STRUCT_VALUE \ + EH_FRAME_IN_DATA_SECTION TARGET_FLT_EVAL_METHOD_NON_DEFAULT /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \