From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86788 invoked by alias); 1 Mar 2018 18:54:42 -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 86764 invoked by uid 89); 1 Mar 2018 18:54:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail3-relais-sop.national.inria.fr Received: from mail3-relais-sop.national.inria.fr (HELO mail3-relais-sop.national.inria.fr) (192.134.164.104) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Mar 2018 18:54:39 +0000 Received: from ip-133.net-89-2-166.rev.numericable.fr (HELO stedding) ([89.2.166.133]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Mar 2018 19:54:37 +0100 Date: Thu, 01 Mar 2018 18:54:00 -0000 From: Marc Glisse Reply-To: libstdc++@gcc.gnu.org To: Tulio Magno Quites Machado Filho cc: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org, wschmidt@linux.vnet.ibm.com, segher@kernel.crashing.org Subject: Re: [PATCH] PR libstdc++/84654 Do not use __float128 if it is disabled by the compiler In-Reply-To: <20180301184719.16691-1-tuliom@linux.vnet.ibm.com> Message-ID: References: <20180301184719.16691-1-tuliom@linux.vnet.ibm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-SW-Source: 2018-03/txt/msg00044.txt.bz2 On Thu, 1 Mar 2018, Tulio Magno Quites Machado Filho wrote: > In order to use the __float128 in C++ it's necessary to check if > it is supported in libstdc++ (i.e. via _GLIBCXX_USE_FLOAT128) and if the > compiler enabled its support too, e.g. -mfloat128 or -mno-float128. Shouldn't we ensure that _GLIBCXX_USE_FLOAT128 is undefined instead? By the way, __FLOAT128__ is power-only. x86 has __SIZEOF_FLOAT128__ instead (why did power pick a different name?). -- Marc Glisse