On Wed, Jul 31, 2019 at 9:41 AM Maxim Blinov wrote:
> gcc/ChangeLog:
> 2019-07-31 Maxim Blinov
>
> * common/config/riscv/riscv-common.c: Check -march string ends
> with null.
>
> gcc/testsuite/ChangeLog:
> 2019-07-31 Maxim Blinov
>
> * gcc.target/riscv/attribute-10.c:
Hi Martin, thanks for reviewing.
> I would expect the missing quotes around the option to trigger
> a -Wformat-diag warning. The %<%s%s> should also be flagged by
> the same warning. Changing the format string as follows should
> avoid the warnings:
>
> error_at (loc, "%<-march=%s%>: unexpect