http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48164
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-01 19:11:45 UTC --- Works for me with: GNU C++ (GCC) version 4.5.0 20100401 (experimental) [trunk revision 157933] (x86_64-unknown-linux-gnu) GNU C++ (GCC) version 4.6.0 20110210 (experimental) [trunk revision 170025] (x86_64-unknown-linux-gnu) I have not tested any other version.