From: Jason Merrill Date: Fri, 17 Jun 2011 20:07:33 +0000 (-0400) Subject: cp-tree.h (struct tree_lambda_expr): Change common to typed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2cd8d506c4c4ffac3b47e2fe55c94de35e8de0f7;p=gcc.git cp-tree.h (struct tree_lambda_expr): Change common to typed. * cp-tree.h (struct tree_lambda_expr): Change common to typed. Move non-pointers to end of struct. From-SVN: r175155 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 81b332de847..e90d12da42c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,8 @@ 2011-06-17 Jason Merrill + * cp-tree.h (struct tree_lambda_expr): Change common to typed. + Move non-pointers to end of struct. + * pt.c (tsubst_decl): Handle DECL_VALUE_EXPR on reference. * decl.c (check_initializer): Handle DECL_VALUE_EXPR_P. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index ff8b2dc121e..ee303fec883 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -662,13 +662,13 @@ enum cp_lambda_default_capture_mode_type { struct GTY (()) tree_lambda_expr { - struct tree_common common; - location_t locus; - enum cp_lambda_default_capture_mode_type default_capture_mode; + struct tree_typed typed; tree capture_list; tree this_capture; tree return_type; tree extra_scope; + location_t locus; + enum cp_lambda_default_capture_mode_type default_capture_mode; int discriminator; };