From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F40CF3851C23; Wed, 19 Aug 2020 02:42:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F40CF3851C23 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597804925; bh=EruN5AWa+kqZ27UfB29c+S8PWXoti3gaDU3yuKGwv30=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KD3cOHgJpRQv+86GIx7msBRXKuHQ6xg54bPk3dOSJUigNs8CCCIvcAEhN2R1QHq3w zRtVZWg3NToAEH0IluEYAL46ReKCXCzQPaPu9nSLIh6QXH08m4GuQYPQFjvFlm+48X u4hzHyEoidiYANIpmCXzQEYKxtNcYJOs00Bdrmo0= 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: Wed, 19 Aug 2020 02:42: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: Wed, 19 Aug 2020 02:42:05 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96506 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:43edad43b2cee17fb7575c40a9dafac3fe79ba1c commit r10-8641-g43edad43b2cee17fb7575c40a9dafac3fe79ba1c 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. (cherry picked from commit 0ad7e730c142ef6cd0ddc1491a89a7f330caa887)=