home *** CD-ROM | disk | FTP | other *** search
-
- Brought over G++ 1.39.1 from FSF.
-
- == New version cplusplus-2 ==
-
- Changes required to build:
-
- * config.g++: Added next and nrw targets
-
- * tm-next.h (SELECT_SECTION): Only takes one argument.
-
- * out-next.c (handle_pragma): Forward declare optimize, obey_regdecls,
- and flag_writable_strings.
-
- * tm-next.h (TREE_SIDE_EFFECTS) Replaced with TREE_VOLATILE.
-
- * tm-next.h (readonly_data_section) Replaced with const_section. Also
- removed READONLY_DATA_SECTION.
-
- * tm-next68.h (REAL_VALUE_ISINF) Replaced with isinf.
-
- * optabs.c: Changed names of gnulib calls to match libsys.
-
- Changes for constructor/destructor sections:
-
- * cplus-decl2.c (finish_file): Use ASM_OUTPUT_CONSTRUCTOR and
- ASM_OUTPUT_DESTRUCTOR, like version 2 does.
-
- * gcc.c (link_spec): Use -lc++ rather than -lg++. Don't use gnulib.
-
- * __main.c: Copied from cc.
-
- Fixed old bug with static inlines in libg++ (10/23/91):
-
- * cplus-decl.c (grokdeclarator, start_function):
-
- Fixes for problems with case statements (10/23/91):
-
- * m68k.md (casesi, tablejump): Use tablejump rather than casesi.
-
- * tm-next68.h (ASM_OUTPUT_CASE_LABEL): Switch to const section.
-
- * tm-next68.h (ASM_OUTPUT_CASE_END): Revert to text section.
-
- == New version cplusplus-3 ==
-
- Changes to integrate startup code into crt0 (10/25/91):
-
- * cplus-decl.c (init_decl_processing, store_parm_decls): Don't emit
- a call to __main(), since C++ startup is handled in crt0.
-
- Changes to integrate objc-actions.c (12/4/91):
-
- * objc-actions.c (class_type): Renamed to objc_class_type.
-
- * tree.h (union tree_node): Added Objective-C struct definitions.
-
- * cplus-parse.h: Declare new RID's for protocols.
-
- * objc-actions.c (encode_method_def, encode_method_prototype):
- Deal with changed interface to DECL_INCOMING_RTL().
-
- * objc-actions.c (build_ivar_list_initializer): Deal with changed
- interface to DECL_FIELD_BITPOS().
-
- * cplus-decl.c (groktypename_in_parm_context): Added.
-
- * stmt.c (assign_parms): Make global.
-
- * cplus-tree.h (lang_objc, lang_name_objc): Added.
-
- * cplus-class.c (push_lang_context, pop_lang_context):
- Handle Objective-C, and install reserved words as appropriate.
-
- * cplus-declc. (init_decl_processing): Initialize lang_name_objc.
-
- * cplus-decl.c (pushdecl): Don't warn for explicit extern followed
- by static, since this is the only way to forward declare a static
- array of unknown size.
-
- * toplev.c (report_error_function): Handle methods correctly.
-
- More changes (12/6/91):
-
- * cplus-typeck.c (comptypes, convert_for_assignment): Integrate
- Objective-C++ mods.
-
- And yet more (12/9/91):
-
- * objc-actions.c (error_with_method): Fixed latent bug. Must use
- METHOD_FILENAME() and METHOD_LINENUM() rather than DECL_SOURCE_FILE()
- and DECL_SOURCE_LINE(). We were gettin lucky before....
-
- And more (12/10/91):
-
- * cplus-decl.c (BREAK_C_TAGS): Don't define.
-
- Integrated latest Objective-C changes from cc_proj (2/6/92):
-
- * objc-actions.c: Lots of changes for protocols.
-
- * cplus-parse.y: A few changes for protocols in categories.
-
- Integrated REPORT_EVENT support from cc_proj (2/6/92):
-
- * toplev.c: Integrated lots of REPORT_EVENT changes.
-
- Worked around major protocol bug (2/6/92):
-
- * tree.h (struct tree_type): Added protocol_list field.
-
- * objc-actions.h (TYPE_PROTOCOL_LIST): Use new field rather than
- TYPE_LANG_SPECIFIC which is already used by C++.
-
- == New version cplusplus-5 ==
-
- Fix for build headbutt (2/13/92):
-
- * Makefile: Changed +srcdir to -srcdir.
-
- Integration of recent changes to Objective-C (3/17/92):
-
- * objc-actions.c: Lots of changes copied from cc_proj.
-
- == New version cplusplus-6 ==
-
- Fix for bozo integration bug (3/18/92):
-
- * objc-actions.c (build_objc_string_decl,
- build_selector_reference_decl): Don't set TREE_READONLY bit in
- Objective-C strings, since C++ is pickier about this than C.
-
- Fix to install missing shell scripts (3/18/92):
-
- * nm++, gprof++: Recreated missing shell scripts.
-
- * Makefile: Also install /bin/nm++ and /usr/ucb/gprof++.
-
- == New version cplusplus-7 ==
-
- Fix for fp to integer performance problems (5/13/92):
-
- * m68k.md (ftruncdf2, ftruncsf2): Comment out fintrz insn for 68040.
- This instruction is emulated, and is too slow. The compiler will
- generate a call to _fixdfsi() instead, which is what we used to do
- in 2.0. (Bug #23560)
-
- == New version cplusplus-8 ==
-
- Fix for initial problems with operator delete (6/2/92):
-
- * cplus-lex.c (build_operator_fnname): Allow operator delete to take
- 2 args. (Bug #18926)
-
- Fix for crasher comparing struct pointers (6/15/92):
-
- * cplus-typeck.c (build_binary_op_nodefault): Don't crash if
- common_base_type() returns NULL. (Bug #25602)
-
- Fix for further problems with operator delete (6/23/92):
-
- * cplus-tree.h (struct lang_type): New field gets_two_arg_delete.
-
- * cplus-tree.h (TREE_GETS_TWO_ARG_DELETE): New macro for field.
-
- * cplus-decl2.c (coerce_delete_type): Set TREE_GETS_TWO_ARG_DELETE
- if two args are seen in declaration of delete.
-
- * cplus-decl.c (finish_function): Call delete with two args if
- TREE_GETS_TWO_ARG_DELETE is set. Use size_in_bytes() to compute
- size argument.
-
- * cplus-decl.c (finish_function): Use current_class_decl rather than
- integer_zero_node for first argument to operator delete!
-
- * cplus-decl.c (xref_tag): Propogate TREE_GETS_TWO_ARG_DELETE from
- baseclasses to derived classes in addition to TREE_GETS_DELETE.
-
- * cplus-method.c (build_opfncall): Add second arg to delete if it
- is expected. This is sort of a hack, since the decision as to how
- many args to use should be made by our caller. Unfortunately,
- build_opfncall() takes each arg as a separate parameter rather than
- as a tree list, so this will have to wait. We just silently add a
- second argument computed as the size of the object pointed to by the
- first argument.
-
- * cplus-class.c (finish_struct): A class which uses operator delete
- with two args must have a destructor in order to get the right size.
- Previously the compiler was optimizing this case to reuse the
- destructor from the base class.
-
- Fix for warnings in default constructors (6/29/92):
-
- * cplus-decl.c (finish_function): For destructors, don't call
- expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE. (Bug #24820)
-