This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/29117] Copy constructor is called with "this == &rhs"



------- Comment #7 from oschmidt at gmx dot net  2006-10-12 17:10 -------
>So a compiler warning for this makes really sense 
>not only for f3() but also for f4().

So I think it would be a good idea to reopen this bug report. It is then not a
bug report about inproper compiler behaviour but a bug report about missing
compiler warnings ;-)

What do You think?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]