[Bug libstdc++/58839] Regression: dereferencing void* in shared_ptr(unique_ptr&& u) constructor

2013-10-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58839 --- Comment #3 from Paolo Carlini --- Yes, as you can see Jonathan is already on it.

[Bug libstdc++/58839] Regression: dereferencing void* in shared_ptr(unique_ptr&& u) constructor

2013-10-24 Thread mrlika at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58839 --- Comment #2 from Andriy Lysnevych --- Hi Paolo, You are right. It is not yours commit but next one. __r.get() returns T* and construction *__r.get() works for any type except the case when T=void. It causes dereferencing of void pointer that

[Bug libstdc++/58839] Regression: dereferencing void* in shared_ptr(unique_ptr&& u) constructor

2013-10-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58839 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/58839] Regression: dereferencing void* in shared_ptr(unique_ptr&& u) constructor

2013-10-22 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58839 Paolo Carlini changed: What|Removed |Added CC||jwakely.gcc at gmail dot com --- Comment