------- Comment #4 from law at redhat dot com 2005-11-09 00:02 ------- Created an attachment (id=10181) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10181&action=view) Proposed patch and new testcases
I'm not comfortable self-approving this patch; the option processing code is totally new to me and I have no idea if I got it right. And while I believe the sense of -Wuninitialized is correct (no change in current behavior), I don't think we have reached a consensus on that issue. I will note that after reviewing all the PRs, by far the most common complaint is false positives, #2 is missing warnings, particularly for objects which have had their address taken, #3 is missing warnings in unreachable/dead code (which we can now detect with -Wuninitialized=2 using this patch). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639