https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116303

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is expected.

Basically the driver expands mcpu when invoked via riscv_expand_arch_from_cpu
function.

%{mcpu=*:%:riscv_expand_arch_from_cpu(%* %(VALUE))}}


See r11-3906-g72eb8335848be7 on how it is implemented fully. But this is by
design. That is if you are invoking cc1 directly you should follow the same way
the driver does it.

Reply via email to