From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E55293857C5B; Sat, 8 Aug 2020 16:58:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E55293857C5B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596905908; bh=xNLWUuoH+H+HP4IgTVNJg1HC595ZhzOUoCnx0py6pBU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pKy4uh9uhs2tpIA8Ls6KUGpj3W6Mfw9OD032lsjGmy9OLdijoejxyUSHsdnv7E6+n LqhJEw7/woU6r0zz8vxHEs12uf++LKXcOD9LkUvZglQ6Oy/NXhynIoCNITLXyFkfBf OAHGD4MgKaGiSfyD906+OJyuk2zo/Ej4n/pKyZag= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96530] MMA built-ins reject typedefs of MMA types Date: Sat, 08 Aug 2020 16:58:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: rejects-valid 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: bergner at gcc dot gnu.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Aug 2020 16:58:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96530 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:e2882e76089cecdc268d0835c54cabfa80b5b0be commit r11-2616-ge2882e76089cecdc268d0835c54cabfa80b5b0be Author: Peter Bergner Date: Sat Aug 8 11:54:48 2020 -0500 rs6000: MMA built-ins reject typedefs of MMA types We do not allow conversions between the MMA types and other types. However, we are being too strict in not matching MMA types with typdefs of those types. Use TYPE_CANONICAL to see through the types to their canonical types before comparing them. 2020-08-08 Peter Bergner gcc/ PR target/96530 * config/rs6000/rs6000.c (rs6000_invalid_conversion): Use canon= ical types for type comparisons. Refactor code to simplify it. gcc/testsuite/ PR target/96530 * gcc.target/powerpc/pr96530.c: New test.=