From patchwork Sat Jun 30 20:48:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Edlinger X-Patchwork-Id: 937479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-480801-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hotmail.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="ssfFui0I"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41J5Gv5PdPz9ry1 for ; Sun, 1 Jul 2018 06:49:26 +1000 (AEST) 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:subject:date:message-id:content-type:mime-version; q=dns; s= default; b=k4T9c5Ai1G6Fzn2M2SfaXbD5hsNjRwmNzmwnzi7DtwfIylDLEiggg PGKJpHMFWNLweN1m9Dfm81NK9tuqQsFw4MSCMfMuSRHvuAGcZNboS0HAOoGifr0d d1DcIRCEtPmlSzZ+N5PeNTDWkR0wyqtpLJINbIVFtuH3B3n/SxTpEE= 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:subject:date:message-id:content-type:mime-version; s= default; bh=fumjREcK/vDANxiYz5wAAOmllUU=; b=ssfFui0IZujNO9GM7gv0 TV8Ui9sFsLzVr+Cc5DEI+EZz5rd7c8ysJlE7t4Rq7M5QceITeV3Ao+7bAoXIoNW4 Pl91lSGk2pVGxzZgMzJHhip+By1C6nJrvSuXk0AgPzBoyrxET4OGwdygMP72KZoI KAKsdnPfRiLPrLhBduIPGrk= Received: (qmail 29279 invoked by alias); 30 Jun 2018 20:49:08 -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 29063 invoked by uid 89); 30 Jun 2018 20:48:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=explains, warns, wabi, Wabi X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com Received: from mail-oln040092068068.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (40.92.68.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 30 Jun 2018 20:48:36 +0000 Received: from AM5EUR02FT026.eop-EUR02.prod.protection.outlook.com (10.152.8.57) by AM5EUR02HT226.eop-EUR02.prod.protection.outlook.com (10.152.9.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.906.15; Sat, 30 Jun 2018 20:48:33 +0000 Received: from AM5PR0701MB2657.eurprd07.prod.outlook.com (10.152.8.52) by AM5EUR02FT026.mail.protection.outlook.com (10.152.8.123) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.906.15 via Frontend Transport; Sat, 30 Jun 2018 20:48:33 +0000 Received: from AM5PR0701MB2657.eurprd07.prod.outlook.com ([fe80::106:1799:3361:8e9a]) by AM5PR0701MB2657.eurprd07.prod.outlook.com ([fe80::106:1799:3361:8e9a%2]) with mapi id 15.20.0930.016; Sat, 30 Jun 2018 20:48:33 +0000 From: Bernd Edlinger To: "gcc-patches@gcc.gnu.org" , "libstdc++@gcc.gnu.org" , Jonathan Wakely Subject: [PATCH] Remove -Wabi from libstdc++ build options Date: Sat, 30 Jun 2018 20:48:32 +0000 Message-ID: received-spf: None (protection.outlook.com: hotmail.de does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=bernd.edlinger@hotmail.de; MIME-Version: 1.0 Hi, the -Wabi option prints a warning as follows: cc1plus: warning: -Wabi won't warn about anything [-Wabi] cc1plus: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default cc1plus: note: use e.g. -Wabi=11 to warn about changes from GCC 7 This happens many times while building libstdc++, and as the warning explains, it is good for nothing, so this patch removes it. Bootstrapped and reg-tested on x86_64-pc-linux-gnu. Is it OK for trunk? Thanks Bernd. 2018-06-30 Bernd Edlinger * acinclude.m4 (WARN_FLAGS): Remove -Wabi. * configure: Regenerated. Index: libstdc++-v3/acinclude.m4 =================================================================== --- libstdc++-v3/acinclude.m4 (revision 262271) +++ libstdc++-v3/acinclude.m4 (working copy) @@ -733,7 +733,7 @@ # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc AC_SUBST(OPTIMIZE_CXXFLAGS) - WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi' + WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual' AC_SUBST(WARN_FLAGS) ]) Index: libstdc++-v3/configure =================================================================== --- libstdc++-v3/configure (revision 262271) +++ libstdc++-v3/configure (working copy) @@ -81846,7 +81846,7 @@ # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc - WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi' + WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'