From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B30C3858D37; Wed, 28 Jun 2023 17:51:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B30C3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687974662; bh=apA7Mp8BpGNyUF6YihELc12hr70MthpmLbtVqhidCBk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HQshyzKZUd7Xwas09PupiiV6Yi1vFQcL5gooO2d+rsz9rJ1Q6eVynvxgYdu53MEtC aRZRHfSx+lvtLXflrnhoyvbvrAay0CMtV1JJlpngJ1lRd1J45uamTwPFkAXobJfDkW xZHONFQaRpRfY3PVCErnPC2t23vbXLlWZGNCj9zg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking Date: Wed, 28 Jun 2023 17:51:02 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D110461 --- Comment #5 from Andrew Pinski --- Here is a better testcase which fails even at -O1 and does not depend on the vectorizer: ``` typedef int v4si __attribute__ ((vector_size (4*sizeof(int)))); typedef short v4hi __attribute__ ((vector_size (4*sizeof(short)))); v4hi f(v4hi a, v4hi b) { auto t =3D __builtin_convertvector (a, v4si); auto t1 =3D __builtin_convertvector (b, v4si); t ^=3D t1; return __builtin_convertvector (t, v4hi); } ```=