Re: [PATCH] RISC-V: Normalize arch string in driver time

2020-06-21 Thread Kito Cheng
Hi Jim: Thanks for your review, committed with ASM_SPECS clean up. > This has the side effect that we are now passing -march twice to cc1 and as, > but that should be harmless as the last one wins. Yeah, I tried to find a way to remove the duplication but have not found a good solution yet. On

Re: [PATCH] RISC-V: Normalize arch string in driver time

2020-06-20 Thread Jim Wilson
On Fri, Jun 19, 2020 at 2:53 AM Kito Cheng wrote: > * config/riscv/riscv.h (DRIVER_SELF_SPECS): New. This looks good to me. This has the side effect that we are now passing -march twice to cc1 and as, but that should be harmless as the last one wins. I think this makes the riscv_expand_