http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52822
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-01 21:50:42 UTC --- Lately, in 4.6 too, in the occasion of a similar issue, we also added a check for self-move assignment to __gnu_test::rvalstruct. Evidently, the small testcases we have got already do not trigger the offending case, unfortunately. Anyway, luckily these issues are normally easy to fix. If Jeffrey, you are able to quickly prepare a patch and send it to the mailing list, Jon can approve and commit it (I will be traveling for a few days). Should be definitely suited for 4.7.1 and maybe 4.6 too, if small enough.