Comment 8 for bug 1165732

Revision history for this message
In , Doko-v (doko-v) wrote :

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;
}