http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922
--- Comment #3 from scott at smedleyfamily dot net 2012-04-10 07:45:58 UTC --- Hi Andrew, Works fine - see below. Let me know if there's anything I can do to help. Scott. :) lcas-el6build1>> cat >! test.cc #include "string.h" #include "stdio.h" int main(void) { printf ("Hello world.\n"); } lcas-el6build1>> g++ -pedantic test.cc lcas-el6build1>> g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.6.2/configure --prefix=/usr/local/gcc-4.6.2 --enable-cloog-backend --enable-lto Thread model: posix gcc version 4.6.2 (GCC)