[Bug driver/47785] GCC with -flto does not pass -Wa/-Xassembler options to the assembler
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 29 21:54:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #15)
> We need to also handle -Xassembler? Since -Wa, doesn't work with comma in
> assembler options, like -mfoo=foo1,foo2, one needs to use
>
> -Xassembler -mfoo=foo1,foo2
>
> to pass -mfoo=foo1,foo2 to assembler.
We may also have
-Xassembler -mfoo=foo1,foo2 -Wa,-mbar
More information about the Gcc-bugs
mailing list