From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35BB4386F826; Thu, 13 Aug 2020 18:43:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35BB4386F826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597344184; bh=ZsA72NM3zfbvfP6kRA1jcLFf6Ptit5ItwFHsiMm7aOE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=p/DpZlHIuZa50ly7WLCrnaj27wfJAK96xZkMtCgVvdNgFRnZ9VLd555sqtAoMzLlC yOwS7me7dPcYWF1x3ve8OOl8su4Q6RcLOUdPvIAPtdOv2AJ+LXBoI8LRBYGE5S6sFT Q3ekNF/nz7J475o7KDa4HAcTg+Ig8AwyO7APPTEw= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96506] ICE when using an MMA type as a function param Date: Thu, 13 Aug 2020 18:43:04 +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: ice-on-invalid-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: 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: Thu, 13 Aug 2020 18:43:04 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96506 --- Comment #2 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:0ad7e730c142ef6cd0ddc1491a89a7f330caa887 commit r11-2692-g0ad7e730c142ef6cd0ddc1491a89a7f330caa887 Author: Peter Bergner Date: Thu Aug 13 13:40:39 2020 -0500 rs6000: ICE when using an MMA type as a function param or return value [PR96506] PR96506 shows a problem where we ICE on illegal usage, namely using MMA types for function arguments and return values. The solution is to flag these illegal usages as errors early, before we ICE. 2020-08-13 Peter Bergner gcc/ PR target/96506 * config/rs6000/rs6000-call.c (rs6000_promote_function_mode): Disallow MMA types as return values. (rs6000_function_arg): Disallow MMA types as function arguments. gcc/testsuite/ PR target/96506 * gcc.target/powerpc/pr96506.c: New test.=