News for hackers. Stuff that matters.
Re:What every compiler writer should know about programmers ... by ursus_bonum on Thursday March 03, 2016 @07:49PM (#11221218)
FWIW I compiled this with gcc 4.9.3 -O3 and got:

    satd.c:7:29: warning: iteration 15u invokes undefined behavior [-Waggressive-loop-optimizations]
         for (dd=d[k=0]; k<16; dd=d[++k]) {
                                 ^
Re:What every compiler writer should know about programmers ... by Mindless2112 on Thursday March 03, 2016 @11:02PM (#11221987)
Good evidence that compiler writers aren't quite so malicious as the author portrays.

Warnings, not optimizations, are what most programmers actually want from undefined behavior.