"...security/git@gitlab.redox-os.org:redox-os/cookbook.git" did not exist on "5e2e8741ed87c6ab569e1b03b6e7410208c63946"
* cp-tree.h (struct language_function): Remove x_base_init_list
and x_member_init_list. (current_base_init_list): Remove. (current_member_init_list): Likewise. (setup_vtbl_ptr): Change prototype. (emit_base_init): Likewise. (expand_member_init): Likewise. (reinit_parse_for_function): Remove. * decl.c (save_function_data): Don't clear x_base_init_list and x_member_init_list. (mark_language_function): Don't mark them. * init.c (perform_member_init): Tweak comment. (sort_member_init): Take the list of initializers as an argument. (sort_base_init): Likewise. (emit_base_init): Likewise. (expand_member_init): Return the initializer. Don't use global variables. * lex.c (reinit_parse_for_function): Remove. * method.c (build_template_parm_names): Correct substitution. (do_build_copy_constructor): Don't use current_member_init_list and current_base_init_list. (synthesize_method): Likewise. * parse.y (base_init): Split mem-initializers into base-initializers and field-initializers. (member_init_list): Build up the list here. (member_init): Return the initializer. (fn.depfn): Don't use reinit_parse_for_function. * parse.c: Regenerated. * pt.c (convert_nontype_argument): Don't make an ADDR_EXPR of the ERROR_MARK. (tsubst_expr): Don't use current_member_init_list and current_base_init_list. (tsubst_expr_values): Rename to ... (tsubst_initializer_list): ... this. Use convert_from_reference. * semantics.c (setup_vtbl_ptr): Don't use current_member_init_list and current_base_init_list. (begin_function_definition): Don't call reinit_parse_for_function. * dump.c (dequeue_and_dump): Use TREE_VEC_LENGTH with vectors. * error.c (dump_expr): Handle ADDR_EXPRs with REFERENCE_TYPE correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34571 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/cp/ChangeLog 43 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/cp-tree.h 3 additions, 19 deletionsgcc/cp/cp-tree.h
- gcc/cp/decl.c 0 additions, 4 deletionsgcc/cp/decl.c
- gcc/cp/dump.c 1 addition, 1 deletiongcc/cp/dump.c
- gcc/cp/error.c 6 additions, 1 deletiongcc/cp/error.c
- gcc/cp/init.c 59 additions, 67 deletionsgcc/cp/init.c
- gcc/cp/lex.c 0 additions, 7 deletionsgcc/cp/lex.c
- gcc/cp/method.c 14 additions, 12 deletionsgcc/cp/method.c
- gcc/cp/parse.c 883 additions, 824 deletionsgcc/cp/parse.c
- gcc/cp/parse.y 73 additions, 19 deletionsgcc/cp/parse.y
- gcc/cp/pt.c 38 additions, 19 deletionsgcc/cp/pt.c
- gcc/cp/semantics.c 5 additions, 4 deletionsgcc/cp/semantics.c
- gcc/testsuite/g++.old-deja/g++.pt/ref3.C 21 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.pt/ref3.C
Loading
Please register or sign in to comment