diff options
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r-- | gcc/cp/repo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index 7812823..b02af8a 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -171,9 +171,9 @@ repo_inline_used (fn) /* Member functions of polymorphic classes go with their vtables. */ if (DECL_FUNCTION_MEMBER_P (fn) - && TYPE_POLYMORPHIC_P (DECL_CLASS_CONTEXT (fn))) + && TYPE_POLYMORPHIC_P (DECL_CONTEXT (fn))) { - repo_vtable_used (DECL_CLASS_CONTEXT (fn)); + repo_vtable_used (DECL_CONTEXT (fn)); return; } |