- 30 Apr, 1998 2 commits
-
-
* Makefile.in (cpp.info, gcc.info): Put -o option before input file. * cp/Makefile.in (g++FAQ.info): Put -o option before input file. * f/Make-lang.in (g77.info, g77.dvi, BUGS, INSTALL, NEWS): Put -o option before input file. From-SVN: r19504
Jim Wilson committed -
From-SVN: r19502
Andrew MacLeod committed
-
- 28 Apr, 1998 2 commits
-
-
* semantics.c (begin_stmt_expr): Avoid duplicating the effect of the expression in templates. (finish_stmt_expr): Likewise. From-SVN: r19469
Mark Mitchell committed -
From-SVN: r19466
Brendan Kehoe committed
-
- 27 Apr, 1998 1 commit
-
-
* decl.c (maybe_push_to_top_level): Always clear current_template_parms and processing_template_decl. (pushtag): Remove check of current_class_type and some comments, since maybe_push_to_top_level no longer creates confusion. From-SVN: r19434
Mark Mitchell committed
-
- 26 Apr, 1998 3 commits
-
-
* cp-tree.h (CLASSTYPE_IS_TEMPLATE): New macro. (DECL_CLASS_TEMPLATE_P): Likewise. (DECL_PRIMARY_TEMPLATE): Likewise. (PRIMARY_TEMPLATE_P): Use it. (push_template_decl_real): New function. (redeclare_class_template): Take new template parameters as input. (is_specialization_of): New function. (comp_template_args): Declare. * decl.c (pushtag): Handle friend template classes. (xref_tag): Likewise. Use new calling convention for redeclare_class_template. * decl2.c (grok_x_components): Handle friend templates. * friend.c (is_friend): Use is_specialization_of where appropriate. Deal with friend class templates. (make_friend_class): Let a class template be friends with itself. * pt.c (comp_template_args): Remove declaration. (tsubst_friend_class): New function. (push_template_decl_real): New function. (push_template_decl): Use it. (redeclare_class_template): Adjust for new calling convention. (comp_template_args): Give it external linkage. (instantiate_class_type): Use tsubst_friend_class to deal with friend templates. * typeck.c (comptypes): Use comp_template_args, rather than expanding it inline. * parse.y (component_decl): Handle a nested template type like other component type declarations. From-SVN: r19418
Mark Mitchell committed -
* pt.c (mabybe_get_template_decl_from_type_decl): New function. (lookup_template_class): Use it. From-SVN: r19414
Mark Mitchell committed -
* pt.c (check_explicit_specialization): Handle overloaded constructors correctly. From-SVN: r19413
Mark Mitchell committed
-
- 23 Apr, 1998 4 commits
-
-
* cp-tree.def: Add WRAPPER. USER_CONV now only has two ops. * cp-tree.h: Add WRAPPER support. * call.c (add_candidate): Split out from add_*_candidate fns. (build_over_call): Take the candidate instead of function and args. Enforce access control here. Emit overload warnings here. (add_warning): New fn. (joust): Add WARN parm. If not set, call add_warning instead of printing a warning. Reenable some warnings. (tourney): Pass it. (convert_like): Adjust. (build_new_op): Adjust. (build_new_function_call): Adjust. (build_user_type_conversion_1): Adjust. (USER_CONV_FN): Adjust. * tree.c (build_expr_wrapper, build_expr_ptr_wrapper, build_int_wrapper): New fns. From-SVN: r19393
Jason Merrill committed -
From-SVN: r19387
Mark Mitchell committed -
From-SVN: r19384
Jason Merrill committed -
From-SVN: r19383
Jason Merrill committed
-
- 22 Apr, 1998 3 commits
-
-
From-SVN: r19380
Mark Mitchell committed -
* pt.c (tsubst): Decrease the template-level of TEMPLATE_TEMPLATE_PARMS. Likewise for the DECL_INITIAL of a TEMPLATE_PARM_INDEX. (template_decl_level): New function. (unify): Make sure to record unifications for template parameters, even when the parameters exactly match the arguments. Combine duplicated code for TEMPLATE_TEMPLATE_PARMs and TEMPLATE_TYPE_PARMS. Don't try to unify template parameters that aren't from the level we're currently working on. From-SVN: r19378
Mark Mitchell committed -
* class.c (finish_struct): Set TREE_PRIVATE and TREE_PROTECTED for the DECL_RESULTs of a member TEMPLATE_DECL, not just the TEMPLATE_DECL. From-SVN: r19376
Mark Mitchell committed
-
- 21 Apr, 1998 8 commits
-
-
From-SVN: r19369
Mark Mitchell committed -
* decl2.c (check_member_template): Set DECL_IGNORED for member class templates, too. From-SVN: r19368
Mark Mitchell committed -
From-SVN: r19367
Mark Mitchell committed -
* decl.c (duplicate_decls): Only check DECL_FRIEND_P if function. g++/15307 redux From-SVN: r19363
Benjamin Kosnik committed -
8 * decl.c (duplicate_decls): Only check DECL_FRIEND_P if function. g++/15307 redux From-SVN: r19362
Benjamin Kosnik committed -
From-SVN: r19361
Jason Merrill committed -
From-SVN: r19360
Jason Merrill committed -
* cp-tree.h (intTI_type_node, unsigned_intTI_type_node): Declare. * decl.c (intTI_type_node, unsigned_intTI_type_node): Define. (init_decl_processing): Handle TI types. * typeck.c (unsigned_type, signed_type): Handle TI types. From-SVN: r19356
Jeffrey A Law committed
-
- 18 Apr, 1998 1 commit
-
-
* g++spec.c (lang_specific_driver): New argument in_added_libraries. New local added_libraries. Increment count when add library to arglist. From-SVN: r19279
Jim Wilson committed
-
- 17 Apr, 1998 10 commits
-
-
Fri Apr 17 21:25:00 1998 Mark Mitchell <mmitchell@usa.net> * cp-tree.h (type_as_string_real): New function. * pt.c (mangle_class_name_for_template): Use it. * error.c (dump_aggr_type): Change prototype. (dump_type_prefix): Likewise. (dump_type_suffix): Likewise. (dump_type_real): Convert from dump_type. If desired, the "canonica" name of a typedef, i.e., the name of the underlying type, can be printed. (dump_type): Call dump_type_real. From-SVN: r19273
Mark Mitchell committed -
From-SVN: r19270
Jason Merrill committed -
From-SVN: r19269
Jason Merrill committed -
* decl2.c (lang_decode_option): -fnew-abi implies -fvtable-thunks. * typeck.c (comp_target_types): Tweak pedantic case. (comp_target_parms): Tweak pedantic case. Clean up somewhat. Return -1 or 1 instead of 1 or 2. (compparms): Remove STRICT handling. * typeck.c (comp_target_types): Handle references like pointers. (comp_target_parms): Note that return code from comp_target_types can be negative to indicate failure. From-SVN: r19268
Jason Merrill committed -
From-SVN: r19262
Jeff Law committed -
* Make-lang.in (c++.all.build): Don't depend on $(DEMANGLER_PROG), which requires a working target compiler to build. From-SVN: r19260
Andreas Schwab committed -
* tree.c (avoid_overlap): Add prototype. * spew.c (num_tokens): Add prototype. (nth_noken, add_token, consume_token, debug_yychar): Likewise. * search.c (dfs_check_overlap): Add prototype. (dfs_no_overlap_yet): Likewise. * pt.c (original_template): Add prototype. (inline_needs_template_parms): Likewise. (push_inline_template_parms_recursive): Likewise. (retrieve_specialization, register_specialization): Likewise. (print_candidates, reduce_template_parm_level): Likewise. (build_template_decl, mark_template_parm): Likewise. (tsubst_friend_function, get_bindings_real): Likewise. * method.c (start_squangling): Add prototype. (end_squangling, check_ktype, issue_ktype): Likewise. (build_overloaded_scope_ref, check_btype): Likewise. (build_mangled_template_parm_index): Likewise. * lex.c (init_cpp_parse): Add prototype. (handle_cp_pragma, handle_sysv_pragma): Likewise. (reduce_cmp, token_cmp): Likewise. * except.c (call_eh_info): Add prototype. (push_eh_info, get_eh_info, get_eh_value, get_eh_type): Likewise. (get_eh_caught, get_eh_handlers, do_pop_exception): Likewise. * decl2.c (is_namespace_ancestor): Add prototype. (namespace_ancestor, add_using_namespace): Likewise. (ambiguous_decl): Likewise. * decl.c (indent): Add prototype. * call.c (add_template_candidate_real): Add prototype. From-SVN: r19259
Jeffrey A Law committed -
From-SVN: r19256
Jason Merrill committed -
* typeck2.c (process_init_constructor): Don't strip cv-qualifiers when doing initializations. From-SVN: r19255
Mark Mitchell committed -
* decl.c (duplicate_decls): Fix check for when it's safe to free the new decl. * pt.c (mangle_class_name_for_template): Don't pass a typedef type to type_as_string. From Mark Mitchell: (unify): Use comptypes to compare type args. From-SVN: r19252
Jason Merrill committed
-
- 16 Apr, 1998 4 commits
-
-
8 * pt.c (build_template_parm_index): Add prototype. From-SVN: r19240
Jeff Law committed -
� * pt.c (build_template_parm_index): Add prototype. From-SVN: r19239
Jeff Law committed -
8 * search.c (my_tree_cons): Don't clear words outside the newly allocated node. From-SVN: r19238
Jeff Law committed -
� * search.c (my_tree_cons): Don't clear words outside the newly allocated node. From-SVN: r19237
Jeff Law committed
-
- 15 Apr, 1998 2 commits
-
-
Wed Apr 15 15:34:44 1998 Dave Brolley <brolley@cygnus.com> * lex.c (init_parse): Now returns char* containing the filename. From-SVN: r19228
Dave Brolley committed -
* errfn.c: Rework to avoid problems when HOST_WIDE_INT is longer than a pointer. Co-Authored-By: Jeffrey A Law <law@cygnus.com> From-SVN: r19226
John Carr committed
-