📄 changelog.1
字号:
* decl.c (duplicate_decls): Decls that have DECL_INTERFACE_KNOWN or DECL_NOT_REALLY_EXTERN set aren't extern decls. * typeck.c (build_indirect_ref): Don't call default_conversion for a parameter of reference_type. * cvt.c (convert_from_reference): Just use build_indirect_ref. * pt.c (do_type_instantiation): Only instantiate member functions that actually come from templates.Fri May 5 09:46:05 1995 Mike Stump <mrs@cygnus.com> * parse.y: Generalized cleanup of poplevels, and compound statements and compound statements in try blocks. Rewritten `for' rule so that the scope of variables declared in the for clause is shortened to span just to the end of the statement, instead of the whole containing block.Fri May 5 00:37:14 1995 Jason Merrill <jason@phydeaux.cygnus.com> * call.c (convert_harshness): Handle pointers to members better.Thu May 4 16:00:26 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl2.c (delete_sanity): Do access control here. * init.c (build_delete): Instead of here. * Make-lang.in: Build c++filt.Wed May 3 02:59:53 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl2.c (cplus_decl_attributes): If we just modified a TYPE_DECL, update our IDENTIFIER_TYPE_VALUE.Fri Apr 28 07:58:41 1995 Jason Merrill <jason@phydeaux.cygnus.com> * lex.c (cons_up_default_function): Fix linkage of #pragma implemented functions.Thu Apr 27 16:56:24 1995 Jason Merrill <jason@phydeaux.cygnus.com> * method.c (build_overload_name): Simplify and fix repeated type folding. * decl.c (grokdeclarator): Prohibit pointers to void or reference members.Thu Apr 27 09:49:07 1995 Mike Stump <mrs@cygnus.com> * typeck2.c (process_init_constructor): Make sure initializers are fully digested.Thu Apr 27 01:11:55 1995 Jason Merrill <jason@python.cygnus.com> * lex.c (cons_up_default_function): Always defer synthesis.Thu Apr 27 00:20:37 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl2.c (mark_inline_for_output): Don't play with pending_inline stuff.Wed Apr 26 17:48:24 1995 Jason Merrill <jason@phydeaux.cygnus.com> * call.c (user_harshness): New function; like build_type_conversion, but doesn't actually build anything. (compute_conversion_costs): Use it instead of build_type_conversion.Wed Apr 26 17:11:25 1995 Jason Merrill <jason@deneb.cygnus.com> * typeck.c (build_function_call_real): Improve error message for calling a non-function. * method.c (hack_identifier): Lose check for calling a data member.Wed Apr 26 16:59:13 1995 Mike Stump <mrs@cygnus.com> * typeck2.c (build_functional_cast): Remove very old cruft. Seems like good code is generated without it.Wed Apr 26 00:47:16 1995 Jason Merrill <jason@phydeaux.cygnus.com> * method.c (do_build_assign_ref): Fix handling of anonymous unions. (do_build_copy_constructor): Likewise. * parse.y (simple_stmt, SWITCH): Call {push,pop}_switch. * decl.c (push_switch): New function. (pop_switch): Likewise. (define_case_label): Check for jumping over initialization. * call.c (build_method_call): Check for an inline function being called before its definition has been seen. * typeck.c (build_function_call_real): Likewise. * decl.c (duplicate_decls): Check for a function being redeclared inline after its address has been taken. * typeck.c (build_conditional_expr): Handle related class lvalues.Tue Apr 25 13:20:45 1995 Jason Merrill <jason@phydeaux.cygnus.com> * pt.c (do_pending_expansions): Don't expand unused templates. * parse.y (component_decl): Accept a lone semicolon.Tue Apr 25 00:25:56 1995 Jason Merrill <jason@rtl.cygnus.com> * call.c (build_method_call): Don't allow an RTL_EXPR to serve as the object parameter anymore. * expr.c (cplus_expand_expr): Don't create RTL_EXPRs with no insns.Mon Apr 24 12:35:48 1995 Jason Merrill <jason@phydeaux.cygnus.com> * parse.y (simple_stmt, decl case): Clear prefix_attributes. (lang_extdef): Likewise. * parse.y (maybe_parmlist): New rule for use in declarators where this could either be a list of expressions or parameters. Calls suspend_momentary before deciding which. (direct_after_type_declarator): Use it. (complex_direct_notype_declarator): Use it. * pt.c (tsubst): Propagate attributes const and noreturn. * typeck.c (build_modify_expr): If warn_synth, call build_opfncall before doing the default thing.Thu Apr 27 21:49:36 1995 Doug Evans <dje@cygnus.com> * typeck.c (common_type): Call lookup_attribute instead of value_member.Tue Apr 25 18:07:43 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * Make-lang.in: Change "realclean" to "maintainer-clean".Sun Apr 23 12:32:38 1995 Mike Stump <mrs@cygnus.com> * decl2.c (finish_file): Fix broken linked list handling.Fri Apr 21 18:08:43 1995 Jason Merrill <jason@phydeaux.cygnus.com> * class.c (finish_base_struct): Don't set TYPE_HAS_COMPLEX_*_REF as often. (finish_struct): Likewise. * various: Use TYPE_HAS_TRIVIAL_* instead of TYPE_HAS_COMPLEX_*. * cp-tree.h (TYPE_HAS_TRIVIAL_INIT_REF): New macro. (TYPE_HAS_TRIVIAL_ASSIGN_REF): New macro.Fri Apr 21 15:52:22 1995 Jason Merrill <jason@python.cygnus.com> * typeck.c (c_expand_return): Only expand a returned TARGET_EXPR if it is of the same type as the return value.Fri Apr 21 03:01:46 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl2.c (finish_file): Reconsider if synthesizing a method wrote out its assembly. * typeck.c (convert_for_initialization): Don't call a trivial copy constructor. * typeck2.c (store_init_value): Only abort if the type has a non-trivial copy constructor. * typeck.c (c_expand_return): If we're returning in a register and the return value is a TARGET_EXPR, expand it. Only do expand_aggr_init if we're returning in memory. (expand_target_expr): Function to expand a TARGET_EXPR. (build_modify_expr): Use it. * tree.c (build_cplus_new): Layout the slot. * expr.c (cplus_expand_expr): Use expand_call to expand the call under a NEW_EXPR, so the target is not discarded.Thu Apr 20 14:59:31 1995 Mike Stump <mrs@cygnus.com> * gc.c (build_dynamic_cast): Tighten error checking.Thu Apr 20 11:23:54 1995 Jason Merrill <jason@phydeaux.cygnus.com> * expr.c (cplus_expand_expr): Only abort if the returned target is different from what we expected if the type has a non-trivial copy constructor. * decl2.c (cplus_decl_attributes): Attributes applied to a template really apply to the template's result. * tree.c (lvalue_p): Check IS_AGGR_TYPE instead of TREE_ADDRESSABLE to decide whether to consider a CALL_EXPR an lvalue. * class.c (finish_struct_bits): Only set TREE_ADDRESSABLE if the type has a non-trivial copy constructor. * decl.c (start_function): If interface_known, unset DECL_NOT_REALLY_EXTERN on the function.Wed Apr 19 16:53:13 1995 Jason Merrill <jason@phydeaux.cygnus.com> * pt.c (do_function_instantiation): Handle explicit instantiation of member functions. (do_type_instantiation): Handle 'inline template class foo<int>', meaning just spit out the vtable. * lex.c (cons_up_default_function): Set DECL_NOT_REALLY_EXTERN on the consed functions. * decl2.c (import_export_inline): Set DECL_INTERFACE_KNOWN.Wed Apr 19 16:28:17 1995 Brendan Kehoe <brendan@lisa.cygnus.com> * call.c, class.c, decl2.c, gc.c, init.c, parse.y, pt.c, search.c, typeck.c: Include output.h.Wed Apr 19 14:57:21 1995 Gerald Baumgartner <gb@alexander.cs.purdue.edu> * call.c (build_method_call): Allow a signature member functions to be called from a default implementation.Wed Apr 19 10:21:17 1995 Jason Merrill <jason@phydeaux.cygnus.com> * repo.c (finish_repo): Remember what directory we are in. * search.c (expand_upcast_fixups): Don't mess with abort_fndecl. * repo.c: Use obstacks instead of fixed-size buffers. Don't spit out the second copy of the symbol name. Don't remember COLLECT_GCC.Wed Apr 19 02:32:40 1995 Mike Stump <mrs@cygnus.com> * search.c (virtual_context): New function to get the virtual context of a function. (expand_upcast_fixups): New function to generate runtime vtables. (fixup_virtual_upcast_offsets): Likewise. (expand_indirect_vtbls_init): Use fixup_virtual_upcast_offsets to ensure that the this offsets for upcasts from virtual bases into other virtual bases or non-virtual bases are correct at construction time and destruction time. * class.c (fixup_vtable_deltas): Modify to fixup all offsets in all vtables in all virtual bases, instead of just one vtable in each virtual base. (fixup_vtable_deltas1): Likewise.Tue Apr 18 03:57:35 1995 Michael Meissner <meissner@cygnus.com> * Makefile.in (lex.o): Add dependency on c-pragma.h. * lex.c (handle_sysv_pragma): Use NULL_PTR and NULL_TREE as appropriate, instead of 0.Mon Apr 17 12:28:42 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl.c (pushdecl): Use decls_match, not duplicate_decls, for comparing local and global decls.Fri Apr 14 01:46:52 1995 Jason Merrill <jason@phydeaux.cygnus.com> * typeck.c (convert_arguments): Only prohibit passing to ... of types with non-trivial copy constructors. * repo.c (repo_template_used): Don't try to mess with no id.Fri Apr 14 23:32:50 1995 Per Bothner <bothner@rtl.cygnus.com> * decl.c (duplicate_decls): Use cp_warning_at for redundant-decls.Thu Apr 13 15:37:42 1995 Brendan Kehoe <brendan@lisa.cygnus.com> * cp-tree.h (current_tinst_level): Delete declaration, since it's static inside pt.c. * typeck.c (build_modify_expr): Catch incompatible array assignment. * parse.y (attribute_list, attrib): Rewrite actions to feed the right stuff to decl_attributes.Thu Apr 13 11:24:10 1995 Jason Merrill <jason@phydeaux.cygnus.com> * search.c (dfs_debug_mark): Check for magic virtual like import_export_vtable. * typeck.c (build_binary_op_nodefault): Don't call cp_pedwarn with four args.Wed Apr 12 12:02:57 1995 Jason Merrill <jason@deneb.cygnus.com> * decl2.c (finish_file): Move prevtable pass before needs_messing_up decision.Tue Apr 11 11:20:27 1995 Jason Merrill <jason@phydeaux.cygnus.com> * decl.c (finish_decl): If we're writing out a static data member of a class, we want the debug info for that class. * gc.c (build_t_desc): Check linkage of a class properly. * class.c (finish_struct): Set the 'headof' offset for the main vtable properly. (prepare_fresh_vtable): Fix typeinfo pointer here. (modify_one_vtable): Instead of here.Mon Apr 10 12:15:59 1995 Jason Merrill <jason@phydeaux.cygnus.com> * repo.c (repo_get_id): New function to return the interesting identifier for a repo entity. (repo_template_used): Use it. (repo_template_instantiated): Mark the id as chosen. (init_repo): Record whether or not the id was chosen. (finish_repo): Note if an id was newly chosen. * pt.c (do_function_instantiation): Call repo_template_instantiated. (do_type_instantiation): Likewise. Don't diagnose multiple instantiation. * decl2.c (finish_file): Use DECL_NOT_REALLY_EXTERN when deciding whether or not to synthesize a method. Undo these changes: * class.c (finish_vtbls): Build more vtables if flag_rtti is on. * class.c (modify_all_direct_vtables): Likewise. * init.c (expand_direct_vtbls_init): Expand more vtables if flag_rtti is on.Sat Apr 8 17:45:41 1995 Mike Stump <mrs@cygnus.com> * gc.c (build_headof): Use ptrdiff_type_node instead of integer_type_node on pointer arithmetic.Sat Apr 8 11:57:04 1995 Jason Merrill <jason@phydeaux.cygnus.com> * typeck.c (build_modify_expr): Undo previous change.Thu Apr 6 01:23:50 1995 Jason Merrill <jason@phydeaux.cygnus.com> * Makefile.in (compiler): Remove ../cc1plus before rebuilding it. * repo.c (get_base_filename): Put the .rpo file in the directory with the object file, not the source. * typeck.c (build_conditional_expr): Handle pmf's better. * repo.c (finish_repo): Also use ASM_OUTPUT_LABELREF to print out the name of the symbol.Wed Apr 5 15:24:12 1995 Jason Merrill <jason@phydeaux.cygnus.com> * repo.c (open_repo_file): Make repo filename DOS-compliant. (
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -