changelog
来自「GCC编译器源代码」· 代码 · 共 1,838 行 · 第 1/5 页
TXT
1,838 行
* decl.c (cp_finish_decl): Only warn about user-defined statics.Fri Jul 18 17:56:08 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (unify): Handle BOOLEAN_TYPE. * cp-tree.h: Lose PARM_DEFAULT_FROM_TEMPLATE. * pt.c (tsubst): Don't set it. * call.c (build_over_call): Use uses_template_parms.Thu Jul 17 18:06:30 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (build_overload_nested_name): Use static_labelno instead of var_labelno. (build_qualified_name): New fn. (build_overload_name): Split out from here. (build_static_name): Use build_qualified_name. * decl.c (cp_finish_decl): Statics in extern inline functions have comdat linkage. (start_function): Initialize static_labelno.Thu Jul 17 11:20:17 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com> * class.c (finish_struct_methods): add check of warn_ctor_dtor_privacy before "all member functions in class [] are private"Wed Jul 16 23:47:08 1997 Jason Merrill <jason@yorick.cygnus.com> * lex.c (do_scoped_id): convert_from_reference. * init.c (build_offset_ref): Likewise.Wed Jul 16 12:34:29 1997 Benjamin Kosnik <bkoz@lisa.cygnus.com> * error.c (dump_expr): Check TREE_OPERAND before dump_expr_list.Mon Jul 14 03:23:46 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (get_member_function_from_ptrfunc): Promote index before saving it.Sun Jul 13 00:11:52 1997 Jason Merrill <jason@yorick.cygnus.com> * tree.c (layout_basetypes): Move non-virtual destructor warning. * decl.c (xref_basetypes): Remove non-virtual destructor warning.Sat Jul 12 12:47:12 1997 Jason Merrill <jason@yorick.cygnus.com> * decl.c (grokdeclarator): Call add_defarg_fn for the function type, too. * lex.c (add_defarg_fn): Adjust. (do_pending_defargs): Adjust. Don't skip the first parm.Fri Jul 11 01:39:50 1997 Jason Merrill <jason@yorick.cygnus.com> * decl.c (build_enumerator): Global enumerators are also readonly. * rtti.c (build_dynamic_cast_1): Renamed from build_dynamic_cast. (build_dynamic_cast): Call it and convert_from_reference. * lex.c (add_defarg_fn): New fn. (snarf_defarg): Don't add to defarg_types. (do_pending_defargs): Lose defarg_types. All fns we process now have defargs. * decl.c (grokfndecl): Call add_defarg_fn. * Makefile.in (CONFLICTS): Expect 18 s/r conflicts. * cp-tree.def: Add DEFAULT_ARG. * spew.c (yylex): Call snarf_defarg as appropriate. * parse.y: New tokens DEFARG and DEFARG_MARKER. (defarg_again, pending_defargs, defarg, defarg1): New rules. (structsp): Use pending_defargs. (parms, full_parm): Use defarg. * lex.c (init_lex): Initialize inline_text_firstobj. (do_pending_inlines): Never pass the obstack to feed_input. (process_next_inline): Call end_input instead of restore_pending_input. (clear_inline_text_obstack, reinit_parse_for_expr, do_pending_defargs, finish_defarg, feed_defarg, snarf_defarg, maybe_snarf_defarg): New fns. * input.c (end_input): New fn. (sub_getch): At the end of some fed input, just keep returning EOF until someone calls end_input. Remove 'obstack' field from struct input_source. * decl.c (grokparms): Handle DEFAULT_ARG. (replace_defarg): New fn. * cp-tree.h (DEFARG_LENGTH, DEFARG_POINTER): New macros.Wed Jul 9 13:44:12 1997 Jason Merrill <jason@yorick.cygnus.com> * call.c (implicit_conversion): If nothing else works, try binding an rvalue to a reference.Wed Jul 9 13:04:38 1997 Geoffrey Noer <noer@cygnus.com> * decl.c (init_decl_processing): fix Jun 30 patch -- move ifndef for Cygwin32 to include SIGSEGV.Thu Jul 3 01:44:05 1997 Jason Merrill <jason@yorick.cygnus.com> * class.c (finish_struct_1): Only complain about pointers without copy stuff if there are any constructors. * rtti.c (build_dynamic_cast): Call complete_type on the types. * decl.c (grokfndecl): If the function we chose doesn't actually match, die. * decl2.c (grokclassfn): Don't specify 'const int' for the artificial destructor parm. * pt.c (type_unification): If we are called recursively, nothing decays.Mon Jun 30 17:53:21 1997 Geoffrey Noer <noer@cygnus.com> * decl.c (init_decl_processing): Stop trying to catch signals other than SIGABRT since the Cygwin32 library doesn't support them correctly yet. This fixes a situation in which g++ causes a hang on SIGSEGVs and other such signals in our Win32-hosted tools.Mon Jun 30 14:50:01 1997 Jason Merrill <jason@yorick.cygnus.com> * tree.c (mapcar, case CALL_EXPR): Handle all the parse node data.Fri Jun 27 15:18:49 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck2.c (store_init_value): Always return the value if our type needs constructing. * method.c (hack_identifier): Convert class statics from reference, too.Thu Jun 26 11:44:46 1997 Jason Merrill <jason@yorick.cygnus.com> * Make-lang.in (cplib2.ready): Add $(LANGUAGES) dependency.Thu Jun 19 16:49:28 1997 Mike Stump <mrs@cygnus.com> * typeck.c (c_expand_return): Make sure we clean up temporaries at the end of return x;Thu Jun 19 12:28:43 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * lex.c (check_for_missing_semicolon): Also check for CV_QUALIFIER.Tue Jun 17 18:35:57 1997 Mike Stump <mrs@cygnus.com> * except.c (expand_builtin_throw): Add support -fno-sjlj-exceptions -fPIC exception handling on the SPARC.Mon Jun 16 01:24:37 1997 Jason Merrill <jason@yorick.cygnus.com> * repo.c (extract_string): Null-terminate. * cp-tree.h (TI_SPEC_INFO): New macro. (CLASSTYPE_TI_SPEC_INFO): New macro. * pt.c (push_template_decl): Correctly determine # of template parms for partial specs. * call.c (compare_ics): Really fix 'this' conversions. * pt.c (do_decl_instantiation): Don't crash on explicit inst of non-template fn. * pt.c (push_template_decl): Complain about mismatch in # of template parms between a class template and a member template.Sun Jun 15 02:38:20 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (synthesize_method): You can't call function_cannot_inline_p after finish_function. * decl.c (finish_function): Turn on flag_inline_functions and turn off DECL_INLINE before handing a synthesized method to the backend.Thu Jun 12 17:35:28 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (synthesize_method): Remove July 30 change to never set DECL_INLINE if at_eof.Thu Jun 12 15:25:08 1997 Mike Stump <mrs@cygnus.com> * xref.c (GNU_xref_member): Ensure that the node has a decl_lang_specific part before checking DECL_FRIEND_P.Thu Jun 12 12:36:05 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (instantiate_class_template): Diagnose non-class types used as bases.Wed Jun 11 17:33:40 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (build_conditional_expr): Use convert_for_initialization instead of convert_and_check.Wed Jun 11 12:31:33 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * parse.y (typespec): Don't pedwarn for typeof.Tue Jun 10 00:22:09 1997 Jason Merrill <jason@yorick.cygnus.com> * repo.c (finish_repo): Only check changes if we would write a repo file. * call.c (compare_ics): Fix handling of 'this' conversions. * pt.c (do_decl_instantiation): Support static data too. Rename from do_function_instantiation. * cp-tree.h: Adjust. * parse.y: Adjust. * repo.c (extract_string): New fn. (get_base_filename): Use it. (init_repo): Compare old args with current args.Mon Jun 9 14:25:30 1997 Mike Stump <mrs@cygnus.com> * Makefile.in, Make-lang.in: Protect C-ls with a comment character, idea from Paul Eggert <eggert@twinsun.com>.Mon Jun 9 01:52:03 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (c_expand_return): Be more persistent in looking for returned temps. * cvt.c (build_up_reference): Use NOP_EXPR for switching from pointer to reference. * class.c (build_vbase_path): Don't do anything if PATH has no steps.Sun Jun 8 03:07:05 1997 Jason Merrill <jason@yorick.cygnus.com> * init.c (build_member_call, build_offset_ref): Use do_scoped_id instead of do_identifier. * cvt.c (convert): Remove bogosity.Sat Jun 7 20:50:17 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * cvt.c (build_up_reference): Do checks of ARGTYPE and TARGET_TYPE before trying to use get_binfo.Fri Jun 6 17:36:39 1997 Jason Merrill <jason@yorick.cygnus.com> * cvt.c (build_up_reference): Call get_binfo to get access control. * decl2.c (import_export_decl): If we don't support weaks, leave statics undefined.Fri Jun 6 15:55:49 1997 Mike Stump <mrs@cygnus.com> * except.c (expand_builtin_throw): Add support for machines that cannot access globals after throw's epilogue when -fno-sjlj-exceptions is used.Thu Jun 5 16:28:43 1997 Jason Merrill <jason@yorick.cygnus.com> * parse.y: 'std::' becomes '::'. * lex.c (real_yylex): Remove 'namespace' warning. * init.c (build_member_call): Ignore 'std::'. (build_offset_ref): Likewise. * decl2.c (do_using_directive): Ignore 'using namespace std;'. (do_toplevel_using_decl): Ignore 'using std::whatever'. * decl.c (push_namespace): Just sorry. (pop_namespace): Nop. (init_decl_processing): Declare std namespace.Tue Jun 3 18:08:23 1997 Jason Merrill <jason@yorick.cygnus.com> * search.c (push_class_decls): A name which ambiguously refers to several instantiations of the same template just refers to the template.Tue Jun 3 12:30:40 1997 Benjamin Kosnik <bkoz@cirdan.cygnus.com> * decl.c (build_enumerator): fix problem with unsigned long enumerated values being smashed to ints, causing overflow when computing next enumerated value. (for enum values around MAX_VAL).Mon Jun 2 17:40:56 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (build_component_ref): Only call mark_used on a decl.Thu May 29 15:54:17 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * typeck.c (build_c_cast): Make the check for a ptr to function more specific before possible default_conversion call.Thu May 29 13:02:06 1997 Mike Stump <mrs@cygnus.com> * except.c (expand_exception_blocks): Simplify and fix and make sure we don't end a region in a sequence, as expand_end_bindings doesn't like it.Wed May 28 17:08:03 1997 Mike Stump <mrs@cygnus.com> * except.c (init_exception_processing): Mark terminate as not returning so that the optimizer can optimize better.Tue May 27 19:49:19 1997 Mike Stump <mrs@cygnus.com> * cvt.c (convert): Don't do any extra work, if we can avoid it easily.Tue May 27 18:21:47 1997 Mike Stump <mrs@cygnus.com> * *.[chy]: Change cp_convert to ocp_convert, change convert to cp_convert. convert is now reserved for the backend, and doesn't have the semantics a frontend person should ever want.Fri May 23 10:58:31 1997 Jason Merrill <jason@yorick.cygnus.com> * lang-specs.h: Define __EXCEPTIONS if exceptions are enabled. Lose -traditional support.Thu May 22 15:41:28 1997 Jason Merrill <jason@yorick.cygnus.com> * rtti.c (get_tinfo_var): Use TYPE_PRECISION (sizetype). * parse.y (self_reference): Do it for templates, too. * class.c (pushclass): Don't overload_template_name; the alias generated by build_self_reference serves the same purpose. * tree.c (list_hash): Make static, take more args. (list_hash_lookup): Likewise. (list_hash_add): Make static. (list_hash_canon): Lose. (hash_tree_cons): Only build a new node if one isn't already in the hashtable. (hash_tree_chain): Use hash_tree_cons. * cp-tree.h: Adjust. * decl.c (grokfndecl): Just check IDENTIFIER_GLOBAL_VALUE instead of calling lookup_name.Wed May 21 18:24:19 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (instantiate_class_template): TYPE_VALUES for an enum doesn't refer to the CONST_DECLs.Tue May 20 21:09:32 1997 Bob Manson <manson@charmed.cygnus.com> * rtti.c (get_tinfo_var): Either INT_TYPE_SIZE or 32, whichever is bigger. (expand_class_desc): Convert the last argument to a sizetype.Tue May 20 13:55:57 1997 Brendan Kehoe <brendan@lisa.cygnus.com> * gxx.gperf (__complex, __complex__, __imag, __imag__, __real, __real__): Add reswords. * hash.h: Regenerate. * lex.h (rid): Add RID_COMPLEX. (RID_LAST_MODIFIER): Set to RID_COMPLEX. * lex.c (init_lex): Add building of RID_COMPLEX. (real_yylex): General cleanup in line with what c-lex.c also has, sans the cruft for traditional; add handling of SPEC_IMAG, complex types, and imaginary numeric constants. * parse.y (REALPART, IMAGPART): Add tokens. (unary_expr): Add REALPART and IMAGPART rules. * cp-tree.h (complex_{integer,float,double,long}_type_node): Declare. * decl.c (complex_{integer,float,double,long}_type_node): Define types. (init_decl_processing): Set up the types. (grokdeclarator): Add handling of RID_COMPLEX. Set and use DEFAULTED_INT instead of EXPLICIT_INT when we default to int type. * call.c (build_new_op): Add REALPART_EXPR and IMAGPART_EXPR cases. * cvt.c (cp_convert): Handle COMPLEX_TYPE. * error.c (dump_type_prefix, dump_type, dump_type_suffix): Add COMPLEX_TYPE case.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?