]> git.ipfire.org Git - thirdparty/gcc.git/commit
cp-tree.h (struct lang_decl_flags): Add comdat.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 19 Dec 1997 08:38:33 +0000 (08:38 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Dec 1997 08:38:33 +0000 (01:38 -0700)
commitfb7f625d374775e8dca50d5e39536ed2b9edc2d8
tree34366c2cea5ee88167c043fd7b9773c389bc3f7a
parentef9fdf40631edc4d40c17bab7a8e412c1c12e9b0
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: r17149
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c