This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/58976] New: Internal compiler error: Error reporting routines re-entered.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]