self-hosting failure

I've been getting the error for a release build for the last 24 hours or so. This is on Ubuntu Jaunty on x86. Known problem? If not, does anyone have an easy recipe for getting the build system to tell me the command line that's being used and to leave a preprocessed file sitting around?



llvm[2]: Compiling UnreachableBlockElim.cpp for Release build
StrongPHIElimination.cpp: In member function '(anonymous namespace)::StrongPHIElimination::InsertCopies(llvm::DomTreeNodeBase<llvm::MachineBasicBlock>*, llvm::SmallPtrSet<llvm::MachineBasicBlock*, 16u>&)':
StrongPHIElimination.cpp:1051:1: internal compiler error: in rewrite_stmt, at tree-into-ssa.c:1302
Please submit a full bug report,

make VERBOSE=1

will show you the compile line in use. If you add -save-temps to the build, it should save the .ii file from that translation unit. Hope this helps. I normally just cut and paste the command and add the -save-temps by hand. Adding -v to a gcc command is at times is helpful too.

There have been a couple problems recently, but I don't recognize
this. Please see if you can minimize it and get a test case.

You can run with 'make VERBOSE=1' to get the failing compile command.
I then usually try -emit-llvm to see if the .bc output reproduces the
error (with llc). The full story is a lot more complicated, I can give
more details about things to try if you can't get a test case.

- Daniel

Of course my next build worked!

Anyway thanks guys. I'll use this recipe next time I see a problem like this...