From 45410641f31d9a2e4e9af8c6266dde7f74afdc17 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 24 Nov 2014 08:36:32 +0000 Subject: [PATCH] re PR c++/63905 (redundant fields left in gcc/cp/cp-tree.h:lang_decl_fn) 2014-11-24 Paolo Carlini PR c++/63905 * cp-tree.h (lang_decl_fn): Remove constructor_attr, destructor_attr. From-SVN: r218001 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/cp-tree.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6cc7e620970..aaa4f29dbfd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2014-11-24 Paolo Carlini + + PR c++/63905 + * cp-tree.h (lang_decl_fn): Remove constructor_attr, destructor_attr. + 2014-11-21 Jason Merrill PR c++/63657 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 428d559a3d8..19b72919ef4 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -2051,8 +2051,6 @@ struct GTY(()) lang_decl_fn { unsigned global_ctor_p : 1; unsigned global_dtor_p : 1; - unsigned constructor_attr : 1; - unsigned destructor_attr : 1; unsigned assignment_operator_p : 1; unsigned static_function : 1; unsigned pure_virtual : 1; @@ -2066,7 +2064,7 @@ struct GTY(()) lang_decl_fn { unsigned this_thunk_p : 1; unsigned hidden_friend_p : 1; unsigned omp_declare_reduction_p : 1; - /* No spare bits on 32-bit hosts, 32 on 64-bit hosts. */ + /* 2 spare bits on 32-bit hosts, 34 on 64-bit hosts. */ /* For a non-thunk function decl, this is a tree list of friendly classes. For a thunk function decl, it is the -- 2.30.2