From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1F9AF3857421; Tue, 25 Oct 2022 20:47:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F9AF3857421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666730851; bh=TrAmIwlW57zgQl7/CSBQdfbUym319Xx2iMoEZzNaS9g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SjUfJbirRYa/auNlHnxWUcNhGILK/HAtC59dPcTRfP6ZTPIE4AqPWhPVTIWwR6Z+1 kTOO0bXnPnVpIXs+je10PWnWdGaqPHOC4AZtn3LEegwz31X8S1zTjgnnPT22w5xsr7 eU7IAWsMTtHyZnHEN5AAKfe+P4v3uOPVlrB2oDm0= From: "aldyh at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107394] [13 Regression] ICE in verify_range, at value-range.cc:716 since r13-3411-gf4fda3eec408e1eb Date: Tue, 25 Oct 2022 20:47:30 +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: aldyh 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: 13.0 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=3D107394 --- Comment #2 from Aldy Hernandez --- This is interesting.=20=20 quux() was analyzed and a global range was set that included the possibilit= y of +NAN, but when it was inlined into bar(), the assert making sure no NANs cr= ept in for -ffinite-math-only failed. So the inlined function had a NAN, but the function where it was being inli= ned into has -ffinite-math-only.=