From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 768A6385841B; Sat, 10 Jun 2023 18:40:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 768A6385841B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686422450; bh=7YaAczOexRIBeNFL1ydrLodrmUTFUZQ5f3fTSwCy4bA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=L6mYIC8y0zQ7HDrD3021XxxNvPtqItClxW3Up1DrEhbTjMxYxVfPksoQ33EPmXqTK HFCkOOhsgg+R9tljPtrAwD7uimTRfLP/CExQhXyHT1Oaw//nz2TZu0wiyxIBBrrz+W +JnJp2hOj1nx2CVeqpaqZZ+emg420k3CXVkILi+M= From: "ibuclaw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug d/110193] d_signed_or_unsigned_type is invoked for vector types Date: Sat, 10 Jun 2023 18:40:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: d X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ibuclaw at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ibuclaw at gdcproject dot org X-Bugzilla-Target-Milestone: --- 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=3D110193 --- Comment #3 from ibuclaw at gcc dot gnu.org --- (In reply to ibuclaw from comment #2) > Gimple dump: > --- > __vector(int[4]) rshift (__vector(int[4]) v) > { > __vector(int[4]) D.1795; >=20 > _1 =3D VIEW_CONVERT_EXPR(v); > _2 =3D _1 >> 2; > D.1795 =3D VIEW_CONVERT_EXPR<__vector(int[4])>(_2); > return D.1795; > } I've just realized that I wasn't reading this code dump properly. Everythi= ng looks correct here. I've a look again and picked at random vector E_V8HImode, that has a precis= ion of 3. Whereas a cent has a precision of 128.=