From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 477EC3858D33; Sat, 20 Apr 2024 00:38:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 477EC3858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713573511; bh=6xdLAi9xtvlzv5lC+AUYpdjhyhA1/8QSWBPignjzxoQ=; h=From:To:Subject:Date:From; b=KibZ6QfY94VxTC/fkX6z5tpMGf3dlOQNsMlVNeQ0j9QhCSwgsRKq2FV8zhIxpOo3E 0WLZt9yPJTbrtIxJyIn8FBogrChR8NPMY5nWtlqqkd3EPal9N12uknekknXvrm5f19 LY0kvf6XlK+ZiuCgrbaGuqfVKi3hJ/mSGLj1g2mY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114785] New: special handling of COND_EXPR in gimple_extract can be removed Date: Sat, 20 Apr 2024 00:38:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D114785 Bug ID: 114785 Summary: special handling of COND_EXPR in gimple_extract can be removed Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- After r13-707-g68e0063397ba82, COND_EXPR for gimple assign no longer could contain a comparison but the code in gimple_extract was not updated so the = code there is dead and no longer could happen. Found while improving factor_out_conditional_operation in phi-opt to use gimple_match_op to allow for calls and simplify some of the code there hand= ling VIEW_CONVERT_EXPR.=