http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48038
--- Comment #23 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-03-09 15:33:33 UTC --- Vincenzo no hurry, thankfully Chris has a patch essentially ready (apparently) and most likely we can fix the problem over the next hours. But in general I'm unconvinced that it makes sense for a comparison operator of class types to use pass by value. I would be interested in understanding more about your use case (maybe in private, whatever you prefer)