Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks
Posted Mar 23, 2013 15:46 UTC (Sat) by
khim (subscriber, #9252)
In reply to:
Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks by proski
Parent article:
Regehr: GCC 4.8 Breaks Broken SPEC 2006 Benchmarks
It's easy to do, but you'll be surprised to see just how many such warnings typical code will generate. There are lots of idioms explicitly built around them (think "do { ... } while (TRUE)" defines and recall that TRUE is often is defined "(!FALSE)").
It's trivial to produce bazillion "comparison is always true" warnings or not produce anything at all. To produce meaningful number of warnings… that's different story… it's really hard.
(
Log in to post comments)