Re:I Do Not Know C: Short quiz on undefined behavior (2015)
by lmm on Tuesday February 14, 2017 @06:53AM
(#13642879)
This battle has been fought and lost. If you require sensible behaviour, just move on and use a language that offers it. C compilers will do what makes them look good on benchmarks, and various "friendly C" efforts have been tried and failed.
[ Parent
| on HN ]
Re:I Do Not Know C: Short quiz on undefined behavior (2015)
by vyodaiken on Tuesday February 14, 2017 @09:14AM
(#13643587)
Au contraire - gcc and clang both appear to do the right thing now.