About undefined behaviour...
About undefined behaviour...
Posted Aug 16, 2012 16:45 UTC (Thu) by juhl (guest, #33245)Parent article: Signed overflow optimization hazards in the kernel
For people interrested in (or concerned about) undefined behaviour, the problems it can cause and the optimizations it enables etc, I can greatly recommend reading the following articles:
What Every C Programmer Should Know About Undefined Behavior #1/3
What Every C Programmer Should Know About Undefined Behavior #2/3
What Every C Programmer Should Know About Undefined Behavior #3/3
A Guide to Undefined Behavior in C and C++, Part 1
A Guide to Undefined Behavior in C and C++, Part 2
A Guide to Undefined Behavior in C and C++, Part 3
Sequence Points and Expression Evaluation in C++
