changelog
来自「GCC编译器源代码」· 代码 · 共 1,838 行 · 第 1/5 页
TXT
1,838 行
Mon Dec 22 17:46:17 1997 Mark Mitchell <mmitchell@usa.net> * method.c (build_overload_name): Fix mangling for __null.Sat Dec 13 09:23:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * Make-lang.in (g++.c, cxxmain.o): Use $(LN).Wed Dec 3 08:47:27 1997 Paul Eggert <eggert@twinsun.com> * pt.c (check_explicit_specialization): Fix misspelling in diagnostic: `preceeded'. * typeck.c (get_delta_difference): Fix misspelling in diagnostic: `conversiona'.Sun Nov 30 08:42:29 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> * pt.c (do_poplevel): Allow jumps into the block.Fri Nov 28 12:35:19 1997 Scott Christley <scottc@net-community.com> * repo.c: Prototype rindex only if needed. * xref.c: Likewise.Thu Nov 27 08:26:56 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (expand_start_catch_block): We only need the rethrow region for non-sjlj exceptions. (expand_end_catch_block): Likewise. Use outer_context_label_stack.Wed Nov 26 15:13:48 1997 Jeffrey A Law (law@cygnus.com) * lex.c (lang_init): Enable flag_exceptions by default if no command line switch was specified.Mon Nov 24 12:15:55 1997 Jason Merrill <jason@yorick.cygnus.com> * exception.cc (struct cp_eh_info): Add handlers field. (__cp_push_exception): Initialize it. (__cp_pop_exception): Decrement it. Don't pop unless it's 0. (__throw_bad_exception): Remove. * except.c (call_eh_info): Add handlers field. (get_eh_handlers): New fn. (push_eh_cleanup): Increment handlers.Mon Nov 17 02:01:28 1997 Jason Merrill <jason@yorick.cygnus.com> * friend.c (do_friend): Warn about non-template friends in templates. * search.c (dfs_record_inheritance): Ignore template type parms.Wed Nov 12 08:11:55 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com> * call.c (build_method_call): Call complete_type before checking for destructor.Tue Nov 11 12:02:12 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (expand_end_catch_block): Lose call to __sjpopnthrow.Tue Nov 11 02:53:44 1997 Jason Merrill <jason@lasher.cygnus.com> * except.c (do_pop_exception): Return a value.Mon Nov 10 03:04:20 1997 Jason Merrill <jason@yorick.cygnus.com> Complete nested exception support. * except.c (do_pop_exception): Split out... (push_eh_cleanup): From here. Handle the EH region by hand. (expand_start_catch_block): Add a new level for the catch parm. Move the rethrow region outside the two cleanup regions. Protect the initializer for the catch parm with terminate. (expand_end_catch_block): Likewise. End the region for the eh_cleanup. * exception.cc (__cp_pop_exception): Now takes two parms. Handle popping off the middle of the stack. * tree.c (lvalue_p, real_lvalue_p): Handle TRY_CATCH_EXPR, WITH_CLEANUP_EXPR, and UNSAVE_EXPR. (build_cplus_new): Only wrap CALL_EXPRs. * init.c (expand_default_init): Handle a TRY_CATCH_EXPR around the constructor call.Sun Nov 9 18:00:26 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * Make-lang.in (c++.distdir): Make inc subdirectory.Fri Nov 7 11:57:28 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (finish_file): Put back some code.Thu Nov 6 11:28:14 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (finish_file): Remove redundant code. * method.c (emit_thunk): Don't let the backend defer generic thunks.Wed Nov 5 23:52:50 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (call_eh_info): Split out... (push_eh_info): From here. (expand_builtin_throw): Use it. (expand_start_catch_block): Move region start back.Tue Nov 4 13:45:10 1997 Doug Evans <devans@canuck.cygnus.com> * lex.c (MULTIBYTE_CHARS): #undef if cross compiling. (real_yylex): Record wide strings using target endianness, not host.1997-11-03 Brendan Kehoe <brendan@lisa.cygnus.com> * repo.c (rindex): Add decl unconditionally. (get_base_filename, open_repo_file): Don't cast rindex. * xref.c (rindex): Add decl unconditionally. (index): Remove unused decl. (open_xref_file): Don't cast rindex.Sun Nov 2 15:04:12 1997 Jason Merrill <jason@yorick.cygnus.com> * class.c (build_vbase_path): Propagate the result type properly.1997-11-01 Brendan Kehoe <brendan@lisa.cygnus.com> * except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace remaining use of saved_throw_type with a call to get_eh_type.1997-10-31 Brendan Kehoe <brendan@lisa.cygnus.com> * lex.c (FILE_NAME_NONDIRECTORY): Delete macro. (file_name_nondirectory): New function, doing the same as the macro. (set_typedecl_interface_info): Use it instead of the macro. (check_newline): Likewise. (handle_cp_pragma): Likewise. * repo.c (get_base_filename): Cast result of rindex to char*. (open_repo_file): Likewise. * xref.c (open_xref_file): Likewise. * error.c (dump_char): Make its arg int, not char. * except.c (push_eh_info): Pass the number of fields - 1 down, not the exact number of fields.Fri Oct 31 01:47:57 1997 Jason Merrill <jason@yorick.cygnus.com> Support for nested exceptions. * tinfo2.cc (__is_pointer): New fn. * exception.cc (struct cp_eh_info): Define. (__cp_exception_info, __uncatch_exception): New fns. (__cp_push_exception, __cp_pop_exception): New fns. * except.c: Lose saved_throw_{type,value,cleanup,in_catch}. Lose empty_fndecl. (init_exception_processing): Likewise. __eh_pc is now external. (push_eh_info): New fn. (get_eh_{info,value,type,caught}): New fns. (push_eh_cleanup): Just call __cp_pop_exception. (expand_start_catch_block): Use push_eh_info. Start the eh region sooner. (expand_end_eh_spec): Use push_eh_info. (expand_throw): Call __cp_push_exception to set up the exception info. Just pass the destructor or 0 as the cleanup. Call __uncatch_exception when we rethrow. (expand_builtin_throw): Don't refer to empty_fndecl.Sun Oct 26 01:28:29 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * typeck.c (rationalize_conditional_expr): Handle {MIN,MAX}_EXPR. (unary_complex_lvalue): Call it for {MIN,MAX}_EXPR. * decl.c (init_decl_processing): Call using_eh_for_cleanups.Sun Oct 26 01:52:52 1997 Jeffrey A Law (law@cygnus.com) * Makefile.in (g++): Depend on prefix.o. Link in prefix.o.Thu Oct 23 02:01:30 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (instantiate_decl): SET_DECL_IMPLICIT_INSTANTIATION on new decl.1997-10-22 Brendan Kehoe <brendan@cygnus.com> * method.c (build_template_parm_names, build_decl_overload_real): Add static to definitions. * pt.c (add_to_template_args, note_template_header, processing_explicit_specialization, type_unification_real): Likewise. ({determine,check}_explicit_specialization): Use a single string for error messages.Mon Oct 20 12:06:34 1997 Jason Merrill <jason@yorick.cygnus.com> * except.c (expand_exception_blocks): Call do_pending_stack_adust. (expand_end_catch_block): Likewise. (expand_end_eh_spec): Likewise.Mon Oct 20 11:44:20 1997 Mark Mitchell <mmitchell@usa.net> * decl.c (duplicate_decls): Handle template specializations correctly. * error.c (dump_function_name): Fix printing of specializations of member functions that are not member templates. * cp-tree.h (processing_specialization): Make global. * pt.c (processing_specialization): Likewise. * lex.c (cons_up_default_function): Save and restore processing_specialization to avoid confusion. Mon Oct 20 10:52:22 1997 Jason Merrill <jason@yorick.cygnus.com> * decl.c (init_decl_processing): Give null_node unknown* type. * typeck.c (comp_target_types): Handle UNKNOWN_TYPE. (common_type): Likewise. * error.c (args_as_string): Recognize null_node.Thu Oct 16 15:31:09 1997 Judy Goldberg <judygold@sanwafp.com> * pt.c (determine_explicit_specialization): Initialize "dummy" to keep Purify quiet.Thu Oct 16 00:14:48 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (build_overload_value): Handle TEMPLATE_CONST_PARMs here. (build_overload_int): Not here.Wed Oct 15 00:35:28 1997 Mike Stump <mrs@wrs.com> * class.c (build_type_pathname): Remove. (prepare_fresh_vtable): Fix problem with complex MI vtable names.1997-10-14 Brendan Kehoe <brendan@lisa.cygnus.com> * parse.y (unary_expr): Give a pedwarn if someone tries to use the &&label GNU extension.Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net> * decl.c (pushtag): Unset DECL_ASSEMBLER_NAME before setting it, so as to avoid incorrect manglings. * method.c (build_decl_overload_real): Don't mangle return types for constructors. Tue Oct 14 11:46:14 1997 Jason Merrill <jason@yorick.cygnus.com> * cp-tree.h (scratchalloc, build_scratch_list, make_scratch_vec, scratch_tree_cons): Define as macros for now. * call.c, class.c, cvt.c, decl.c, decl2.c, except.c, expr.c, init.c, lex.c, method.c, parse.y, pt.c, rtti.c, search.c, tree.c, typeck.c, typeck2.c: Use them and the expression_obstack variants.Mon Oct 13 17:41:26 1997 Benjamin Kosnik <bkoz@rhino.cygnus.com> * decl.c (store_return_init): Allow classes with explicit ctors to be used with the named return values extension.Fri Oct 10 12:21:11 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (instantiate_decl): Fix previous change.Thu Oct 9 12:08:21 1997 Jason Merrill <jason@yorick.cygnus.com> * pt.c (tsubst): Fix thinko. (instantiate_decl): Really use the original template. * call.c (build_new_method_call): Use simple constructor_name for error messages.Wed Oct 8 22:44:42 1997 Jeffrey A Law (law@cygnus.com) * method.c (build_underscore_int): Don't use ANSI specific features.Wed Oct 8 00:18:22 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (finish_prevtable_vardecl): Check DECL_REALLY_EXTERN for our key method; it might have been inlined by -O3.Tue Oct 7 23:00:12 1997 Mark Mitchell <mmitchell@usa.net> * decl.c (make_typename_type): Do not try to call lookup_field for non-aggregate types.Tue Oct 7 22:52:10 1997 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (build_reinterpret_cast): Tweak.Tue Oct 7 22:45:31 1997 Alexandre Oliva <oliva@dcc.unicamp.br> * typeck.c (build_reinterpret_cast): converting a void pointer to function pointer with a reinterpret_cast produces a warning if -pedantic is issuedTue Oct 7 22:43:43 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> * typeck.c (c_expand_return): Don't warn about returning a reference-type variable as a reference.Tue Oct 7 21:11:22 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (build_static_name): Fix typo.1997-10-07 Brendan Kehoe <brendan@lisa.cygnus.com> * decl.c (duplicate_decls): Make sure DECL_LANG_SPECIFIC is set on OLDDECL before we try to do DECL_USE_TEMPLATE.Tue Oct 7 00:48:36 1997 Jason Merrill <jason@yorick.cygnus.com> * decl.c (duplicate_decls): Don't warn about template instances. * typeck.c (mark_addressable): Lose ancient code that unsets DECL_EXTERNAL. * pt.c (do_decl_instantiation): Lose support for instantiating non-templates. * call.c (build_new_function_call): Fix handling of null explicit template args. (build_new_method_call): Likewise.Mon Oct 6 23:44:34 1997 Mark Mitchell <mmitchell@usa.net> * method.c (build_underscore_int): Fix typo.1997-10-06 Brendan Kehoe <brendan@lisa.cygnus.com> * tree.c (print_lang_statistics): #if 0 call to print_inline_obstack_statistics until its definition is checked in.Mon Oct 6 09:27:29 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (finish_file): Move dump_tree_statistics to end. * pt.c (instantiate_decl): Look for the original template. (tsubst): Set DECL_IMPLICIT_INSTANTIATION on partial instantiations of member templates.Wed Oct 1 08:41:38 1997 Jason Merrill <jason@yorick.cygnus.com> * Makefile.in (g++FAQ.*): New rules. (CONFLICTS): Update. * g++FAQ.texi: Moved from libg++. * parse.y (PFUNCNAME): Only specify the type once.1997-10-01 Brendan Kehoe <brendan@lasher.cygnus.com> * lex.c (real_yylex): Clean up the code to fully behave the way the c-lex.c parser does for complex and real numbers.Tue Sep 30 08:51:36 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (build_decl_overload_real): Reformat.Tue Sep 30 00:18:26 1997 Jason Merrill <jason@yorick.cygnus.com> * method.c (synthesize_method): If at_eof, determine our linkage.1997-09-29 Paul Eggert <eggert@twinsun.com> * lex.c (real_yylex): Treat `$' just like `_', except issue a diagnostic if !dollars_in_ident or if pedantic. * lang-specs.h (@c++): -ansi no longer implies -$. * decl2.c (lang_decode_option): -traditional and -ansi now do not mess with dollars_in_ident.Mon Sep 29 19:57:51 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * Makefile.in (parse.o, decl.o): Also depend on $(srcdir)/../except.h $(srcdir)/../output.h. (decl2.o): Also depend on $(srcdir)/../expr.h ../insn-codes.h $(srcdir)/../except.h $(srcdir)/../output.h.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?