https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123125
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I am not sure invoking lto1 directly is ever supported. Even invoking cc1 directly is not exactly supported either. The driver (in the case of riscv) adds the march/mabi options always. The defaults inside lto1/cc1 is different from the defaults from the driver and some defaults are done in cc1/lto1 while others are inside the driver.
