From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4AB993858D33; Mon, 17 Jul 2023 11:49:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AB993858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689594554; bh=jxh//n1L0Rk2PnasNbs1ECk4tN/EOd3TFm5cggF4M3c=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Vo62oPXnoqj+NratGov1mCbj4dCkwhq8JTsC6oUXoHozvXq+xJhozSzHlOLxQW300 LsqEx2eystCFbwr8uaz9ithpRqAASkOddCztgAj8CFtv5Viz2QhwymX5Nv1hDrI7ha YJIGaBswMVzAGXLrwVuvz8+msGt7D47MQ4oQEiuo= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110696] RISC-V: -march doesn't imply correctly Date: Mon, 17 Jul 2023 11:49:13 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110696 --- Comment #1 from CVS Commits --- The trunk branch has been updated by Lehua Ding : https://gcc.gnu.org/g:70742d08832eb7db4d90f52465966111a19ce3a5 commit r14-2564-g70742d08832eb7db4d90f52465966111a19ce3a5 Author: Lehua Ding Date: Mon Jul 17 12:27:12 2023 +0800 RISC-V: Ensure all implied extensions are included [PR110696] This patch fix target/PR110696, recursively add all implied extensions. PR target/110696 gcc/ChangeLog: * common/config/riscv/riscv-common.cc (riscv_subset_list::handle_implied_ext): recur add all implied extensions. (riscv_subset_list::check_implied_ext): Add new method. (riscv_subset_list::parse): Call checker check_implied_ext. * config/riscv/riscv-subset.h: Add new method. gcc/testsuite/ChangeLog: * gcc.target/riscv/attribute-20.c: New test. * gcc.target/riscv/pr110696.c: New test. Signed-off-by: Lehua Ding =