http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49022
--- Comment #20 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-14 13:22:13 UTC --- I'm not sure, really. I'm going to attach a variant which more explicitly only uses return by const ref and shows the same fundamental problem for me.