On Mon, 5 Dec 2016, Paul Burton wrote: > Agreed we ought to use .set reorder (or rather, not use .set noreorder) > wherever possible but FYI one thing I've only noticed recently is that we > don't actually get any reordering anyway, presumably because we don't provide > any -O flags when building asm source. I haven't yet done the legwork or > figuring out whether we've ever had optimisation & if so what changed... Reordering or `-O2' is the default for GAS, you actually have to pass a different `-O*' option explicitly to GAS to disable it. NB it's *not* the same as passing one of the `-O*' options to GCC, you'd need e.g. `-Wa,-O'. So perhaps one of our Makefiles or a particular configuration of the GCC driver does the wrong thing? Maciej