From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3BEDB384402E; Thu, 9 Jul 2020 12:43:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3BEDB384402E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594298629; bh=T9GIetzzCL1O4cuYLV6joPj++qIEmt0xAYd1L2JWL3Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hQgl1cuTVImfdSS4B89jJlk0DO7FWKAjFmYaEEhFPCTwRVdSNJKMxv/4pGaS1Miyo UH1OqgFaBXDBt3IWoH1ZgXXdogVkWJS/LQse1fa64LXJu5/5N3zn70UW4vyaJ2CgqH H7EyG1OpUHTyzmDUxmSkY98whp7HS2/JVtFuFgwg= From: "rguenther at suse dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96128] [11 Regression] ICE in do_store_flag, at expr.c:12247 since r11-1445-g502d63b6d6141597bb18fd23c87736a1b384cf8f Date: Thu, 09 Jul 2020 12:43:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenther at suse dot de 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: 11.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2020 12:43:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96128 --- Comment #3 from rguenther at suse dot de --- On Thu, 9 Jul 2020, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96128 >=20 > --- Comment #2 from Martin Li=C5=A1ka --- > (In reply to Richard Biener from comment #1) > > Just trace make_ssa_name ... >=20 > So this one is leftover from gimplify.c where we expand the first argumen= t to > assignment to a SSA NAME and so we end up only with the vector comparison= s, but > no VEC_COND_EXPR. > Would it be possible to remove the SSA_NAME in gimplify.c when we know the > VEC_COND_EXPR is expanded to no-op? Somehow switch gimplifying of the operand and evaluating "expanded to=20 no-op", other than that, no - the gimplifier doesn't perform DCE.=