Sorry for missing version info of my compiler: $ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/lto- wrapper Target: x86_64-unknown-linux-gnu Configured with: ../configure --prefix=/usr --enable- languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable- threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-lto -- enable-gnu-unique-object --disable-multilib --disable-libstdcxx-pch -- with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib -- libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info Thread model: posix gcc version 4.5.0 (GCC)
$ clang -v clang version 1.1 (branches/release_27) Target: x86_64-unknown-linux-gnu Thread model: posix