Im getting different output asm depending on if there is a space between -O and ReleaseFast

I mean look: Compiler Explorer

is this a bug? If it is this is such a strange bug

without even looking I can already tell you what is happening: godbolt uses caching and defaults to -march=native and has servers with different CPU features in rotation

7 Likes

@andrewrk explained why this happens

to get repeatable results, just specify a target e.g. -target x86_64-linux

4 Likes