From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C27BB385AC33; Mon, 4 Mar 2024 10:16:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C27BB385AC33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709547360; bh=mg/RM1JTk0FX7tY5y4h4fPLuu4/irJC12QEBcC6lbsQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hYMexFVdarp5MyeKxamcP2ASq0Im10MaQXBjs47KiOw6iGNRgNTCHjdUmIHQW7Euz fMlPG+x8QZi2s/hf3iTLeAB36BnzaZs6IsxQSeB+KyJD0b6dKUgkoLMiZBLeFxUKy/ B5bhsXsF3p2n3xb9qvJ6rS7bqc0SoK41AuacsdDo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/114209] ICE: verify_gimple failed: incorrect sharing of tree nodes at -O and above Date: Mon, 04 Mar 2024 10:15:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.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: NEW 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=3D114209 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c27148f2f40654a638bcf429633be1c0561529d5 commit r14-9291-gc27148f2f40654a638bcf429633be1c0561529d5 Author: Jakub Jelinek Date: Mon Mar 4 11:15:07 2024 +0100 bitint: Fix tree node sharing bug [PR114209] We ICE on the following testcase due to invalid tree sharing. The second hunk fixes that, the first one is from me looking around at other spots which might need end up with invalid tree sharing too. 2024-03-04 Jakub Jelinek PR middle-end/114209 * gimple-lower-bitint.cc (bitint_large_huge::limb_access): Call unshare_expr when creating a MEM_REF from MEM_REF. (bitint_large_huge::lower_stmt): Call unshare_expr. * gcc.dg/bitint-97.c: New test.=