http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58976
Bug ID: 58976 Summary: Internal compiler error: Error reporting routines re-entered. Product: gcc Version: 4.7.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dilyan.palauzov at aegee dot org Compiling $ cat test.cpp #include <vector> class A { int s; public: A () = default; A (const A&) = delete; A& operator=(const A&) = delete; A (A&&) = delete; A& operator=(A&&) = delete; }; int main() { std::vector<A> v; v.push_back (A {} ); } with gcc (GCC) 4.7.4 20131026 (prerelease) produces $ gcc -std=c++11 -lstdc++ testA.cpp -o test ‘ Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. This happens also with gcc482. Expected result: -- Still error, but no compiler crash.