[Issue 5490] DMDFE: Slim down warnings generated by GCC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 11 03:07:41 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5490
--- Comment #11 from bearophile_hugs at eml.cc 2011-02-11 03:05:12 PST ---
(In reply to comment #10)
> I should note that none of these are actual bugs.
There is an interesting paper about the topic, "Using Redundancies to Find
Errors" by Yichen Xie and Dawson Engle:
http://www.stanford.edu/~engler/p401-xie.pdf
The Abstract:
"This paper explores the idea that redundant operations, like type errors,
commonly fag correctness errors. We experimentally test this idea by writing
and applying four redundancy checkers to the Linux operating system, finding
many errors. We then use these errors to demonstrate that redundancies, even
when harmless, strongly correlate with the presence of traditional hard errors
(e.g., null pointer dereferences, unreleased locks). Finally we show that how
flagging redundant operations gives a way to make specifications fail stop by
detecting dangerous omissions."
This for example applies to things like unsigned<0.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list