From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C29E13858407; Fri, 21 Oct 2022 06:28:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C29E13858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666333722; bh=JLjuVgrqmqMqlzq8njDuaZGAul4S1mmwgh95oy4aERg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yivc3BaEg5JoUJkfI4q9evEgbkBvgV94jVVvNr3akczwn3pGVks7hCOveCGu/ah5a 7jp2qev7Uijsnx5RL2f24fLBaVd1phc3Sx5ap/uUI4DAVCsbve1ChsogcfpQx5aOwz 0V09RuzS4TBzk1T6WbLdjLojbr/9w3uAGukgTbOQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/107196] [13 Regression] llvm-14.0.6 is miscompiles by gcc-13 in -O3: hangs llvm testsuite (inliner seems to break it) Date: Fri, 21 Oct 2022 06:28:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE 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: bug_status resolution 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=3D107196 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #9 from Andrew Pinski --- (In reply to Sergei Trofimovich from comment #8) > I confirm that today's master does not exhibit the failure. Bisecting to = the > fix ends up at this fix: >=20 > commit c9b840db504d15db01f06fe1fec38282dbafee07 > Author: Aldy Hernandez > Date: Mon Oct 17 18:56:24 2022 +0200 >=20 > Make sure exported range for SSA post-dominates the DEF in > set_global_ranges_from_unreachable_edges. >=20 > The problem here is that we're exporting a range for an SSA range that > happens on the other side of a __builtin_unreachable, but the SSA does > not post-dominate the definition point. This is causing ivcanon to > unroll things incorrectly. >=20 > This was a snafu when converting the code from evrp. >=20 > PR tree-optimization/107293 >=20 > Looks plausible? Yes because that patch fixes the problem from the patch which you had originally bisect the issue down to. So just closing as a dup of bug 107293. *** This bug has been marked as a duplicate of bug 107293 ***=