Can't believe this isn't already the case ...
It was changed some years ago. The argument I believe was that the majority of use of debug builds were not affected by optimizations and that the speed benefits outweighed the optimization issues. And if you were debugging and have issues with the optimizations it was easy enough to turn off. I believe it was debated on IRC with Brendan offering the argument for benefits of speedier debug builds as well as other points which I'm probably not remembering. Unfortunately I was unable to locate the bug in bugzilla.
6 years ago