------- Comment #4 from manu at gcc dot gnu dot org  2008-10-26 01:42 -------
The culprit is (yet again) parsing tentatively. cp_parser_cast_expression
parses tentatively the whole:

(t *)malloc(sizeof(t) * t->a)

not committing to parse definitively at any moment. Hence, when this fails, the
whole thing is rejected and there is no way to know where the error occurred.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26997

Reply via email to