Thanks! committed to master :)
On Wed, Jan 27, 2021 at 1:58 PM Xing GUO via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > Sorry, I forgot to remove the line '*explicit_version_p = true;' in my > previous patch. > > This is an updated patch. > > Thanks! > > --- > gcc/ChangeLog: > > * common/config/riscv/riscv-common.c > (riscv_subset_list::parsing_subset_version): > Fix -march option parsing when `p` extension exists. > > gcc/testsuite/ChangeLog: > > * gcc.target/riscv/attribute-18.c: New test. > > -- > Cheers, > Xing