Hi! The recent Nathan's change apparently broke -fdump-tree-all, in particular I see ICEs when running -fdump-tree-all on the PR49144 testcase. The problem is that CTOR_INITIALIZER is tcc_expression, and while it is built with build_min_nt, when dumping *.tu TREE_TYPE is used on all expr codes.
tree_exp contains tree_typed, so IMHO we should just say it has the type too. Ok for trunk? 2011-05-25 Jakub Jelinek <ja...@redhat.com> * cp-objcp-common.c (cp_common_init_ts): Mark CTOR_INITIALIZER as TS_TYPED. --- gcc/cp/cp-objcp-common.c.jj 2011-05-11 19:38:52.000000000 +0200 +++ gcc/cp/cp-objcp-common.c 2011-05-25 00:17:19.000000000 +0200 @@ -297,6 +297,7 @@ cp_common_init_ts (void) MARK_TS_TYPED (VEC_INIT_EXPR); MARK_TS_TYPED (USING_STMT); MARK_TS_TYPED (LAMBDA_EXPR); + MARK_TS_TYPED (CTOR_INITIALIZER); } #include "gt-cp-cp-objcp-common.h" Jakub