[Compilation/Bug??] LLVM 3.6.2 crashes with clang++

Hi all,

For some reasons I have to compile version 3.6.2, and carelessly I used clang++ 3.6.2 to compile the code, which results in a failure for make.

The detail of the crash is described in this link:

When I changed the compiler to gcc, the problem is solved. However, in the documentation (https://releases.llvm.org/3.6.2/docs/GettingStarted.html) shows clang is supported.

Is this a bug? If not, what’s wrong with my understanding of the documentation?