https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000
Bug 42000 depends on bug 79345, which changed state.
Bug 79345 Summary: [6 Regression] passing yet-uninitialized member as argument
to base class constructor should warn (-Wunitialized)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000
--- Comment #5 from Richard Biener ---
Author: rguenth
Date: Thu Mar 2 13:42:05 2017
New Revision: 245840
URL: https://gcc.gnu.org/viewcvs?rev=245840&root=gcc&view=rev
Log:
2017-03-02 Richard Biener
PR tree-optimization/79345
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000
Richard Biener changed:
What|Removed |Added
Status|NEW |RESOLVED
Known to work|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
--- Comment #2 from manu at gcc dot gnu dot org 2009-11-19 12:28 ---
I think this is a duplicate of either bug 2972 or bug 19808 or one of the SRA
testcases.
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #1 from redi at gcc dot gnu dot org 2009-11-11 11:50 ---
It would certainly be nice to get warnings about members that are not
initialized in the constructor, I don't think GCC currently does that anywhere.
If you add -O then you will get a warning for the use of the member.