[Bug c++/56869] New: [4.7 Regression] ICE (segfault) with the 4.7.3 release candidate

doko at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Apr 7 20:46:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869

             Bug #: 56869
           Summary: [4.7 Regression] ICE (segfault) with the 4.7.3 release
                    candidate
    Classification: Unclassified
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@gcc.gnu.org


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



More information about the Gcc-bugs mailing list