[LLVMdev] llvm 1.0, g++, SuSE 9, internal compiler error

"?=Valery A.Khamenya=?koi8-r?Q?" khamenya at mail.ru
Thu Nov 13 13:17:01 PST 2003


> You might try something like 
> 
>   assert((getOption(ArgName) == Opt) && "Arg not in map!");
> 
> (note extra parens)

I've tried. It doesn't help

BTW, the same workaround helps in:

  utils/TableGen/InstrSelectorEmitter.cpp
  lib/Analysis/IntervalPartition.cpp
  lib/CodeGen/RegAlloc/PhyRegAlloc.cpp

interesting, that assert couses internal error not in every instance :-/

Well, but then comes:
------------------------------
make[3]: Entering directory `/home/vak/llvm/llvm/runtime/GCCLibraries/crtend'
Compiling C++-Exception.cpp to bytecode
gccas: Pass.cpp:311: void RegisterPassBase::registerPass(PassInfo*): Assertion `PassInfoMap->find(PI->getTypeInfo()) == PassInfoMap->end() && "Pass already registered!"' failed.
g++: Internal error: Aborted (program as)
Please submit a full bug report.
See <URL:http://llvm.cs.uiuc.edu> for instructions.
------------------------------

P.S. guys, I am really sorry about ugly symbols around subject, it is because of a stupid www interface :(




More information about the llvm-dev mailing list