------- Comment #6 from gdr at gcc dot gnu dot org 2006-01-22 03:43 ------- (In reply to comment #5) > Also, it should detect any scalar member variables that are not assigned to in > any way in the constructor.
Agreed. However -Wunitialized is taken over by the middle-end. This is one more case where I agre with Mark Mitchell that the middl-end should not try those things. Long term, we should move such warnings to the front-end. Yes I know, that is not a universally held opinon. -- gdr at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gdr at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972