On 04/14/2016 10:30 AM, Marek Polacek wrote:
+ /* FIXME: this is violated by the C++ FE as discussed in PR70029, when + FUNCTION_*_QUALIFIED flags are set. */ + if (0 && TYPE_MAIN_VARIANT (t) == t && ct && TYPE_MAIN_VARIANT (ct) != ct)
How about guarding this check with flag_checking rather than disabling it entirely? That way it won't affect released compilers, and we can downgrade the PR from P1, but doesn't hide the bug.
Jason