http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53000
--- Comment #13 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-10-10 10:42:20 UTC --- (In reply to comment #11) > Thus, the library bits are done in mainline, right Daniel? In regard to std::common_type, yes. But while making std::common_type sfinae-friendly I searched for common_type in other tests and found at least one test that locally defines a dual common_type and as far as I remember it the test assumption was wrong. I cannot test it from here but I believe it was something that effectively tested the common type of int and const int and the decltype result was assumed to be int (instead of const int&&). Could someone check on this one or I will do that this evening?