On Thu, 19 May 2011, Richard Sandiford wrote: > Maybe it would be worth breaking with tradition and making > -fno-delayed-branch imply -Wa,-O0 though. Back in the day, > the assembler's version of delayed-branch filling was applied > to pretty much every function, so the separation was probably > more obvious. However, CCC now tries to emit most functions as > ".set noreorder"/ ".set nomacro", so -fno-delayed-branch does > actually stop the assembler filling branches in most situations. > I can see that it'd be confusing to suddenly have the assembler > kick in when you add something like an inline asm. > > So yeah, I'll try to get around to that this weekend...
While I think the change is sane, it is bound to break *something* somewhere, so could you please make sure there's a way to get the old behavior? Right now it seems like adding -Wa,-O2 would work if you do it as above, but that might change. And a minor NEWS item? brgds, H-P