[Bug bootstrap/97355] [11 Regression] Bootstrap comparison failure!

mark at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 15 22:43:53 GMT 2020


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

--- Comment #11 from Mark Wielaard <mark at gcc dot gnu.org> ---
I don't understand why the .debug sections are compared in this case.

But if they are then the diff comes from this gas issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=26740

Even though unused gas -g might emit the input file name in the file table in
some situations. It is harmless but since the the generated assembly file name
might be different between stage2 and stage3 you will see a diff.

If this really is an issue I think a workaround might be to make sure that the
.file 1 directive is emitted as early as possible.


More information about the Gcc-bugs mailing list