https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79425
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- What are you trying to do? Put the toplevel asm directly before the entry to main? That's nothing you can expect, it might get somewhat more reliable with -fno-toplevel-reorder (but that's enabled at -O0...). That said, GCC doesn't really "support" what you try to do.