On 06/05/2013 11:45 AM, Paolo Carlini wrote:
Now, something else I noticed a few days ago is that for C-style casts things work fine in any case: the difference being that in that case we set parser->in_type_id_in_expr_p to true, something we don't do for static_cast (and the other C++ casts) in cp_parser_postfix_expression. If I do that, then all the testcases we are considering pass with no regressions in the testsuite. Is it something we could do? Patch draft attached.
OK. Jason