From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80B943858287; Tue, 28 Nov 2023 17:33:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80B943858287 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701192799; bh=2Wmg2f6m8XpIJpAmGlE3qINb/RDcMRP+lDS66FNcA9k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bkuKdQADVPsGZdRS4dSPsJwuSCeByEr0Oncm01b0IXFXUtsZPSakiZfH5mWbeYhMi xl5dvwS2XOUM756qYwKX6i63BNiC9KvuvH0UCnxu97qkN9aJ0TgOKuyBxQL1+bYiv1 nZ6ng7/e0JYkTizg7Nn8CnERXbn96kJ9Gke3Mr0M= From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112560] [14 Regression] ICE in try_combine on pr112494.c Date: Tue, 28 Nov 2023 17:33:18 +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-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status attachments.created 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=3D112560 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail do= t com Status|NEW |ASSIGNED --- Comment #3 from Uro=C5=A1 Bizjak --- Created attachment 56705 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56705&action=3Dedit Proposed patch The code assumes that cc_use_loc represents a comparison operator. Skip the modification of CC-using operation if this is not the case.=