https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107836
Andreas Schwab <sch...@linux-m68k.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #2 from Andreas Schwab <sch...@linux-m68k.org> --- There is no dependency whatsoever between the asm statements, thus they can be moved around freely. Especially the third one is producing a constant output as seen by the compiler, thus moving it to the top of the function is perfectly valid.