http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56539
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-03-06 15:08:29 UTC --- The patch fixes the problem for both 4.7 and 4.8, using the testcase above and the original C++ one it was reduced from.