diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index c0eb945..984fb09 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -9547,6 +9547,7 @@ dfs_accumulate_vtbl_inits (tree binfo, } static GTY(()) tree abort_fndecl_addr; +static GTY(()) tree dvirt_fn; /* Construct the initializer for BINFO's virtual function table. BINFO is part of the hierarchy dominated by T. If we're building a @@ -9720,8 +9721,6 @@ build_vtbl_initializer (tree binfo, /* Likewise for deleted virtuals. */ else if (DECL_DELETED_FN (fn_original)) { - static tree dvirt_fn; - if (!dvirt_fn) { tree name = get_identifier ("__cxa_deleted_virtual"); |