Commit 3bd1e206 by Jason Merrill Committed by Jason Merrill

decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method;…

decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method; it might have been inlined by -O3.

	* decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
	for our key method; it might have been inlined by -O3.

From-SVN: r15877
parent ffb690bd
Wed Oct 8 00:18:22 1997 Jason Merrill <jason@yorick.cygnus.com>
* decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN
for our key method; it might have been inlined by -O3.
Tue Oct 7 23:00:12 1997 Mark Mitchell <mmitchell@usa.net> Tue Oct 7 23:00:12 1997 Mark Mitchell <mmitchell@usa.net>
* decl.c (make_typename_type): Do not try to call lookup_field for * decl.c (make_typename_type): Do not try to call lookup_field for
......
...@@ -2589,8 +2589,9 @@ finish_prevtable_vardecl (prev, vars) ...@@ -2589,8 +2589,9 @@ finish_prevtable_vardecl (prev, vars)
&& !DECL_ABSTRACT_VIRTUAL_P (method)) && !DECL_ABSTRACT_VIRTUAL_P (method))
{ {
SET_CLASSTYPE_INTERFACE_KNOWN (ctype); SET_CLASSTYPE_INTERFACE_KNOWN (ctype);
CLASSTYPE_VTABLE_NEEDS_WRITING (ctype) = ! DECL_EXTERNAL (method); CLASSTYPE_VTABLE_NEEDS_WRITING (ctype)
CLASSTYPE_INTERFACE_ONLY (ctype) = DECL_EXTERNAL (method); = ! DECL_REALLY_EXTERN (method);
CLASSTYPE_INTERFACE_ONLY (ctype) = DECL_REALLY_EXTERN (method);
break; break;
} }
} }
......
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