From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DDDD63858D28; Fri, 15 Mar 2024 05:01:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DDDD63858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710478916; bh=DGDlYtAlIQEpzHNik3zonjgQ7uFmdGeIxRSi5tp4eAo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=P+O85JYFPaoFczpqu5N21F7o1UtTnbwR3J9F3rY41MEId1UaBy4S/nVqvX83inFip QT4WEGRfI1SZevm45uXBClR7m2LUfZ7Ru0y/WZoDAe4Gh2FSUC1nG+d1fzNHnb8QMV 4TpZaKvA1QThq9ivUohAgkfpV/TFe9Cb34MTaI7E= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114347] wrong constant folding when casting __bf16 to int Date: Fri, 15 Mar 2024 05:01:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D114347 --- Comment #1 from Andrew Pinski --- Hmm, I am not so sure that 257.0bf16 gets rounded to 256.=