summaryrefslogtreecommitdiffstats
path: root/gcc/cp/init.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-24 06:15:04 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-05-24 06:15:04 +0000
commita484e8dbbdf7c08aeaba6045c06600a572ff75c8 (patch)
tree8e2371cfca8f35a1de18c2cef46477b400969c19 /gcc/cp/init.c
parent80725cb4bb5bba9b3b94dae71667dee19082c6d6 (diff)
downloadppe42-gcc-a484e8dbbdf7c08aeaba6045c06600a572ff75c8.tar.gz
ppe42-gcc-a484e8dbbdf7c08aeaba6045c06600a572ff75c8.zip
* cp-tree.h (lang_decl_flags): Rename mutable_flag to uninlinable
and bitfield to tinfo_fn_p. (DECL_TINFO_FN_P): Adjust. (SET_DECL_TINFO_FN_P): Likewise. (DECL_MUTABLE_P): Likewise. (DECL_C_BIT_FIELD): Likewise. (SET_DECL_C_BIT_FIELD): Likewise. (CLEAR_DECL_C_BIT_FIELD): Likewise. (DECL_UNINLINABLE): Likewise. * class.c (alter_access): Call retrofit_lang_decl if ncessary. (handle_using_decl): Remove assertion. (build_vtbl_or_vbase_field): Use build_decl, not build_lang_decl, to build FIELD_DECLs. (build_base_field): Likewise. (layout_class_type): Likewise. * decl.c (init_decl_processing): Likewise. (build_ptrmemfunc_type): Likewise. (grokdeclarator): Likewise. * decl2.c (grok_x_components): Likewise. * except.c (call_eh_info): Likewise. * init.c (init_init_processing): Likewise. * rtti.c (expand_class_desc): Likewise. (create_pseudo_type_info): Likewise. (get_vmi_pseudo_type_info): Likewise. (create_tinfo_types): Likewise. * ptree.c (print_lang_decl): Adjust. * typeck.c (build_component_ref): Don't check DECL_LANG_SPECIFIC before checking DECL_MUTABLE_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34125 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/init.c')
-rw-r--r--gcc/cp/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 3dbca4b2677..aece8ed4da3 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -68,7 +68,7 @@ void init_init_processing ()
/* Define the structure that holds header information for
arrays allocated via operator new. */
BI_header_type = make_aggr_type (RECORD_TYPE);
- fields[0] = build_lang_decl (FIELD_DECL, nelts_identifier, sizetype);
+ fields[0] = build_decl (FIELD_DECL, nelts_identifier, sizetype);
/* Use the biggest alignment supported by the target to prevent operator
new from returning misaligned pointers. */
OpenPOWER on IntegriCloud