From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0CCA43858D35; Tue, 7 Feb 2023 09:35:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CCA43858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675762521; bh=67itHUeGfXNyZ8wnVarsXxf2ve5nJSBh2eGdo456Sak=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tzWOQ2XxwoSCgl1MDctFszaH1S6goqjeSBtu5O+Wz4EDYU7xxZovjOe4BFKxwUP4C VhIDLDW3R2p8ZPyTMubw7CwBsqLRQV6HzbENMAh+ua/iWa1/Dyig724PPxXGy3Wj1r DU3CW4onggBEa50zKnXDhJgszB4CAmPjZ9f+4Tqg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106923] [13 Regression] ICE in eliminate_unnecessary_stmts, at tree-ssa-dce.cc:1512 since r13-2518-ga262f969d6fd936f Date: Tue, 07 Feb 2023 09:35:19 +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: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: hubicka 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=3D106923 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5321d53279a60ee589a3c9779beb46503f9fc49f commit r13-5728-g5321d53279a60ee589a3c9779beb46503f9fc49f Author: Jakub Jelinek Date: Tue Feb 7 10:34:45 2023 +0100 ipa-split: Don't split returns_twice functions [PR106923] As discussed in the PR, returns_twice functions are rare/special beasts that need special treatment in the cfg, and inside of their bodies we don't know which part actually works the weird returns twice way (either in the fork/vfork sense, or in the setjmp) and aren't updating ab edges to reflect that. I think easiest is just to never split these, like we already never split noreturn or malloc functions. 2023-02-07 Jakub Jelinek PR tree-optimization/106923 * ipa-split.cc (execute_split_functions): Don't split returns_t= wice functions. * gcc.dg/pr106923.c: New test.=