Created attachment 126706 [details]
gdb.txt assertion with full backtrace
With full debugging llvm and mesa I get an assertion instead:
janusvr:
/home/chris/build/llvm-svn/src/llvm/include/llvm/Analysis/LoopInfoImpl.h:247:
void llvm::LoopBase<N, M>::verifyLoop() const [with BlockT = llvm::BasicBlock;
LoopT = llvm::Loop]: Assertion
`std::any_of(GraphTraits<BlockT*>::child_begin(BB),
GraphTraits<BlockT*>::child_end(BB), [&](BlockT *B){return contains(B);}) &&
"Loop block has no in-loop successors!"' failed.
backtrace full attached