This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello,
currently, mangle.c is broken with respect to COMPOUND_EXPR. In fact, COMPOUND_EXPR in templates are generated so that the first operand is a TREE_LIST which holds the two expressions, while the second operand is a null tree. This same bug is present in error.c, and it's been fixed by my (unreviewed) patch:
Have you investigated why COMPOUND_EXPRs are different inside templates? It might be a hold over from the old parser which had issues with cast exprs and abstract decls. It would be neater if you could fix it there.
-- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC The voices in my head said this was stupid too nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |