LLVM Clang compiling error

Dear Sir,

I am trying to compile llvm (llvm, clang, compiler-rt) package. I got an errors:
/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_defs.h:144:9: error: expression result unused; assign into a variable to force a volatile load [-Werror, -Wunused-volatile-lvalue].

Same errors in lines 145 and 146 ((void) cfg; (void)stats; (void)shadow).

OS: RHEL 6.2 (x86-64)
GCC: 4.4.6

Compiled with optimization enabled flag.

Also some tests (make check-all) finished unsuccessful.

Could you please help with this issue?

- Andrey

Dear Sir,

I am trying to compile llvm (llvm, clang, compiler-rt) package. I got an errors:
/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_defs.h:144:9: error: expression result unused; assign into a variable to force a volatile load [-Werror, -Wunused-volatile-lvalue].

I assume/expect this is addressed by r157414 in Clang.