diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 5fe341e..0e37f1a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -4718,6 +4718,9 @@ cxx_init_decl_processing (void) nullptr_node = build_int_cst (nullptr_type_node, 0); } + if (! supports_one_only ()) + flag_weak = 0; + abort_fndecl = build_library_fn_ptr ("__cxa_pure_virtual", void_ftype, ECF_NORETURN | ECF_NOTHROW | ECF_COLD); @@ -4733,9 +4736,6 @@ cxx_init_decl_processing (void) if (flag_exceptions) init_exception_processing (); - if (! supports_one_only ()) - flag_weak = 0; - if (modules_p ()) init_modules (parse_in); |