http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35688
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-07 21:17:28 UTC --- Created attachment 25744 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25744 patch for 4.6 I think I'm not going to apply this to release branches, as it's a pretty significant change in behavior, but here's a patch against 4.6 if people want to apply it locally.