From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 54BC33858437; Wed, 5 Oct 2022 17:29:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54BC33858437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664990989; bh=sWRAlq8Y43phiNoysV2T66FYUyrR0+NbDdtCeRcq+mI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bfmhq77MZCYNtRuzCtlPMdDbLL2ne1wpKO1N0JtZUfycfqNBvO6DqpCUROTG2orHK Ec7Qmj8NJS14FiJCAVaDW/UHW1Y8TA6s5Fl18xCx+mz1HQyGxh6kzQa1yjz/vhFMBU uKv7/XJrsZu8AVwj/d8z4UKYv8L92mdQQZ/4ABMA= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107097] Implement floating point excess precision in C++ Date: Wed, 05 Oct 2022 17:29:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107097 --- Comment #6 from Jakub Jelinek --- Perhaps try to look up the implicit conversion using the semantic type (i.e. with EXCESS_PRECISION_EXPR not stripped) and then if it is a standard conversion (which exact?) from EXCESS_PRECISION to arithmetic/enumeral type= or so, strip away the excess precision and actually convert from the excess precision?=