http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50853
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-24 14:06:26 UTC --- The 4.6.1 release and trunk both give the error I quoted. What does 'gcc -v' show for your compiler? (that info should be in the report anyway! ;)