From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) by sourceware.org (Postfix) with ESMTPS id DCB4D395B458 for ; Mon, 3 Jun 2024 08:51:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DCB4D395B458 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=libertysurf.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=libertysurf.fr ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DCB4D395B458 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a01:e0c:1:1599::11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717404721; cv=none; b=NNLkHdjv7MXpnVz8ckifkZnnLlZJqP4tNGldZoPnI2e54xF3kCj9mTxkrhb6L6b3ZmHC8WthThkPwCa5au6L0YKpMxarMDp02FMw4NuQe/ApIDC+b9SsXnibLAqPxHsLaBrJgp2n6Za4aiVu5913DoP11/zGaLsNlKYpJ2fABiY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717404721; c=relaxed/simple; bh=Ckq2KbY4eYv3a9qMq8n7NOnqxSzGWQANUJVR5jrGs5c=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=CKHNLfmfJZOxIKN1onQjjo+Y9VnlkNjSLQQ5XvxNyhew1MW7gmB/TCWMSbUjNWoag/pTCQ+9QKXfUgNrkDGQnLPI99/BGJXkQihJ8mZuUBdZ8tqh4T0LJe9gyi4HvTxhW5dZdiIznc5nVOBNRVzrHH0LRX+uZiGb7L7pynbaMmQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fomalhaut.localnet (unknown [IPv6:2a01:e0a:8d5:d990:e654:e8ff:fe8f:2ce6]) by smtp2-g21.free.fr (Postfix) with ESMTPS id 2E2042003E8; Mon, 3 Jun 2024 10:51:48 +0200 (CEST) From: Eric Botcazou To: Kewen Lin Cc: gcc-patches@gcc.gnu.org, linkw@linux.ibm.com, charlet@adacore.com, poulhies@adacore.com, derodat@adacore.com Subject: Re: [PATCH 01/52] ada: Replace use of LONG_DOUBLE_TYPE_SIZE Date: Mon, 03 Jun 2024 10:51:48 +0200 Message-ID: <5785811.DvuYhMxLoT@fomalhaut> In-Reply-To: <606eb033c5ae22af5eb2ca4e01658804b6398c6e.1717134752.git.linkw@linux.ibm.com> References: <606eb033c5ae22af5eb2ca4e01658804b6398c6e.1717134752.git.linkw@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SHORT,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Joseph pointed out "floating types should have their mode, > not a poorly defined precision value" in the discussion[1], > as he and Richi suggested, the existing macros > {FLOAT,{,LONG_}DOUBLE}_TYPE_SIZE will be replaced with a > hook mode_for_floating_type. To be prepared for that, this > patch is to replace use of LONG_DOUBLE_TYPE_SIZE in ada > with TYPE_PRECISION of long_double_type_node. > > [1] https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651209.html > > gcc/ada/ChangeLog: > > * gcc-interface/decl.cc (gnat_to_gnu_entity): Use TYPE_PRECISION of > long_double_type_node to replace LONG_DOUBLE_TYPE_SIZE. OK, thanks. -- Eric Botcazou