News for hackers. Stuff that matters.
Re:Sometimes the bug isn't in your code, it's in the CPU by haberman on Wednesday March 07, 2012 @12:09AM (#3674353)
> While I don't consider missed optimisations bugs as such, they are easy to find. Simply compile some non-trivial function and look at the output.

Perhaps you'll give me a little credit :) if I mention that I found missed optimization bugs in extremely trivial functions. One of them involved gcc generating several completely useless stores even at -O3: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44194

Re:Sometimes the bug isn't in your code, it's in the CPU by mansr on Wednesday March 07, 2012 @07:02PM (#3677940)
That's not "missed optimisation," that's "generating ridiculous code."