decl.c (wrapup_globals_for_namespace): Fix thinko in previous change.
* decl.c (wrapup_globals_for_namespace): Fix thinko in previous change. From-SVN: r26716
This commit is contained in:
parent
16b78900fe
commit
91f2aa2287
|
@ -1,3 +1,8 @@
|
|||
1999-05-01 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* decl.c (wrapup_globals_for_namespace): Fix thinko in previous
|
||||
change.
|
||||
|
||||
1999-04-30 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* class.c (build_vtable): Use build_lang_decl when building
|
||||
|
|
|
@ -2012,7 +2012,7 @@ wrapup_globals_for_namespace (namespace, data)
|
|||
wrapup_global_declarations from writing them out; we must process
|
||||
them ourselves in finish_vtable_vardecl. */
|
||||
for (i = 0; i < len; ++i)
|
||||
if (vtable_decl_p (vec[i], /*data=*/0))
|
||||
if (vtable_decl_p (vec[i], /*data=*/0) && !DECL_EXTERNAL (vec[i]))
|
||||
{
|
||||
DECL_NOT_REALLY_EXTERN (vec[i]) = 1;
|
||||
DECL_EXTERNAL (vec[i]) = 1;
|
||||
|
|
Loading…
Reference in New Issue