internal compiler error in push_decl_scope

Stephen Vavasis vavasis@research.bell-labs.com
Thu Jun 10 15:06:00 GMT 1999


This is for egcs 1.1.2 running under Irix 6.4.  

The code fragment below gives me the message

../srcdir/gcc/dwarf2out.c:7551: Internal compiler error in function
push_decl_scope

when compiled with the statement:

/opt/egcs-1.1.2-irix6.4/bin/g++ -g -c ../../src/meshgen/qpatchtab.cpp

-- Steve Vavasis



#include <map>
#include <iterator>

namespace QMG {
  using std::map;
}

namespace QMG {
  namespace MG {
    using namespace QMG;
    class PatchTable;
  }
}

class QMG::MG::PatchTable {
  class Constructor_Helper;
  friend class Constructor_Helper;
  void operator=(const PatchTable&) { }
};


class QMG::MG::PatchTable::Constructor_Helper {
  struct PatchKey {
    int num_vert;
  };
  typedef map<PatchKey, int> PatchLookup;
  typedef PatchLookup::iterator PatchLookupI;
};


More information about the Gcc-bugs mailing list