From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E0213857711; Mon, 20 Nov 2023 09:23:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E0213857711 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700472237; bh=NXuaK4WTp6jyz15Kk7ZqkuL3vhneki+cJdWM/ckaUWQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wkpGZlD0SjQHgRJRyAFkKi1PcINx5wlYZQ25zYJj2PfaL0eX5BDzB2uUZGMtuo/WY i2YNxUWjQjcf1u+FmcwnaulJRV3yMSNU0CEOww4NXEMTj1PPyYwUexixGSirt/v/JF 67r5qRijgLqKsE8mFfttFFxAAWT4NOZM/5jPnwhU= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with on internal compiler error: in expand_insn, at optabs.cc:8305 after g:01c18f58d37865d5f3bbe93e666183b54ec608c7 Date: Mon, 20 Nov 2023 09:23:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end 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: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 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=3D112406 --- Comment #13 from CVS Commits --- The master branch has been updated by Robin Dapp : https://gcc.gnu.org/g:f25a5b199a0ebd4695466e665e49041339f0c6a7 commit r14-5614-gf25a5b199a0ebd4695466e665e49041339f0c6a7 Author: Robin Dapp Date: Fri Nov 17 10:34:35 2023 +0100 vect: Add bool pattern handling for COND_OPs. In order to handle masks properly for conditional operations this patch teaches vect_recog_mask_conversion_pattern to also handle conditional operations. Now we convert e.g. _mask =3D *_6; _ifc123 =3D COND_OP (_mask, ...); into _mask =3D *_6; patt200 =3D () _mask; patt201 =3D COND_OP (patt200, ...); This way the mask will be properly recognized as boolean mask and the correct vector mask will be generated. gcc/ChangeLog: PR middle-end/112406 * tree-vect-patterns.cc (vect_recog_mask_conversion_pattern): Convert masks for conditional operations as well. gcc/testsuite/ChangeLog: * gfortran.dg/pr112406.f90: New test.=