This non-program causes the same internal error in gcc 4.7.3 (with
-std=c++0x and -std=c++11). In general, it seems to happen any time I
push_back an object with an inaccessible copy constructor.
#include <vector>
class A {
A(const A&)=delete;
};
int main()
{
std::vector<A>().push_back(*(A*)0);
return 0;
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1165732
Title:
GCC 4.7.3 internal compiler error when using std::make_shared
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1165732/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs