http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52849
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-16 21:27:18 UTC --- Really, 4.4.x is very old, especially in terms of C++11 features. Current mainline, 4.7.0 and 4.6.x have no problems with the testcase.