[Bug target/91050] -mdejagnu-cpu=<cpu> does not affect the -m<cpu> assembler option

bergner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 3 19:50:00 GMT 2019


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

--- Comment #6 from Peter Bergner <bergner at gcc dot gnu.org> ---
(In reply to Peter Bergner from comment #5)
> Shouldn't we check whether the new .machine <cpu> is different than the
> currently active cpu value before reloading the opcode table?  I don't think
> it would be too hard to do and would solve stupid user tricks like:

Actually, gas' ppc_machine() already ignores .machine directives if it matches
the currently active cpu, so no code needed.  That means we'll never reload the
opcode table unless we really have to.


More information about the Gcc-bugs mailing list