From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3F003385800B; Wed, 6 Mar 2024 09:27:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3F003385800B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709717280; bh=5YpgZUImUsFvQ/OBf3DMH1Otg785XoYEkeRDrzSRdzQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YpWy2Hc4DYktqp1Kyj8es5ZYcNmuWrvXCKhfnd6AWzQgEalC26W/4ZSPBW2RPo7hY pMZmmsZ/D3IGIFrBp4TAlHPeMPydlyZA2HEB65k8dnhKGy6zqKPXtvSw1EJMvuMul9 +ifdQLxN3FPfDpMY9op8reKH1e+eRGze0gX5q1OA= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114249] [14 regression] ICE when building lvm2-2.03.22 (error: invalid types in nop conversion) Date: Wed, 06 Mar 2024 09:27:53 +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: 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: P3 X-Bugzilla-Assigned-To: rguenth 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=3D114249 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3a910114fdb2aa76495c4c748acf6b9c7fbecc89 commit r14-9331-g3a910114fdb2aa76495c4c748acf6b9c7fbecc89 Author: Richard Biener Date: Wed Mar 6 09:25:15 2024 +0100 tree-optimization/114249 - ICE with BB reduction vectorization When we scrap the last def of an odd lane numbered BB reduction we can end up recording a pattern def which will later wreck code generation. The following puts this logic where it better belongs, avoiding this issue. PR tree-optimization/114249 * tree-vect-slp.cc (vect_build_slp_instance): Move making a BB reduction lane number even ... (vect_slp_check_for_roots): ... here to avoid leaking pattern defs. * gcc.dg/vect/bb-slp-pr114249.c: New testcase.=