diff options
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 380bc79..5ca426b 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -4180,6 +4180,10 @@ cxx_init_decl_processing (void) nullptr_node = build_int_cst (nullptr_type_node, 0); } + empty_struct_type = make_node (RECORD_TYPE); + finish_builtin_struct (empty_struct_type, "__empty_struct", + NULL_TREE, NULL_TREE); + abort_fndecl = build_library_fn_ptr ("__cxa_pure_virtual", void_ftype, ECF_NORETURN | ECF_NOTHROW); |