https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83013
--- Comment #2 from nathan at nathanrossi dot com --- One solution to this bug is to remove the microblaze specific emission of ident use the default which emits .ident directives for the assembler. I've sent a patch which makes this change: https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01279.html