[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 16:13:00 GMT 2019


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GCC with -flto does not     |GCC with -flto does not
                   |pass -Wa options to the     |pass -Wa/-Xassembler
                   |assembler                   |options to the assembler

--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> ---
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.


More information about the Gcc-bugs mailing list