[Patch] varasm.c: Always output flags in merged .section for LLVM assembler compatibility [PR97827]

Jakub Jelinek jakub@redhat.com
Mon Dec 14 19:02:51 GMT 2020


On Mon, Dec 14, 2020 at 07:44:12PM +0100, Tobias Burnus wrote:
> Regarding this discussion, see also the comments from an LLVM reviewer
> at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97827 * — to keep them
> at one place, I won't quote the discussion here.

I think the LLVM people must be completely ignoring hand-written assembler,
the behavior of GNU as is not something specific to GNU as, but to all other
assemblers GCC uses except for this recent LLVM as change, and has been like
that for decades, so I'm sure there is a lot of hand-written assembler that
relies on that.

So, I'm against adding workarounds for bad LLVM decisions.

	Jakub



More information about the Gcc-patches mailing list