From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3EC263858D29; Mon, 10 Jun 2024 08:03:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EC263858D29 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718006595; bh=NsRZkKLhtIExfuK357nClqSfY3n6ZULy9i6oCK4cuOU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ertI0DM9+WYUAYxaLtxRkZUBM6z8PwfL6BEshEwvH0idPj1aoI97PkxJ+33Obp+ON fvzB3xsXwEgl7qB5XfRRvxEaXECDsC4JdNHOLV1Vj4MRjIZf0VQolLIeuh7pQXj/6R CbOCBHr1IqfueJrg1aC51T7+AbaMRtKf3r5KAVO4= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115395] [15 regression] libarchive miscompiled with -O2 -march=znver2 -fno-vect-cost-model since r15-1006-gd93353e6423eca Date: Mon, 10 Jun 2024 08:03:14 +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: 15.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.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=3D115395 --- Comment #6 from Richard Biener --- In fact, the main loop ends up not using SLP but the epilogue one does and we end up setting STMT_VINFO_REDUC_EPILOGUE_ADJUSTMENT which we do not support for SLP. The question is whether to add that support or simply fail (but this is code generation). It's probably easiest to transitionally implement support and rip it out again later.=