From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B57F13857B9B; Sun, 13 Nov 2022 21:32:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B57F13857B9B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668375129; bh=9/k1h3pk+eJ8szLroAyEidAn9+6+7uAbQV0vij4CghM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fl42mP8dY990nlwA7JT+GJ2b7p1eLqPp/AKSP/v9k3TvRK8KtRFC7NrAp2ZXhMI7S rIMcmOrwM0ROGxlMZ1/hTyyS6Jk3EJ4JZgJZQ0bfsl2QtMVECun6bIE8n+UuY9uysN Pps3cqMuswoORO/EhAVNUcJfqE77KfT3J7v+/X38= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107668] [13 Regression] ICE: in clear_nan, at value-range.h:1167 with -fsanitize=float-cast-overflow and _Complex int Date: Sun, 13 Nov 2022 21:32:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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=3D107668 --- Comment #2 from David Binderman --- Reduced C++ code seems to be: --- /home/dcb36/cvise/bug862.cc --- float dot(); float intersectcylinder_md; void intersectcylinder(float &dist) { float nd =3D dot(); dist =3D 0 / nd; float offset =3D intersectcylinder_md + dist; if (offset < 0) dist =3D nd; }=