diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1997-11-27 19:26:15 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-11-27 14:26:15 -0500 |
commit | 77be6f82096e0dea19e96225f5c24740ec6090fb (patch) | |
tree | fea0b573019967579efbc59afc9bfd8483d47b27 /gcc/cp/pt.c | |
parent | 80c2681c0aa9298df4ad2f5ff580ec82f1b74534 (diff) | |
download | gcc-77be6f82096e0dea19e96225f5c24740ec6090fb.zip gcc-77be6f82096e0dea19e96225f5c24740ec6090fb.tar.gz gcc-77be6f82096e0dea19e96225f5c24740ec6090fb.tar.bz2 |
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
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 370c9e2..3b56dac 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -4497,7 +4497,6 @@ instantiate_decl (d) popclass (1); } - /* import_export_decl has to happen after DECL_INITIAL is set up. */ if (pattern_defined) { repo_template_used (d); |