From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E3E433851ABF; Fri, 18 Aug 2023 08:24:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3E433851ABF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692347060; bh=rCYjamYJ8iVI2tTqXoqe0f2RIk79FWqLbiZk46rqAHs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iTxpEo/csmMOzWlAcMPxja5iuKv/305nd3f9z/ildGitHcmPI91noRVjSK276C3sa +HXJWN8ODaWx9CrDK1BT8kkPxXdYvUOqZLQ9Aa/N6gh6Ttq0C0o1FdY72LNNGhMqam 8LjdLhbCDNPAHNbdHyPARx90CniJcGuXsNqGJOCQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111048] [14 Regression] Wrong AVX2 code on highway-1.0.6 on -O2 and above Date: Fri, 18 Aug 2023 08:24:20 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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: 14.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=3D111048 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f5f47cc1ce75b00427756939a2dab94d3d125f6a commit r14-3319-gf5f47cc1ce75b00427756939a2dab94d3d125f6a Author: Richard Biener Date: Fri Aug 18 09:41:56 2023 +0200 tree-optimization/111048 - avoid flawed logic in fold_vec_perm The following avoids running into somehow flawed logic in fold_vec_perm for non-VLA vectors. PR tree-optimization/111048 * fold-const.cc (fold_vec_perm_cst): Check for non-VLA vectors first. * gcc.dg/torture/pr111048.c: New testcase.=