From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3D487385C6EB; Mon, 21 Aug 2023 09:48:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D487385C6EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692611296; bh=+9FDUZmi3zq0dmSJeE+g+Cwvf/EyLmgwMgr3VThMNew=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wUgTV1U7Vy6K01LwgecOqwz32PJ7YcSvNlMWIkl4Gdgp0njB7boO4Ibx5j8xOw9Af o8T4WWgloysQfgPMcno62FttdVM9fkJm/9U1mBzbiexGhQ78dH2e+t/eyoteMXFD6T zFLsqthcIvt4FQHf6hFoHXfzT4B9hTP6aZ/tJZgc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111082] [14 Regression] ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related) Date: Mon, 21 Aug 2023 09:48:15 +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: 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=3D111082 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e10cb804e658dbd1e9d58f528f3985362e4e72e7 commit r14-3354-ge10cb804e658dbd1e9d58f528f3985362e4e72e7 Author: Richard Biener Date: Mon Aug 21 11:07:18 2023 +0200 tree-optimization/111082 - bogus promoted min vectorize_slp_instance_root_stmt promotes operations with undefined overflow to unsigned arithmetic but fails to consider operations that do not overflow like MIN which it turned into MIN with wrong signedness and in the case of the PR an unsupported operation. The following rectifies this. PR tree-optimization/111082 * tree-vect-slp.cc (vectorize_slp_instance_root_stmt): Only pun operations that can overflow. * gcc.dg/pr111082.c: New testcase.=