------- Comment #6 from pinskia at gcc dot gnu dot org 2010-01-08 03:43 ------- (In reply to comment #4) > (Should have mentioned i did the second set of tests with a modified "unused" > having "T&" as parameter type, and relying on failure of binding of non-const > references to rvalues. GCC does not reject the two calls).
Well the function call case has been fixed on the trunk as I mentioned in comment #5. But these are all different issues ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42655