From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8AEC03858D34; Wed, 17 Jul 2024 07:30:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AEC03858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1721201420; bh=uqIRpDroWuzR7NZrSCl5wBulvpKOl8yIKmIHio3YsyA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=auTtPridBK8R71l3/ww1NW5rwSTD5BFOjIc+BHSJxNJIdkvvWI/ScR8lau/mEOvie FB94PPflb3HvsbtKVVc//A37W5f4leBLcx/i8vyESrmbD1ixNixFqewW59e8nfYoWr wEEF424vsxZNyyn9bdioGI2FC4XYlmTcVAf3uTYk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115868] [14 Regression] ICE: in exact_div, at poly-int.h:2156 Date: Wed, 17 Jul 2024 07:30:19 +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.1.1 X-Bugzilla-Keywords: ice-on-valid-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: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.2 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=3D115868 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c58bede01c06c84f0b36881fafd1e5d6456a38f4 commit r14-10443-gc58bede01c06c84f0b36881fafd1e5d6456a38f4 Author: Richard Biener Date: Thu Jul 11 09:56:56 2024 +0200 tree-optimization/115868 - ICE with .MASK_CALL in simdclone The following adjusts mask recording which didn't take into account that we can merge call arguments from two vectors like _50 =3D {vect_d_1.253_41, vect_d_1.254_43}; _51 =3D VIEW_CONVERT_EXPR(mask__19.257_49); _52 =3D (unsigned int) _51; _53 =3D _Z3bazd.simdclone.7 (_50, _52); _54 =3D BIT_FIELD_REF <_53, 256, 0>; _55 =3D BIT_FIELD_REF <_53, 256, 256>; The testcase g++.dg/vect/pr68762-2.cc exercises this on x86_64 with partial vector usage enabled and AVX512 support. PR tree-optimization/115868 * tree-vect-stmts.cc (vectorizable_simd_clone_call): Correctly compute the number of mask copies required for vect_record_loop_mask. (cherry picked from commit abf3964711f05b6858d9775c3595ec2b45483e14)=