http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18016

--- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-12-22 
09:17:42 UTC ---
Like others commenting here, I don't understand why a(a) should not warn only
with -Winit-self. On the other hand, I always thought that Winit-self is a bad
idea. Although the patch does not fixes many cases and thus, we shouldn't close
this PR, it is better than nothing. 

About the location, don't we have a better location at that point?

I am thinking that

X() :
j(j), #2
i(i)  #3
{}

should give warnings in #2 and #3.

Please, resubmit and ping. I think this is small enough to go in GCC 4.6.

Reply via email to