decl2.c (comdat_linkage): Don't externalize explicit instantiations.
* decl2.c (comdat_linkage): Don't externalize explicit instantiations. From-SVN: r66331
This commit is contained in:
parent
1b293905a3
commit
49bf457745
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-05-01 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl2.c (comdat_linkage): Don't externalize explicit
|
||||
instantiations.
|
||||
|
||||
2003-05-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
PR c++/10554
|
||||
|
|
|
@ -1454,7 +1454,7 @@ comdat_linkage (tree decl)
|
|||
DECL_COMMON (decl) = 1;
|
||||
DECL_INITIAL (decl) = error_mark_node;
|
||||
}
|
||||
else
|
||||
else if (!DECL_EXPLICIT_INSTANTIATION (decl))
|
||||
{
|
||||
/* We can't do anything useful; leave vars for explicit
|
||||
instantiation. */
|
||||
|
|
Loading…
Add table
Reference in a new issue