The kimwitu++ bytecode file (/home/vadve/criswell/Downloads/CXXCode/kimwitu++-2.3.8/src/Gen.linux) hits the following assertion: lli: /home/vadve/criswell/llvm/lib/Target/X86/InstSelectSimple.cpp:52: llvm::MachineInstrBuilder llvm::BMI(llvm::MachineBasicBlock*, __gnu_cxx::__normal_iterator<llvm::MachineInstr**, std::vector<llvm::MachineInstr*, std::allocator<llvm::MachineInstr*> > >&, int, unsigned int): Assertion `I >= MBB->begin() && I <= MBB->end() && "Bad iterator!"' failed.
I can reproduce this with just the _ZN9__gnu_cxx16__stl_next_primeEm function and LLC. I'm looking into it. Thanks! -Chris
Fixed, here's the patch: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20031117/009616.html Thanks, -Chris