aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-05-02 17:45:13 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-05-02 17:45:13 +0000
commit412e0b3cee436a49e1f84bd3a0479b3ec1227cc2 (patch)
tree33f3708182035b13789a94ca3d218818482720f5
parent59182242496bf5774eceeff34576b3631793450a (diff)
downloadgcc-412e0b3cee436a49e1f84bd3a0479b3ec1227cc2.zip
gcc-412e0b3cee436a49e1f84bd3a0479b3ec1227cc2.tar.gz
gcc-412e0b3cee436a49e1f84bd3a0479b3ec1227cc2.tar.bz2
cp-tree.h (lang_decl_flags): Remove comdat.
* cp-tree.h (lang_decl_flags): Remove comdat. Updated dummy. (DECL_COMDAT): Remove definition. From-SVN: r26734
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/cp-tree.h7
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b0f23eb..c767fb3 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,8 @@
+1999-05-02 Mark Mitchell <mark@codesourcery.com>
+
+ * cp-tree.h (lang_decl_flags): Remove comdat. Updated dummy.
+ (DECL_COMDAT): Remove definition.
+
1999-05-01 Mark Mitchell <mark@codesourcery.com>
* decl.c (wrapup_globals_for_namespace): Fix thinko in previous
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 209d95b..955bf0a 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -1173,11 +1173,10 @@ struct lang_decl_flags
unsigned nonconverting : 1;
unsigned declared_inline : 1;
unsigned not_really_extern : 1;
- unsigned comdat : 1;
unsigned needs_final_overrider : 1;
unsigned bitfield : 1;
unsigned defined_in_class : 1;
- unsigned dummy : 3;
+ unsigned dummy : 4;
tree access;
tree context;
@@ -2019,10 +2018,6 @@ extern int flag_new_for_scope;
#define DECL_REALLY_EXTERN(NODE) \
(DECL_EXTERNAL (NODE) && ! DECL_NOT_REALLY_EXTERN (NODE))
-/* Used to tell cp_finish_decl that it should approximate comdat linkage
- as best it can for this decl. */
-#define DECL_COMDAT(NODE) (DECL_LANG_SPECIFIC (NODE)->decl_flags.comdat)
-
#define THUNK_DELTA(DECL) ((DECL)->decl.frame_size.i)
/* ...and for unexpanded-parameterized-type nodes. */