mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 17:37:43 +08:00
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
This commit is contained in:
parent
ffb690bd08
commit
3bd1e206cb
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* decl.c (make_typename_type): Do not try to call lookup_field for
|
||||
|
@ -2589,8 +2589,9 @@ finish_prevtable_vardecl (prev, vars)
|
||||
&& !DECL_ABSTRACT_VIRTUAL_P (method))
|
||||
{
|
||||
SET_CLASSTYPE_INTERFACE_KNOWN (ctype);
|
||||
CLASSTYPE_VTABLE_NEEDS_WRITING (ctype) = ! DECL_EXTERNAL (method);
|
||||
CLASSTYPE_INTERFACE_ONLY (ctype) = DECL_EXTERNAL (method);
|
||||
CLASSTYPE_VTABLE_NEEDS_WRITING (ctype)
|
||||
= ! DECL_REALLY_EXTERN (method);
|
||||
CLASSTYPE_INTERFACE_ONLY (ctype) = DECL_REALLY_EXTERN (method);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user