http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40975
--- Comment #5 from Zdenek Sojka <zsojka at seznam dot cz> 2011-04-19 15:08:36 UTC --- Indeed 3.4 works even with checking enabled: $ /mnt/sda1/gcc-3_4/binary-172709/bin/g++ pr40975.C -c $ g++ -v Reading specs from /mnt/sda1/gcc-3_4/binary-172709/bin/../lib/gcc/x86_64-unknown-linux-gnu/3.4.6/specs Configured with: /mnt/sda1/gcc-3_4/configure --enable-checking=yes --enable-languages=c,c++ --prefix=/mnt/sda1/gcc-3_4/binary-172709/ --disable-werror --disable-bootstrap --disable-multilib Thread model: posix gcc version 3.4.6 (I can't edit the "known to work/fail" fields, nor the summary)