Commit 49bf4577 by Mark Mitchell Committed by Mark Mitchell

decl2.c (comdat_linkage): Don't externalize explicit instantiations.

	* decl2.c (comdat_linkage): Don't externalize explicit
	instantiations.

From-SVN: r66331
parent 1b293905
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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment