From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E55DC3861969; Thu, 9 Jul 2020 07:25:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E55DC3861969 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594279520; bh=o8wUUVi6ybnZKBQT9Dar2VbukX5Ss/JsKFAFigNeSmc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F1c0VMyt815arhVO7GXFPztHlmi1tW/0Myq5RQDolpLu82ORdlk0P4wOV1w38J6uX dc4HMdmlnylQ9BA/p9Aat3VPhUUGKogqkyL0AmcQkUvhlyiVQJ1G2hHGfEwPbIkTi4 6ZCtBGNZDeIcWZK9nGsQ40t33Ce4uda0AN3X8tTk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95683] RISC-V: internal compiler error: in riscv_gpr_save_operation_p, at config/riscv/riscv.c:5219 Date: Thu, 09 Jul 2020 07:25:20 +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: unknown X-Bugzilla-Keywords: ice-on-valid-code 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: unassigned 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, 09 Jul 2020 07:25:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95683 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:01b774ff3adcae0e72548f050795c1cf6bf5b8fe commit r10-8445-g01b774ff3adcae0e72548f050795c1cf6bf5b8fe Author: Kito Cheng Date: Tue Jun 16 10:14:13 2020 +0800 RISC-V: Fix ICE on riscv_gpr_save_operation_p [PR95683] - riscv_gpr_save_operation_p might try to match parallel on other patterns like inline asm pattern, and then it might trigger ther assertion checking there, so we could trun it into a early exit chec= k. gcc/ChangeLog: PR target/95683 * config/riscv/riscv.c (riscv_gpr_save_operation_p): Remove assertion and turn it into a early exit check. gcc/testsuite/ChangeLog PR target/95683 * gcc.target/riscv/pr95683.c: New. (cherry picked from commit beaf12b49ae030505194cdcac18b5c8533a43921)=