From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from black.elm.relay.mailchannels.net (black.elm.relay.mailchannels.net [23.83.212.19]) by sourceware.org (Postfix) with ESMTPS id 2D9C63893658 for ; Wed, 29 Apr 2020 21:21:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2D9C63893658 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ascii.art.br Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tuliom@ascii.art.br X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C9E45181DE1; Wed, 29 Apr 2020 21:21:22 +0000 (UTC) Received: from pdx1-sub0-mail-a32.g.dreamhost.com (100-96-6-14.trex.outbound.svc.cluster.local [100.96.6.14]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5ACDC18212F; Wed, 29 Apr 2020 21:21:21 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from pdx1-sub0-mail-a32.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.6); Wed, 29 Apr 2020 21:21:22 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|tuliom@ascii.art.br X-MailChannels-Auth-Id: dreamhost X-White-Abiding: 27f040644c6ece12_1588195281852_3626875897 X-MC-Loop-Signature: 1588195281852:743979470 X-MC-Ingress-Time: 1588195281851 Received: from pdx1-sub0-mail-a32.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTP id D9B627FEC6; Wed, 29 Apr 2020 14:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ascii.art.br; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=ascii.art.br; bh=NZwE UxeBpQ6TMwzEx1tSELM4TLo=; b=iPS4+EaD+J9ViBK5/L5LTYep5cQGkU0POy1j I2Z3qTpiBCQa+mtEbLwp9LR6aM51iSQVlCBZjYweMk+J7AYy9VGMFt6rpnrixUaf 492bFfWMmNb/EqM0Edf59+Il35XHHfCLeIJylF6ORJap6AUKv+dt0JQ3DRIHSJfh VitEemM= Received: from ascii.art.br (ip-187-73-0-195.isp.valenet.com.br [187.73.0.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuliom@ascii.art.br) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTPSA id B4A8C7FEC4; Wed, 29 Apr 2020 14:21:19 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a32 From: Tulio Magno Quites Machado Filho To: "Paul E. Murphy" , libc-alpha@sourceware.org Subject: Re: [PATCHv3 1/6] ldbl-128ibm-compat: workaround GCC 9 C++ PR90731 In-Reply-To: <0c4ba80b4578a966d92690600cd097f6a7fe2284.1587675931.git.murphyp@linux.vnet.ibm.com> References: <0c4ba80b4578a966d92690600cd097f6a7fe2284.1587675931.git.murphyp@linux.vnet.ibm.com> User-Agent: Notmuch/0.29.1 (http://notmuchmail.org) Emacs/26.3 (x86_64-redhat-linux-gnu) Date: Wed, 29 Apr 2020 18:21:15 -0300 Message-ID: <87blna0z04.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrieefgdduheekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhepvfhulhhiohcuofgrghhnohcusfhuihhtvghsucforggthhgrughoucfhihhlhhhouceothhulhhiohhmsegrshgtihhirdgrrhhtrdgsrheqnecuggftrfgrthhtvghrnhepheegkeejieegvdeiffeltddtffduveetveeigffhveeuheeiveelgefgteehvdefnecukfhppedukeejrdejfedrtddrudelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegrshgtihhirdgrrhhtrdgsrhdpihhnvghtpedukeejrdejfedrtddrudelhedprhgvthhurhhnqdhprghthhepvfhulhhiohcuofgrghhnohcusfhuihhtvghsucforggthhgrughoucfhihhlhhhouceothhulhhiohhmsegrshgtihhirdgrrhhtrdgsrheqpdhmrghilhhfrhhomhepthhulhhiohhmsegrshgtihhirdgrrhhtrdgsrhdpnhhrtghpthhtoheplhhisggtqdgrlhhphhgrsehsohhurhgtvgifrghrvgdrohhrgh X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 21:21:27 -0000 "Paul E. Murphy via Libc-alpha" writes: > GCC 9 has a bug (PR90731) whereby __typeof does not correctly copy > exception specifiers[1]. Surprisingly, this can be quieted by declaring > "#pragma system_header", or if the headers are installed in a system > directory. > > Work around this by using the pragma for any gcc version between > 9.0 and 9.2 to ensure tests continue to compile. > > [1] Example error from g++ 9.2.1: > > In file included from ../include/sys/cdefs.h:3, > from ../include/features.h:465, > from ../bits/libc-header-start.h:33, > from ../math/math.h:27, > from ../include/math.h:7, > from test-math-isinff.cc:21: > ../libio/bits/stdio-ldbl.h:25:20: error: declaration of =E2=80=98int spri= ntf(char*, const char*, ...)=E2=80=99 has a different exception specifier > 25 | __LDBL_REDIR_DECL (sprintf) > | ^~~~~~~ > ../misc/sys/cdefs.h:461:26: note: in definition of macro =E2=80=98__LDBL_= REDIR_DECL=E2=80=99 > 461 | extern __typeof (name) name __asm (__ASMNAME ("__" #name "ieee1= 28")); > | ^~~~ > In file included from ../include/stdio.h:5, > from test-math-isinff.cc:22: > ../libio/stdio.h:334:12: note: from previous declaration =E2=80=98int spr= intf(char*, const char*, ...) throw ()=E2=80=99 > 334 | extern int sprintf (char *__restrict __s, > | ^~~~~~~ Reviewed-by: Tulio Magno Quites Machado Filho --=20 Tulio Magno