[Bug libstdc++/53202] Copy constructor not called when starting a thread
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 2 21:25:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53202
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-05-02
AssignedTo|unassigned at gcc dot |redi at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-02 21:25:19 UTC ---
Ouch.
With 4.6 I see three ctors and three dtors:
default ctor called, this=0x7fffafe073df
copy ctor called
move ctor called
destructor called, this=0x7fffafe073a0
void background_hello::operator()() called, this=0x15f0048
destructor called, this=0x15f0048
destructor called, this=0x7fffafe073df
More information about the Gcc-bugs
mailing list