From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D10513858D3C; Thu, 29 Jun 2023 04:03:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D10513858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688011384; bh=qriCk+WziBvRwzqc+GLuLli6usoJQrmcWFAAGbqt1Jo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Iw/Yzo8crYbD09OO1/8dW0w2/Yecm9x4dbYSAtm6L2+4eZgnIxBYPcPQQDc7Z2J4i 2bWJOmWZSaDq7hO0Hkjp0jEx7jnlQEl3/M++JaYkPOXjPPdbygqsbsTO1SgTn6YJNj pYXxkcchpDK1/wQURkZaBjR6X8vDp/QO4SUyoQCE= 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: Thu, 29 Jun 2023 04:03:03 +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 #10 from Andrew Pinski --- I audited match.pd and only one other sticks out but I can't get get it to happen. The other one should have happened with: ``` typedef int v4si __attribute__ ((vector_size (4*sizeof(int)))); typedef short v4hi __attribute__ ((vector_size (4*sizeof(short)))); v4si f(v4si a, v4si b) { v4hi t =3D __builtin_convertvector (a, v4hi); v4si t1 =3D __builtin_convertvector (t, v4si); return t1; } ``` But VEC_CONVERT gets lowered to something interesting (which I will put in a different bug report).=