To get a better feeling for the issues which have been reported, this meta-bug should get the better feeling for them.
There are at least 19 bugs related to the uninit warnings.
Adding Jeff Law and Diego so they know what the bug numbers are.
Some more, this time closed ones. There are many more.
Created attachment 10181 [details]
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).
I am collecting all info about Wuninitialized issues and proposals to solve them here:
Feel free to comment and contribute. The Summer of Code passed (unfortunately, I didn't have enough time to succeed) but the project goes on.