From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AC5713850431; Wed, 10 Mar 2021 23:48:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC5713850431 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99279] ICE in rs6000_init_builtins when compiling using -mcpu=440 Date: Wed, 10 Mar 2021 23:48:31 +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: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: bergner at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.0 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, 10 Mar 2021 23:48:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99279 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:0a35ff4ecdd22745bda9afd8fe095fb469acd624 commit r10-9432-g0a35ff4ecdd22745bda9afd8fe095fb469acd624 Author: Peter Bergner Date: Thu Feb 25 21:35:28 2021 -0600 rs6000: Fix ICE in rs6000_init_builtins when compiling with -mcpu=3D440 [PR99279] The initialization of compat builtins assumes the builtin we are creati= ng a compatible builtin for exists and ICEs if it doesn't. However, there= are valid reasons why some builtins are disabled for a particular compile. In this case, the MMA builtins are disabled for -mcpu=3D440 (and other = cpus), so instead of ICEing, we should just skip adding the MMA compat builtin. 2021-02-25 Peter Bergner gcc/ PR target/99279 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Replace assert with an "if" test. (cherry picked from commit 0159535adb0e7400f2c6922f14a7602f6b90cf69)=