From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7DFB23858C00; Sat, 17 Jun 2023 07:44:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7DFB23858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686987869; bh=5hXgphd+dGYQ1503nMwjd/aDbRaqeWD8PdQZc2EDUzI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GcQ+ik+t+U5cTCR8jQTafX5S4gO3ruFR0I8BoI0sv5mSsbs8O/YuT/VuIxBsOdr5P QJLiT9PEbuXbmSsDwf54qIfNVCrdzzz22NaSdaYiMJeTmmPdb5dLL+TLFyoMzqlfU6 yu68z30REFv059prWVkx9V9ivMpj5n3b58WGdckU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110280] internal compiler error: in const_unop, at fold-const.cc:1884 Date: Sat, 17 Jun 2023 07:44:29 +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.1.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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.2 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=3D110280 --- Comment #8 from Andrew Pinski --- In the original case FRE is trying to do the same thing as the reduced testcase: ``` Successfully combined 4 partial definitions Setting value number of _39 to { 0, 0, 0, 0 } (changed) Value numbering stmt =3D _40 =3D VEC_PERM_EXPR <_39, _39, { 0, 1, 2, 3, ...= }>; Match-and-simplified VEC_PERM_EXPR <_39, _39, { 0, 1, 2, 3, ... }> to { 0, = 0, 0, 0 } RHS VEC_PERM_EXPR <_39, _39, { 0, 1, 2, 3, ... }> simplified to { 0, 0, 0, = 0 } Setting value number of _40 to { 0, 0, 0, 0 } (changed) Value numbering stmt =3D lanes =3D{v} {CLOBBER(eol)}; Setting value number of .MEM_54 to .MEM_54 (changed) Value numbering stmt =3D _41 =3D [vec_unpack_lo_expr] _40; ```=