home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cplusplus-8 / ChangeLog-NeXT < prev    next >
Encoding:
Text File  |  1992-06-29  |  6.1 KB  |  196 lines

  1.  
  2. Brought over G++ 1.39.1 from FSF.
  3.  
  4. == New version cplusplus-2 ==
  5.  
  6. Changes required to build:
  7.  
  8.     * config.g++:  Added next and nrw targets
  9.  
  10.     * tm-next.h (SELECT_SECTION):  Only takes one argument.
  11.  
  12.     * out-next.c (handle_pragma):  Forward declare optimize, obey_regdecls,
  13.     and flag_writable_strings.
  14.  
  15.     * tm-next.h (TREE_SIDE_EFFECTS)  Replaced with TREE_VOLATILE.
  16.  
  17.     * tm-next.h (readonly_data_section)  Replaced with const_section.  Also
  18.     removed READONLY_DATA_SECTION.
  19.  
  20.     * tm-next68.h (REAL_VALUE_ISINF)  Replaced with isinf.
  21.  
  22.     * optabs.c:  Changed names of gnulib calls to match libsys.
  23.  
  24. Changes for constructor/destructor sections:
  25.  
  26.     * cplus-decl2.c (finish_file):  Use ASM_OUTPUT_CONSTRUCTOR and
  27.     ASM_OUTPUT_DESTRUCTOR, like version 2 does.
  28.  
  29.     * gcc.c (link_spec):  Use -lc++ rather than -lg++.  Don't use gnulib.
  30.  
  31.     * __main.c:  Copied from cc.
  32.  
  33. Fixed old bug with static inlines in libg++ (10/23/91):
  34.  
  35.     * cplus-decl.c (grokdeclarator, start_function):
  36.  
  37. Fixes for problems with case statements (10/23/91):
  38.  
  39.     * m68k.md (casesi, tablejump):  Use tablejump rather than casesi.
  40.  
  41.     * tm-next68.h (ASM_OUTPUT_CASE_LABEL):  Switch to const section.
  42.  
  43.     * tm-next68.h (ASM_OUTPUT_CASE_END):  Revert to text section.
  44.  
  45. == New version cplusplus-3 ==
  46.  
  47. Changes to integrate startup code into crt0 (10/25/91):
  48.  
  49.     * cplus-decl.c (init_decl_processing, store_parm_decls):  Don't emit
  50.     a call to __main(), since C++ startup is handled in crt0.
  51.  
  52. Changes to integrate objc-actions.c (12/4/91):
  53.  
  54.     * objc-actions.c (class_type):  Renamed to objc_class_type.
  55.  
  56.     * tree.h (union tree_node):  Added Objective-C struct definitions.
  57.  
  58.     * cplus-parse.h:  Declare new RID's for protocols.
  59.  
  60.     * objc-actions.c (encode_method_def, encode_method_prototype):
  61.     Deal with changed interface to DECL_INCOMING_RTL().
  62.  
  63.     * objc-actions.c (build_ivar_list_initializer):  Deal with changed
  64.     interface to DECL_FIELD_BITPOS().
  65.  
  66.     * cplus-decl.c (groktypename_in_parm_context):  Added.
  67.  
  68.     * stmt.c (assign_parms):  Make global.
  69.  
  70.     * cplus-tree.h (lang_objc, lang_name_objc):  Added.
  71.  
  72.     * cplus-class.c (push_lang_context, pop_lang_context):
  73.     Handle Objective-C, and install reserved words as appropriate.
  74.  
  75.     * cplus-declc. (init_decl_processing):  Initialize lang_name_objc.
  76.  
  77.     * cplus-decl.c (pushdecl):  Don't warn for explicit extern followed
  78.     by static, since this is the only way to forward declare a static
  79.     array of unknown size.
  80.  
  81.     * toplev.c (report_error_function):  Handle methods correctly.
  82.  
  83. More changes (12/6/91):
  84.  
  85.     * cplus-typeck.c (comptypes, convert_for_assignment):  Integrate
  86.     Objective-C++ mods.
  87.  
  88. And yet more (12/9/91):
  89.  
  90.     * objc-actions.c (error_with_method):  Fixed latent bug.  Must use
  91.     METHOD_FILENAME() and METHOD_LINENUM() rather than DECL_SOURCE_FILE()
  92.     and DECL_SOURCE_LINE().  We were gettin lucky before....
  93.  
  94. And more (12/10/91):
  95.  
  96.     * cplus-decl.c (BREAK_C_TAGS):  Don't define.
  97.  
  98. Integrated latest Objective-C changes from cc_proj (2/6/92):
  99.  
  100.     * objc-actions.c:  Lots of changes for protocols.
  101.  
  102.     * cplus-parse.y:  A few changes for protocols in categories.
  103.  
  104. Integrated REPORT_EVENT support from cc_proj (2/6/92):
  105.  
  106.     * toplev.c:  Integrated lots of REPORT_EVENT changes.
  107.  
  108. Worked around major protocol bug (2/6/92):
  109.  
  110.     * tree.h (struct tree_type):  Added protocol_list field.
  111.  
  112.     * objc-actions.h (TYPE_PROTOCOL_LIST):  Use new field rather than
  113.     TYPE_LANG_SPECIFIC which is already used by C++.
  114.  
  115. == New version cplusplus-5 ==
  116.  
  117. Fix for build headbutt (2/13/92):
  118.  
  119.     * Makefile:  Changed +srcdir to -srcdir.
  120.  
  121. Integration of recent changes to Objective-C (3/17/92):
  122.  
  123.     * objc-actions.c:  Lots of changes copied from cc_proj.
  124.  
  125. == New version cplusplus-6 ==
  126.  
  127. Fix for bozo integration bug (3/18/92):
  128.  
  129.     * objc-actions.c (build_objc_string_decl,
  130.     build_selector_reference_decl):  Don't set TREE_READONLY bit in
  131.     Objective-C strings, since C++ is pickier about this than C.
  132.  
  133. Fix to install missing shell scripts (3/18/92):
  134.  
  135.     * nm++, gprof++:  Recreated missing shell scripts.
  136.  
  137.     * Makefile:  Also install /bin/nm++ and /usr/ucb/gprof++.
  138.  
  139. == New version cplusplus-7 ==
  140.  
  141. Fix for fp to integer performance problems (5/13/92):
  142.  
  143.     * m68k.md (ftruncdf2, ftruncsf2):  Comment out fintrz insn for 68040.
  144.     This instruction is emulated, and is too slow.  The compiler will
  145.     generate a call to _fixdfsi() instead, which is what we used to do
  146.     in 2.0.  (Bug #23560)
  147.  
  148. == New version cplusplus-8 ==
  149.  
  150. Fix for initial problems with operator delete (6/2/92):
  151.  
  152.     * cplus-lex.c (build_operator_fnname):  Allow operator delete to take
  153.     2 args.  (Bug #18926)
  154.  
  155. Fix for crasher comparing struct pointers (6/15/92):
  156.  
  157.     * cplus-typeck.c (build_binary_op_nodefault):  Don't crash if
  158.     common_base_type() returns NULL.  (Bug #25602)
  159.  
  160. Fix for further problems with operator delete (6/23/92):
  161.  
  162.     * cplus-tree.h (struct lang_type):  New field gets_two_arg_delete.
  163.  
  164.     * cplus-tree.h (TREE_GETS_TWO_ARG_DELETE):  New macro for field.
  165.  
  166.     * cplus-decl2.c (coerce_delete_type):  Set TREE_GETS_TWO_ARG_DELETE
  167.     if two args are seen in declaration of delete.
  168.  
  169.     * cplus-decl.c (finish_function):  Call delete with two args if
  170.     TREE_GETS_TWO_ARG_DELETE is set.  Use size_in_bytes() to compute
  171.     size argument.
  172.  
  173.     * cplus-decl.c (finish_function):  Use current_class_decl rather than
  174.     integer_zero_node for first argument to operator delete!
  175.  
  176.     * cplus-decl.c (xref_tag):  Propogate TREE_GETS_TWO_ARG_DELETE from
  177.     baseclasses to derived classes in addition to TREE_GETS_DELETE.
  178.  
  179.     * cplus-method.c (build_opfncall):  Add second arg to delete if it
  180.     is expected.  This is sort of a hack, since the decision as to how
  181.     many args to use should be made by our caller.  Unfortunately,
  182.     build_opfncall() takes each arg as a separate parameter rather than
  183.     as a tree list, so this will have to wait.  We just silently add a
  184.     second argument computed as the size of the object pointed to by the
  185.     first argument.
  186.  
  187.     * cplus-class.c (finish_struct):  A class which uses operator delete
  188.     with two args must have a destructor in order to get the right size.
  189.     Previously the compiler was optimizing this case to reuse the
  190.     destructor from the base class.
  191.  
  192. Fix for warnings in default constructors (6/29/92):
  193.  
  194.     * cplus-decl.c (finish_function):  For destructors, don't call
  195.         expand_expr_stmt if EXPRSTMT is VOID_ZERO_NODE.  (Bug #24820)
  196.