From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 83867385E45C; Tue, 16 Jul 2024 10:47:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83867385E45C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1721126835; bh=NGFR17puUq6V4ccx923qj9JK95eJuRQ/oN6wluhGCRs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tMQdIQ+VxvCDzQlCePkBlkLQ7mhS5dOaUQt4B4fP9XaZfRl2yo8ovOE7t1r8h1SdS 1MUmXVDs2E9aG3Obac3uFp+yUPruuslboxsn1Js7VJ109Fc5DJYaDDctMvllnzemBl HomQy2SaO+L2ZFOGW/Di2V1cIBiXXDkCFHvgXDgM= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/115951] [15 Regression] pgo+lto enabled bootstrap fails building gnat (ICE in fold_stmt, at gimple-range-fold.cc:701) Date: Tue, 16 Jul 2024 10:47:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: build, ice-on-valid-code, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 15.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: blocked target_milestone keywords cc 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=3D115951 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |85316 Target Milestone|--- |15.0 Keywords| |build, ice-on-valid-code, | |needs-reduction CC| |aldyh at gcc dot gnu.org, | |amacleod at redhat dot com --- Comment #1 from Richard Biener --- It might also fail on the GCC 14 branch when checking is enabled since this= is // We sometimes get compatible types copied from operands, make sure // the correct type is being returned. if (name && TREE_TYPE (name) !=3D r.type ())=20 { gcc_checking_assert (range_compatible_p (r.type (), TREE_TYPE (name))= ); Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85316 [Bug 85316] [meta-bug] VRP range propagation missed cases=