[Bug c++/29117] Copy constructor is called with "this == &rhs"
oschmidt at gmx dot net
Mon Sep 18 08:47:00 GMT 2006
------- Comment #3 from oschmidt at gmx dot net 2006-09-18 08:47 -------
> > So which version do you think have a bug?
> I don't know which behaviour should be correct C++, but I think it is dangerous
> that an object with undefined content is constructed without even a compiler
I think every tested g++ version has a bug for the function f3. The version
3.3.5 seems to be ok with funtion f4 but the other versions (3.4.4 and 4.0.4)
are also wrong in function f4.
More information about the Gcc-bugs