diff mbox

[C++,trivial?] PR 63905

Message ID 5471EB69.5040607@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Nov. 23, 2014, 2:12 p.m. UTC
Hi,

submitter noticed that when Honza in r201994 changed 
DECL_CONSTRUCTOR_P/DECL_DESTRUCTOR_P to use middle-end flags forgot to 
remove the unused front-end flags. Tested x86_64-linux.

Thanks!
Paolo.

PS: FWIW, the issue still exists in 4_9-branch too.

///////////////////
2014-11-23  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/63905
	* cp-tree.h (lang_decl_fn): Remove constructor_attr, destructor_attr.

Comments

Jason Merrill Nov. 24, 2014, 2:28 a.m. UTC | #1
OK.

Jason
diff mbox

Patch

Index: cp-tree.h
===================================================================
--- cp-tree.h	(revision 217980)
+++ cp-tree.h	(working copy)
@@ -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