cp-tree.h (struct lang_decl_flags): Add comdat.
authorJason Merrill <jason@yorick.cygnus.com>
Thu, 27 Nov 1997 19:26:15 +0000 (19:26 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 27 Nov 1997 19:26:15 +0000 (14:26 -0500)
commit77be6f82096e0dea19e96225f5c24740ec6090fb
treefea0b573019967579efbc59afc9bfd8483d47b27
parent80c2681c0aa9298df4ad2f5ff580ec82f1b74534
cp-tree.h (struct lang_decl_flags): Add comdat.

* cp-tree.h (struct lang_decl_flags): Add comdat.
(DECL_COMDAT): New macro.
* decl.c (duplicate_decls): Propagate it.
(cp_finish_decl): Handle it.
* decl2.c (import_export_decl): Just set DECL_COMDAT on VAR_DECLs.

From-SVN: r16804
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c