works with 4.6 and 4.8, fails with the 4.7 branch
$ g++ -std=c++0x foo.cc ' Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate.
#include <memory>
namespace { struct Foo { Foo(int) {} }; }
int main(int, char**) { auto foo = std::make_shared<Foo>(); return 0; }
works with 4.6 and 4.8, fails with the 4.7 branch
$ g++ -std=c++0x foo.cc
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
#include <memory>
namespace
{
struct Foo
{
Foo(int) {}
};
}
int main(int, char**) shared< Foo>();
{
auto foo = std::make_
return 0;
}