http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48038
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-09 11:18:09 UTC --- N.B. that last testcase still fails if operator< takes its arguments by reference, the problem is not caused by taking the args by value, that just made it show up in the original example