I got my LLVM successfully compiled by compiling this one file by removing the "-O3". g++ also failed with -O2 and -O1. The llvm check seemed to work with this, I had # of expected passes 2492 # of expected failures 6