From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D2733858CDA; Tue, 10 Jan 2023 12:08:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D2733858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673352528; bh=47NUZ3GgSICgKk0ZabiXz3plFQMjqOc5IElIaAtsy8E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wG0gzzOy3rp1+xRME4TyX0y59lmEsW+4IR8lzN27RuTvbt1lfXvYF3Xvj9Mi5Rxw9 6cV2baTDlmYDzseBOTsngG0up1pzXwRC+cT0CzC8xxKL7+J3j3JjV2vhHGyXkF59q5 CMAQZcCyP2Z/T865SAo60YXccUet0kKYBA3PhIH8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108314] [13 Regression] Segfault in gimple-match-head.cc:do_valueize when vectorizing for SVE since r13-707-g68e0063397ba82 Date: Tue, 10 Jan 2023 12:08:48 +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.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108314 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:554bb9b61e2b76d4ace16a3f766b98ea887b17f4 commit r13-5089-g554bb9b61e2b76d4ace16a3f766b98ea887b17f4 Author: Richard Biener Date: Tue Jan 10 10:42:21 2023 +0100 tree-optimization/108314 - avoid BIT_NOT optimization for extract-last The extract-last reduction internal function expects the then and else clause as vector and scalar and thus we cannot perform optimization of the inversion of the condition by swapping the then/else clauses. PR tree-optimization/108314 * tree-vect-stmts.cc (vectorizable_condition): Do not perform BIT_NOT_EXPR optimization for EXTRACT_LAST_REDUCTION. * gcc.dg/vect/pr108314.c: New testcase.=