http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49003
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-29 22:20:26 UTC --- Created attachment 24642 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24642 patch for 4.6 I've been pretty free about applying non-regression fix patches to the 4.6 branch, but I think now that 4.6.1 has gone out I'm going to be more conservative. But here's a patch against the 4.6 branch if you want to apply it locally.