https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60081
Paolo Carlini changed:
What|Removed |Added
Resolution|FIXED |DUPLICATE
--- Comment #6 from Paolo Carl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60081
--- Comment #4 from Stan Manilov ---
Here is a simple way to reproduce the bug:
==
#include
#include
int main() {
std::vector> v;
std::unique_ptr px(new int (1));
v.push_back(px);
}
=
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60081
--- Comment #3 from lmat ---
Created attachment 32292
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32292&action=edit
Another reproduction
For what it's worth, I just uploaded bugreprt.gz which has more code that
reproduces the issue along
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60081
--- Comment #2 from lmat ---
Right, changed unique_ptr to shared_ptr in my code base and the error goes
away. Have you seen if this bug still appears on a 4.8 build ?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60081
lmat changed:
What|Removed |Added
CC||dartmetrash at gmail dot com
--- Comment #1 from l