On Tue, Jan 12, 2010 at 12:59 PM, Roman Kononov <ro...@binarylife.net> wrote: > Is there a good reason to place something on the stack? Why does > -funsafe-math-optimizations (which is a part of -ffast-math) make things > even worse? It actually swaps the arguments for __bid_adddd3().
Because it turns on re-association which causes a+b to be b+a in your case. And nothing turns it back for better register allocation. Thanks, Andrew Pinski