http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52233 --- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-04 23:37:19 UTC --- This works in 4.7.2 and mainline. I'm adding the testcase to mainline and closing the PR.