From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EBED03836C24; Thu, 11 Feb 2021 20:16:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBED03836C24 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99041] combine creates invalid address which ICEs in decompose_normal_address Date: Thu, 11 Feb 2021 20:16:24 +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: 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, 11 Feb 2021 20:16:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99041 --- Comment #8 from CVS Commits --- The master branch has been updated by Peter Bergner : https://gcc.gnu.org/g:2432c47970024db6410708b582a901259dabaae1 commit r11-7196-g2432c47970024db6410708b582a901259dabaae1 Author: Peter Bergner Date: Thu Feb 11 14:15:26 2021 -0600 rs6000: Fix invalid address used in MMA built-in function The mma_assemble_input_operand predicate is too lenient on the memory operands it will accept, leading to an ICE when illegitimate addresses are passed in. The solution is to only accept memory operands with addresses that are valid for quad word memory accesses. The test case is a minimized test case from the Eigen library. The creduced test case is very noisy with respect to warnings, so the test case has added -w to silence them. 2021-02-11 Peter Bergner gcc/ PR target/99041 * config/rs6000/predicates.md (mma_assemble_input_operand): Restrict memory addresses that are legal for quad word accesses. gcc/testsuite/ PR target/99041 * g++.target/powerpc/pr99041.C: New test.=