home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cplusplus-8 / ChangeLog < prev    next >
Encoding:
Text File  |  1991-05-04  |  71.1 KB  |  1,892 lines

  1. Sat May  4 12:47:21 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  2.  
  3.     * version.c: Version 1.39.1 released.
  4.  
  5.     * cplus-decl2.c (flag_minimal_debug): Default to 0 instead of 1.
  6.     * dbxout.c (whole file): Revert to 1.37.1 version.  The features
  7.     that were attempted are correctly implementated in GNU C++ version
  8.     2.0 (not yet released).
  9.  
  10. Sun Jan 13 17:48:13 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  11.  
  12.     * version.c: Bump version number to 1.38.0.  Lots of work has been
  13.     done on GNU C++ between August and January--but that work has been
  14.     done to version 2.0, not to version 1.
  15.  
  16. Thu Aug 23 10:30:10 1990  Michael Tiemann  (tiemann at cygnus.com)
  17.  
  18.     * cplus-tree.h (CLASSTYPE_CID): Key off of TYPE_MAIN_VARIANT.
  19.  
  20. Sun Aug 19 09:58:16 1990  Michael Tiemann  (tiemann at cygnus.com)
  21.  
  22.     * stmt.c: Fixes from 2.0 for fixup_goto incorporated here.
  23.  
  24.     * cplus-decl2.c (write_vtable_entries): Don't test TREE_EXTERNAL
  25.     of DECL_CONTEXT (FN).  TREE_EXTERNAL is not meaningful for types.
  26.  
  27. Wed Aug 15 15:50:36 1990  Michael Tiemann  (tiemann at cygnus.com)
  28.  
  29.     * dbxout.c (dbxout_type): Skip past const and volatile qualifiers
  30.     that might appear in method names.
  31.  
  32. Mon Aug 13 10:14:37 1990  Michael Tiemann  (tiemann at cygnus.com)
  33.  
  34.     * cplus-decl2.c (flag_minimal_debug): Now is default is
  35.     -fflag-minimal-debug.
  36.  
  37.     * cplus-tree.c (virtual_member): Return the assoc of a non-virtual
  38.     basetype that comes from a virtual baseclass.  Changed callers
  39.     which used to call `value_member' to call virtual_member instead.
  40.  
  41. Mon Aug  6 06:44:07 1990  Michael Tiemann  (tiemann at cygnus.com)
  42.  
  43.     * dbxout.c (dbxout_symbol): Send out tags before sending out
  44.     types.  Also, handle getting rtl from inline functions.
  45.     * dbxout.c (dbxout_parms): Get rtl from inline functions.
  46.     * dbxout.c (dbxout_reg_parms): Ditto.
  47.  
  48. Sun Aug  5 00:04:08 1990  Michael Tiemann  (tiemann at cygnus.com)
  49.  
  50.     * Merged `g++field.tar.Z' from Brown.  Thanks to Steve
  51.     Reiss (spr@cs.brown.edu) for these changes.
  52.  
  53.     * Merged `g++-for-pmax.diffs' from foobar.colorado.edu.
  54.     Thanks to Dirk Grunwald (grunwald@foobar.colorado.edu)
  55.     for making G++ work on the PMAX.
  56.  
  57.     * cplus-decl2.c (grokfield): It is no longer legal to specify
  58.     the initializer for a static const member in the class
  59.     declaration.  Dealing with default initializers is basically
  60.     impossible.
  61.  
  62.     * cplus-init.c (build_delete): Don't wrap `addr' in a SAVE_EXPR
  63.     until it is in fact an address.  This allows us to call
  64.     destructors on the return values of function calls.
  65.  
  66.     * cplus-typeck.c (commontype): Fixed bug in OFFSET_TYPE case which
  67.     led to infinite recursion (since we did not reduce the types
  68.     before we recursed).
  69.  
  70.     * cplus-lex.c (check_newline): Make `#pragma implementation' more
  71.     forgiving.
  72.  
  73.     * cplus-init.c (expand_aggr_init): Changed Jan 20th change so that
  74.     we test whether TYPE has a constructor defined, and we do not test
  75.     at all whether INIT was from a GNU constructor expression or not.
  76.  
  77.     * cplus-typeck.c (build_modify_expr_1): Don't return
  78.     `error_mark_node' unless there really was an error.  If there is
  79.     no work to do, return `integer_zero_node'.
  80.  
  81.     * cplus-class.c (propagate_basetype_offsets): Count the space
  82.     between baseclasses, not just the space they occupy.
  83.  
  84.     * cplus-typeck.c (commontype): Don't drop the exceptions that are
  85.     raised by functions and methods.
  86.  
  87.     * cplus-cvt.c (convert_to_real): Fix if/else level problem in
  88.     case where EXPR is of aggregate type.
  89.  
  90.     * cplus-decl.c (finish_decl): Give users a chance to set a
  91.     breakpoint before the initialization of an object takes place.
  92.  
  93.     * cplus-class.c (build_method_call): If the function we get is not
  94.     directly from the object we have, call `convert_pointer_to' if the
  95.     object uses multiple inheritance or virtual baseclasses.
  96.  
  97.     * cplus-typeck.c (build_binary_op_nodefault): Don't call
  98.     `convert_to_pointer' with an argument that might be
  99.     the integer zero.
  100.  
  101.     * cplus-method.c (hack_identifier): Look for DECL_REFERENCE_SLOT
  102.     in RESULT_DECLs as well.
  103.  
  104.     * cplus-init.c (build_vec_delete): Don't forget to deallocate the
  105.     container if requested.  Really use AUTO_DELETE and
  106.     AUTO_DELETE_VEC with the same interpretation as `build_delete'
  107.     gives to its AUTO_DELETE parameter.
  108.  
  109. Sat Aug  4 21:24:04 1990  Michael Tiemann  (tiemann at cygnus.com)
  110.  
  111.     * varasm.c (assemble_variable): Hack our way around the problem
  112.     that static class members look like initialized variables for the
  113.     purposes of establishing FIRST_GLOBAL_OBJECT_NAME.
  114.  
  115.     * cplus-lex.c (reinit_parse_for_method): Give error message for
  116.     common mistake of forgetting the function body.
  117.  
  118.     * cplus-typeck.c (build_component_ref): Make better error message
  119.     when field is not found.
  120.  
  121.     * cplus-class.c (finish_struct): TYPE_GETS_*_INIT_REF comes from
  122.     members as well.
  123.  
  124.     * cplus-typeck.c (c_expand_return): Give warning about returning
  125.     non-lvalues that come from functional casts.
  126.  
  127.     * cplus-search.c (get_base_distance): Changed to follow leftmost
  128.     path only when PARENT == TYPE_MAIN_VARIANT (PARENT).
  129.  
  130.     * cplus-class.c (modify_vtable_entries): Call get_base_distance
  131.     with 0 path_ptr, since we do not appear to use the path computed.
  132.  
  133. Sun Jul 22 12:04:43 1990  Michael Tiemann  (tiemann at cygnus.com)
  134.  
  135.     * cplus-except.c (cplus_expand_end_except): If the user gives a
  136.     default handler, the exception is considered caught in that
  137.     handler.
  138.     * cplus-parse.y (except_stmts): Rest of fix went here, in DEFAULT
  139.     case.
  140.  
  141.     * cplus-decl.c (finish_decl): Don't emit cleanups twice.
  142.  
  143.     * cplus-class.c (finish_struct_bits): Don't call
  144.     `fixup_vbase_offsets'.
  145.     * cplus-tree.c (fixup_vbase_offsets): #if 0 this function.
  146.  
  147.     * expr.c (expand_expr): Bug fix from Stephen Pope in LOOP_STMT
  148.     handling of local variables.
  149.  
  150.     * cplus-cvt.c (build_default_binary_type_conversion): Handle
  151.     arguments which are REFERENCE_TYPE.
  152.  
  153.     * cplus-method.c (prepare_inline): Set DECL_CONTEXT of this
  154.     function's parameters.
  155.  
  156.     * cplus-decl.c (grokfndecl): When adding a new virtual function
  157.     entry, RAISES may change a second time.
  158.  
  159. Thu Jul  5 10:44:39 1990  Michael Tiemann  (tiemann at masham)
  160.  
  161.     * cplus-decl2.c (grokfield): Static consts need not be initialized
  162.     in the class definition.
  163.  
  164. Mon Jul  2 06:12:49 1990  Michael Tiemann  (tiemann at masham)
  165.  
  166.     * cplus-init.c (resolve_offset_ref): If BASETYPE is not a base
  167.     type for the current class, give error and return.
  168.  
  169. Sun Jul  1 00:18:47 1990  Michael Tiemann  (tiemann at masham)
  170.  
  171.     * cplus-decl.c (finish_function): Throw away more code if we have
  172.     an inline function from the interface.
  173.  
  174.     * dbxout.c (dbxout_tags): Further reduce the amount of debugging
  175.     information written out for class types.
  176.  
  177.     * cplus-class.c (add_virtual_function): Set DECL_VINDEX from the
  178.     virtual function which comes from the vtable shared by
  179.     CURRENT_CLASS_TYPE, if possibe.
  180.  
  181.     * cplus-typeck.c (build_binary_op): Call `default_conversion'
  182.     after doing type instantiation.
  183.  
  184.     * cplus-init.c (build_new): New 2.0 interpretation: `new int (10)'
  185.     means allocate an int, and initialize it with 10.
  186.  
  187.     * cplus-init.c (emit_base_init): Completion of fix for virtual
  188.     function table initialization.  @@ BTW, this may now cause extra
  189.     virtual function table initializations.  They will all be correct,
  190.     but they may also be redundant.  GCC's optimizer doesn't know how
  191.     to remove even the simplest such redundancy.
  192.  
  193. Sat Jun 30 13:54:30 1990  Michael Tiemann  (tiemann at masham)
  194.  
  195.     * cplus-class.c (finish_base_struct): Store BASETYPE in the
  196.     VFIELDS chain (in its TREE_TYPE).
  197.  
  198. Fri Jun 29 09:26:17 1990  Michael Tiemann  (tiemann at masham)
  199.  
  200.     * cplus-class.c (build_vtable,prepare_fresh_vtable): Stash the
  201.     type that caused this vtable to be defined in DECL_CONTEXT
  202.     * cplus-search.c (bfs_unmark_finished_struct): Work around
  203.     DECL_CONTEXT conflict for vtables.  @@ NOT A SOLUTION.
  204.  
  205.     * cplus-lex.c: Extend meaning of `#pragma implementation'
  206.     to allow files to `implement' types from general headers.
  207.  
  208. Thu Jun 28 17:35:04 1990  Michael Tiemann  (tiemann at teacake)
  209.  
  210.     * cplus-typeck.c (build_vbase_vtables_init): Fixed typo in code
  211.     that bashes LHS references.
  212.  
  213. Wed Jun 27 00:12:24 1990  Michael Tiemann  (tiemann at masham)
  214.  
  215.     * cplus-decl.c (pushdecl): To warn about parameter shadowing, must
  216.     look two levels up, not one.
  217.  
  218.     * cplus-search.c (build_vbase_vtables_init): Add new parameter
  219.     CTOR_P which says whether we can use computed offsets to store
  220.     vtables into virtual sub-objects, or whether we should use
  221.     existing vbase pointers.
  222.  
  223.     [Wrong fix: * cplus-cvt.c (convert_from_reference): Don't convert
  224.     from a reference to an incomplete type.]
  225.     * cplus-typeck.c (build_modify_expr): Give error if using a
  226.     reference to an incomplete type.
  227.  
  228.     * cplus-class.c (pushclass): Eliminate fencepost error.  Also,
  229.     realloc allocation unit is byte, not whatever the type of the
  230.     array happens to be!
  231.  
  232. Tue Jun 26 04:28:00 1990  Michael Tiemann  (tiemann at masham)
  233.  
  234.     * expr.c (expand_expr): Mark all {VAR,FUNCTION,CONST}_DECL nodes
  235.     that go through `expand_expr' as used.
  236.  
  237.     * cplus-dem.c (do_type): Handle "long long" (encoded as 'x').
  238.  
  239. Mon Jun 25 01:39:53 1990  Michael Tiemann  (tiemann at masham)
  240.  
  241.     * dbxout.c (dbxout_type): Fix confusion that was causing
  242.     debugging information about constructors (for classes which did
  243.     not have destructors) to be omitted.  Also, simplify some code.
  244.  
  245. Sat Jun 23 12:32:38 1990  Michael Tiemann  (tiemann at masham)
  246.  
  247.     * cplus-lex.c (interface_strcmp): Fix braino.
  248.  
  249.     * cplus-decl.c (finish_function): Make all virtual function table
  250.     pointers point to CURRENT_CLASS_TYPE's virtual function tables.
  251.  
  252. Fri Jun 22 08:28:07 1990  Michael Tiemann  (tiemann at masham)
  253.  
  254.     * cplus-init.c (build_member_call): Handle case where NAME refers
  255.     to a member (instead of a member function) and try calling
  256.     overloaded CALL_EXPR.
  257.  
  258.     * cplus-decl.c (maybe_build_cleanup): If a destructor is defined
  259.     for the type, the destructor will take care of deleting all the
  260.     virtual baseclasses.
  261.  
  262.     * cplus-init.c (emit_base_init,expand_recursive_init_1):
  263.     Initialize virtual function table pointers of non-leftmost,
  264.     non-virtual baseclasses. 
  265.  
  266.     * cplus-class.c (ideal_candidate): Each TREE_VALUE (TTA) must
  267.     be reset from TREE_PURPOSE (TTA), whether or not that particular
  268.     TREE_VALUE was the result of a type conversion for the particular
  269.     candidate we are returning--the TREE_VALUE may have been trashed
  270.     by a (failed) type conversion for some other candidate.
  271.  
  272.     * cplus-typeck.c (c_expand_result): Set TREE_VOLATILE bits of
  273.     RESULT when initializing a temporary.
  274.  
  275. Thu Jun 21 09:14:06 1990  Michael Tiemann  (tiemann at teacake)
  276.  
  277.     * cplus-lex.c (check_newline): Handle case where #pragma
  278.     interface/implementation is given, but no #line precedes it.
  279.  
  280.     * cplus-decl.c (start_function): If DECL1 is an inline function
  281.     belonging to an implemenation (as opposed to an interface), make
  282.     it public.
  283.  
  284. Tue Jun 19 13:55:13 1990  Michael Tiemann  (tiemann at teacake)
  285.  
  286.     * version.c: Changed version number to 1.37.2 alpha 2.
  287.  
  288. Fri Jun 15 03:19:50 1990  Michael Tiemann  (tiemann at masham)
  289.  
  290.     * cplus-search.c: No longer any need for VBASE_CHAR_STAR.  Use
  291.     VBASE_DECL_PTR in its stead.
  292.  
  293.     * cplus-search.c (dfs_init_vbase_pointers): Use values computed in
  294.     CLASSTYPE_SEARCH_SLOT when casting to virtual baseclasses.  Only
  295.     call `convert_pointer_to' in this function when we will *not* be
  296.     going through a virtual baseclass pointer.  The change was needed
  297.     because we might have a class hierarchy with multiple virtual
  298.     baseclasses, and in an effort to initialize first the most-base
  299.     virtual baseclass, the compiler would generate code that would
  300.     errantly try to get there via a not-yet-initilized intermediate
  301.     virtual baseclass pointer.
  302.  
  303.     * cplus-init.c (build_new): Don't let PENDING_SIZES be expanded
  304.     immediately during this function.  The result of calling this
  305.     function should only build tree nodes, not emit any insns.
  306.  
  307.     * cplus-decl.c (grok_enum_decls): If TYPE is not in scope, give
  308.     reasonable default behavior (instead of aborting).
  309.  
  310.     * cplus-class.c (build_method_call): Fix typo in case vtable is
  311.     not needed.
  312.  
  313. Wed Jun  6 10:13:53 1990  Michael Tiemann  (tiemann at teacake)
  314.  
  315.     * cplus-typeck.c (build_modify_expr): Stabilize LHS and RHS if
  316.     neccessary.
  317.  
  318.     * cplus-cvt.c (build_type_conversion): Don't convert to `void *'
  319.     unless this is a CONVERT_EXPR.
  320.  
  321. Tue Jun  5 07:52:36 1990  Michael Tiemann  (tiemann at gzilla)
  322.  
  323.     * cplus-class.c (finish_struct): Must set CLASSTYPE_INTERFACE_ONLY
  324.     and CLASSTYPE_VTABLE_NEEDS_WRITING bits before building the
  325.     virtual function table.
  326.  
  327.     * cplus-lex.c (interface_strcmp): Modified to discard path
  328.     prefixes before comparing filenames.
  329.  
  330. Mon Jun  4 06:32:59 1990  Michael Tiemann  (tiemann at gzilla)
  331.  
  332.     * cplus-decl.c (finish_function): Test HAVE_return.  Now needs
  333.     on insn-flags.h.
  334.     * Makefile: Depend cplus-decl.o on insn-flags.h.
  335.  
  336.     * cplus-parse.y (except_stmts): Use gotos and labels to implement
  337.     default actions instead of wrapping it in an RTL_EXPR and emitting
  338.     it at the end.  This is intended to cause the debugger less grief.
  339.  
  340. Sat Jun  2 13:45:45 1990  Michael Tiemann  (tiemann at teacake)
  341.  
  342.     * cplus-class.c (build_scoped_method_call): Give error if EXP is
  343.     not of aggregate type.
  344.  
  345.     * cplus-typeck.c (build_x_function_type): Don't be fooled by case
  346.     where parser thinks we have a method involving `this' (when we
  347.     really don't).
  348.  
  349.     * cplus-decl.c (pushdecl): Use `lang_printable_name' on T instead
  350.     of printing directly from IDENTIFIER_POINTER (NAME).
  351.  
  352.     * cplus-init.c (expand_aggr_init_1): Code which is supposed to
  353.     print error message was not, because FLAGS passed to
  354.     build_method_call were not in synch with PARMS
  355.     (LOOKUP_HAS_IN_CHARGE was accidently missing from FLAGS).
  356.  
  357.     * cplus-init.c (build_new): Fix obscure bug where a object needing
  358.     larger than word alignment was getting memory at the wrong
  359.     address.
  360.  
  361.     * expr.c (expand_expr): In LET_STMT case, expand initializers for
  362.     VARS, whether or not their RTL has already been defined.
  363.  
  364.     * cplus-class.c (instantiate_type): If there's only one function
  365.     we know about, and its global, return that.
  366.  
  367.     * cplus-decl.c (finish_decl): Check more cases for uninitialized
  368.     consts.
  369.  
  370.     * cplus-method.c (fndecl_as_string): Get past the `in_charge' node
  371.     if a constructor uses virtual baseclasses.
  372.  
  373.     * cplus-init.c (build_delete): If we are destroying base part of
  374.     the object, call with ADDR and the pointer to the base type
  375.     instead of calling with REF and the base type.  This is because
  376.     REF may not be stable (or seemingly addressable), whereas ADDR is
  377.     fine and dandy.
  378.  
  379.     * cplus-decl.c (grokdeclarator): Don't accept friend declarations
  380.     not in class definitions.
  381.  
  382.     * cplus-decl2.c (grokbitfield): Don't die if user tries to declare
  383.     a bitfield type.
  384.  
  385.     * cplus-decl.c (add_block_current_level): New function.
  386.     * cplus-parse.y (except_stmts): In DEFAULT case, if `compstmt' was
  387.     empty, cons up a block (a LET_STMT) and add it to the current
  388.     level.
  389.  
  390.     * cplus-parse.y (except_stmts): Set TREE_LANG_FLAG_2 of `compstmt'
  391.     when in the default section of the catch clauses.
  392.  
  393.     * All GNU C++ files: rename functions from expand_cplus_... to
  394.     cplus_expand_...
  395.  
  396.     * dbxout.c (dbxout_{try,ehdecl,catch,end_catch_clauses}): New
  397.     functions to write out symbol information for exception handling.
  398.     (Based on TREE_LANG_FLAGs of blocks).
  399.  
  400.     * cplus-except.c: Added code to set TREE_LANG_FLAGs of blocks that
  401.     are returned from `poplevel'.  TREE_LANG_FLAG_1 means a try block;
  402.     TREE_LANG_FLAG_2 means a catch block; TREE_LANG_FLAG_3 means an
  403.     except block (which also means the end of the catch blocks).
  404.     * cplus-parse.y: Ditto.
  405.  
  406.     * cplus-typeck.c (build_binary_op): In addition to NE_EXPR
  407.     comparison against INTEGER_ZERO_NODE, also allow EQ_EXPR for
  408.     allowable pointer conversions.
  409.  
  410.     * cplus-cvt.c (build_type_conversion): Check that a conversion is
  411.     not ambiguous (error_mark_node) before using it immediately.
  412.  
  413.     * cplus-class.c (ideal_candidate): Don't quit immediately if the
  414.     parameters of the derived conversion to not match the parameters
  415.     of the base conversion.
  416.  
  417. Tue May 22 06:06:38 1990  Michael Tiemann  (tiemann at gzilla)
  418.  
  419.     * cplus-cvt.c (convert_from_reference): No longer try to optimize
  420.     case of pulling known value from reference.  We may want to do
  421.     this later, but it's not worth debugging now.
  422.  
  423.     * cplus-decl.c (grok_reference_init): Only build temporary for
  424.     reference initialization if the reference type is `const'.
  425.     (New ANSI C++ rules).  Also, change interface to return `void',
  426.     since it was always returning 0.  Change caller to set INIT to 0
  427.     after calling `grok_reference_init'.
  428.  
  429. Fri May 18 14:05:38 1990  Michael Tiemann  (tiemann at teacake)
  430.  
  431.     * cplus-class.c (build_vbase_path): Avoid crash in case syntax
  432.     errors got things confused and we can't find our virtual
  433.     baseclass.
  434.  
  435. Mon May 14 07:52:22 1990  Michael Tiemann  (tiemann at gzilla)
  436.  
  437.     * cplus-class.c (build_method_call): Don't use a virtual function
  438.     table if INSTANCE is manifestly `this' in constructor or
  439.     destructor.
  440.  
  441.     * cplus-init.c (build_delete): Major interface change.
  442.     AUTO_DELETE now has additional possible values.  If in the
  443.     program, (AUTO_DELETE & 1) is non-zero, then call free on our
  444.     incoming object.  If (AUTO_DELETE & 2) is non-zero, then tear down
  445.     virtual baseclasses as well.  All callers changed.
  446.  
  447. Sun May 13 15:57:48 1990  Michael Tiemann  (tiemann at gzilla)
  448.  
  449.     * cplus-parse.y (delete cast_expr): If the type of object being
  450.     destroyed has a destructor, then give the destructor full
  451.     authority to destroy the object.  This will include destroying its
  452.     virtual base classes.  If the type does not have a destructor
  453.     (cannot have multiple or virtual baseclasses in this case), then
  454.     perform the two-step process of destroying and then deallocating
  455.     the object.  Also add LOOKUP_HAS_IN_CHARGE to the flags we use in
  456.     our call.
  457.  
  458.     * cplus-decl.c (finish_function): Make sure to call the delete
  459.     operator when finished inside a destructor.
  460.  
  461.     * cplus-init.c (build_delete): Don't change the vtables of the
  462.     object being deleted here.
  463.     * cplus-decl.c (finish_function): Change them all here (not just
  464.     virtual baseclasses).  Uses CLASSTYPE_VFIELDS to find all the
  465.     vfield slots.
  466.  
  467. Sat May 12 08:13:44 1990  Michael Tiemann  (tiemann at gzilla)
  468.  
  469.     * cplus-typeck.c (build_x_compound_expr): New function to be
  470.     called when syntactic ',' operator is parsed.
  471.     * cplus-parse.y (expr): Call `build_x_compound_expr' instead of
  472.     build_compound_expr'.
  473.     * cplus-lex.c (init_lex): Prepare to handle operator,.
  474.  
  475.     * dbxout.c (dbxout_type_fields): Write out anonymous union
  476.     elements.
  477.  
  478.     * cplus-typeck.c (build_modify_expr): Handle case of op= where
  479.     operands require type conversion to some scalar reference type.
  480.  
  481.     * cplus-parse.y (do_components): Give parse error if type
  482.     declaration in structure is not one of ENUMERAL_TYPE, UNION_TYPE,
  483.     or RECORD_TYPE.
  484.  
  485.     * cplus-typeck.c (build_modify_expr_1): Effort to save a tree node
  486.     by copying a subexpression and assigning its type got GNU C++ in
  487.     trouble.  Code now assigns the baseclasses via `get_base_ref'.
  488.     (get_base_ref): New function.
  489.  
  490.     * cplus-lex.c (interface_strcmp): New function.  Handle all files
  491.     whose prefix matches the initial file's prefix.  A prefix in this
  492.     case is the string of characters up to the first `.'.
  493.  
  494.     * cplus-decl.c (grok_reference_init): If the type of the
  495.     initializer has the same code as the type of the reference,
  496.     convert the initializer to the reference's target type.  This
  497.     permits people to say things like `short &sr = 10;'.
  498.  
  499.     * cplus-cvt.c (convert_to_reference): Don't convert types whose
  500.     sizes or codes are different (if both are non-aggr type).
  501.  
  502.     * cplus-typeck (build_binary_op_nodefault): Call
  503.     `common_base_type' when comparing pointers with EQ_EXPR or
  504.     NE_EXPR.
  505.  
  506.     * cplus-typeck.c (build_conditional_expr): if TYPE1 and TYPE2
  507.     share a common ancestor, then convert to this type instead of
  508.     giving type mismatch error.
  509.     (common_base_type): New function.
  510.  
  511. Fri May  4 00:13:44 1990  Michael Tiemann  (tiemann at teacake)
  512.  
  513.     * cplus-decl2.c (finish_file): TREE_PUBLIC is enough to cause
  514.     vtable to be written out if WRITE_VIRTUALS > 0.
  515.  
  516.     * cplus-class.c (prepare_fresh_vtable): Set TREE_PUBLIC and
  517.     TREE_EXTERNAL here according to CLASSTYPE_VTABLE_NEEDS_WRITING, 
  518.     etc.
  519.  
  520.     * cplus-typeck.c (commonparms): Free space used by common
  521.     parameter list if there were no changes needed to merge P1 and P2.
  522.  
  523. Thu May  3 22:56:46 1990  Michael Tiemann  (tiemann at teacake)
  524.  
  525.     * cplus-init.c (expand_member_init): Don't be faked out by names
  526.     which are both typedef'd and which are class members.  In the
  527.     future, we need to handle the whole namespace problem better, but
  528.     for now, if it doesn't look like a base type, treat it as a
  529.     member.
  530.  
  531.     * cplus-typeck.c (commonparms): New function; consists of code
  532.     split out from `commontype'.
  533.     * cplus-decl.c (grokfndecl): Call `commonparms' to merge default
  534.     parameter information from base class into derived class virtual
  535.     function.
  536.  
  537. Wed May  2 22:28:51 1990  Michael Tiemann  (tiemann at teacake)
  538.  
  539.     * dbxout.c (dbxout_type): Don't convert DECL_OFFSET (TYPE_NAME (TYPE)) 
  540.     to bits from bytes--it is already in bits.
  541.  
  542. Sun Apr 29 00:01:56 1990  Michael Tiemann  (tiemann at teacake)
  543.  
  544.     * cplus-decl2.c (finish_file): Continue with substitution of
  545.     `build' with `build1' where appropriate.
  546.     * cplus-init.c (various places): Ditto.
  547.  
  548. Sat Apr 28 14:32:42 1990  Michael Tiemann  (tiemann at gzilla)
  549.  
  550.     * cplus-decl.c (maybe_build_cleanup): Call `build1' instead of
  551.     `build'.
  552.     * cplus-expr.c (cplus_expand_expr): Ditto.
  553.     * expr.c (various places): Ditto.
  554.     * cplus-typeck.c (Ditto): Ditto.
  555.  
  556.     * New strategies for saving storage and time:
  557.     * cplus-tree.c (list_hash_lookup_or_cons): Look into VALUE to see
  558.     if we have a list of the kind we want.  If we don't put the list
  559.     into HASH_LIST_TABLE.
  560.     * cplus-tree.c (build_decl_list_1): Same strategy, but cons
  561.     a temporary node if we don't.
  562.     * cplus-parse.y: Call `build_decl_list_1' where profitable.
  563.     * cplus-decl.c (grokdeclarator): Handle missing declarator names
  564.     more gracefully.
  565.     * cplus-decl2.c (groktypefield): Handle a RECORD_TYPE in
  566.     DECLSPECS.
  567.  
  568. Thu Apr 26 18:25:31 1990  Michael Tiemann  (tiemann at teacake)
  569.  
  570.     * Merged changes to make #pragma dump and -fundump-... work with
  571.     #pragma interface and #pragma implementation.  Also, use mmap on
  572.     Sun instead of reading all bits from a dumped file.
  573.  
  574. Wed Apr 25 10:06:44 1990  Michael Tiemann  (tiemann at teacake)
  575.  
  576.     * toplev.c (rest_of_compilation): Rewire inline logic to avoid
  577.     most calls to `save_for_inline'.
  578.     * integrate.c (save_for_outline): New function; saves functions
  579.     which are normally inline, but may need to be outlined later.
  580.  
  581.     * cplus-tree.c (layout_basetypes): Clear CLASSTYPE_VIA_VIRTUAL if
  582.     BASETYPE is incomplete.
  583.  
  584.     * cplus-tree.h: Change respresentation of `type_lang_specific' to
  585.     keep conversions in array rather than in separate variables.
  586.     * cplus-tree.h: Use enum conversion_type to index into the
  587.     conversion array.
  588.     * cplus-class.c: Replace random logic with loop that iterates
  589.     across conversion types.
  590.  
  591. Tue Apr 24 00:36:02 1990  Michael Tiemann  (tiemann at teacake)
  592.  
  593.     * cplus-decl{2}.c: Finally get #pragma interface and #pragma
  594.     implemenetation working.
  595.  
  596.     * cplus-{decl2,lex,init,method}.c: "__user_new" is gone.  It has
  597.     been replaced uniformly with OPERATOR_NEW_FORMAT.
  598.     * cplus-init.c (build_new): Parameter USER_PARMS is renamed
  599.     PLACEMENT.
  600.  
  601.     * cplus-parse.y (primary): Handle case where `operator_name' is an
  602.     here-to-fore unknown operator.
  603.     * cplus-class.c (build_instantiated_decl): Pass &EXP instead of
  604.     &TREE_VALUE (EXP) to `build_operator_fnname'.  All other calls to
  605.     that function pass the address of an OP_IDENTIFIER.
  606.  
  607.     * cplus-decl.c (finish_function): Call `convert_pointer_to_vbase'
  608.     instead of `convert_pointer_to'; this saves an abort when the
  609.     lattice contains both virtual and non-virtual versions of a
  610.     baseclass we are looking for.
  611.  
  612.     * cplus-decl2.c (setup_vtable_pointer): Cast initializer to
  613.     CURRENT_VTABLE_DECL in case it is more basic than we want it.
  614.  
  615.     * cplus-typeck.c (build_c_cast): Handle casting one reference type
  616.     to another.
  617.  
  618.     * cplus-cvt.c (build_type_conversion): More creativity in ways of
  619.     finding type conversions.
  620.  
  621.     * cplus-typeck.c (build_binary_op): Code simplified.
  622.  
  623.     * cplus-class.c (build_vbase_path): Incorprate Vasta's fix which
  624.     resets CODE to PLUS_EXPR once we have used it.  Otherwise, OFFSET
  625.     might be twice negated.
  626.  
  627.     * cplus-typeck.c (build_modify_expr): Since we don't know about
  628.     potential aliases, unless -felide-constructors is set, treat
  629.     "x = F(y);" as "t = F(y), x = t" if x's TREE_TYPE is
  630.     TREE_ADDRESSABLE.
  631.  
  632.     * cplus-decl.c (finish_function): If CLEANUP_LABEL is non-zero,
  633.     effectively do a jump to RETURN_LABEL in case the user has -Wall
  634.     turned on.  This causes the right things to happen to
  635.     NOTE_INSN_FUNCTION_END.
  636.  
  637.     * cplus-decl.c (grokvardecl): Give error if static member is
  638.     multiply initialized.  `duplicate_decls' will never be called for
  639.     this case, hence it cannot warn us.
  640.  
  641.     * cplus-decl.c (grokdeclarator): CONSTP is meaningless for
  642.     REFERENCE_TYPEs.
  643.  
  644.     * cplus-typeck.c (actualparameterlist): Don't make an OFFSET_REF
  645.     of something that is already an OFFSET_REF.
  646.  
  647. Sun Apr 22 18:38:35 1990  Michael Tiemann  (tiemann at teacake)
  648.  
  649.     * cplus-method.c (build_opfncall): ARG3 holds the PLACEMENT of a
  650.     user-defined new operator.
  651.  
  652.     * cplus-init.c (build_new): Interface change now takes
  653.     USE_GLOBAL_NEW as parameter.  All callers changed.
  654.  
  655. Wed Apr 18 10:10:09 1990  Michael Tiemann  (tiemann at teacake)
  656.  
  657.     * cplus-search.c (dfs_record_inheritance): Use TYPE_MAIN_VARIANT
  658.     of BASECLASS.
  659.  
  660.     * cplus-search.c (report_ambiguous_mi_virtuals): Don't crash if
  661.     MI_VMATRIX is not fully populated (i.e., there are zero entries in
  662.     between non-zero ones).
  663.  
  664. Fri Apr 13 09:07:36 1990  Michael Tiemann  (tiemann at suntana)
  665.  
  666.     * expr.c (expand_call): Don't defer popping if this is a call to
  667.     setjmp, longjmp (or a related function).
  668.  
  669. Wed Apr 11 09:49:33 1990  Michael Tiemann  (tiemann at gzilla)
  670.  
  671.     * cplus-typeck.c (build_component_ref): When taking address of
  672.     bound member function, don't forget to convert DATUM to
  673.     DECL_VCONTEXT of FIELD.
  674.  
  675. Sat Apr  7 12:49:13 1990  Michael Tiemann  (tiemann at teacake)
  676.  
  677.     * cplus-search.c (get_first_matching_virtual): Don't crash if
  678.     redeclaring a virtual function `static'.
  679.  
  680. Thu Apr  5 04:45:13 1990  Michael Tiemann  (tiemann at teacake)
  681.  
  682.     * cplus-class.c (finish_struct): Remove warning about structures
  683.     which have no data members.
  684.  
  685.     * expr.c (expand_expr): Do not call `use_variable' on a TYPE_DECL
  686.     of STMT_VARs.
  687.  
  688. Tue Apr  3 07:48:47 1990  Michael Tiemann  (tiemann at teacake)
  689.  
  690.     * cplus-typeck.c (c_expand_start_case): Make this function handle
  691.     expressions that can be converted to integer types via type
  692.     conversion operators.
  693.  
  694.     * cplus-decl.c (start_function): If there was a previous `extern "C"'
  695.     declaration when a function is defined in C++ langauge scope, give
  696.     error message if argument types line up, but return types do not.
  697.  
  698. Mon Apr  2 13:38:22 1990  Michael Tiemann  (tiemann at teacake)
  699.  
  700.     * cplus-lex.c (check_newline): Recognize `#pragma interface'.
  701.     * cplus-tree.c (lang_output_debug_info): Implement action for
  702.     `#pragma interface'.
  703.     * cplus-decl{2}.c: Various hacks to make this work.
  704.  
  705.     * cplus-class.c (finish_struct): Added new slots for
  706.     CLASSTYPE_INT_CONVERSION and CLASSTYPE_REAL_CONVERSION to simplify
  707.     picking up these conversions when narrower or wider conversions
  708.     (than the default type) are provided.
  709.  
  710.     * cplus-cvt.c (build_up_reference): When building `X&' via an
  711.     `operator X ()', build it into a temporary, and return the
  712.     COMPOUND_EXPR which first computes the conversion and second has
  713.     the value of the temporary's address.
  714.  
  715. Sun Apr  1 17:28:35 1990  Michael Tiemann  (tiemann at teacake)
  716.  
  717.     * cplus-decl.c (build_enumerator): Handle case where VALUE is a
  718.     constant VAR_DECL.
  719.  
  720. Fri Mar 30 02:16:34 1990  Michael Tiemann  (tiemann at arkesden)
  721.  
  722.     * cplus-class.c (build_{scoped_}method_call): Handle calls to
  723.     destructor according to anticipated ANSI C++ rules.  p->X::~X ()
  724.     should call destructor (without calling `operator delete').
  725.     p->~X () should do likewise, but use a virtual lookup (perhaps).
  726.  
  727.     * cplus-class.c (compute_conversion_costs): Permit conversion to
  728.     `X&' when only `operator X' exists.
  729.  
  730. Thu Mar 29 18:14:31 1990  Michael Tiemann  (tiemann at rio)
  731.  
  732.     * cplus-init.c (finish_base_init): Function changed to...
  733.     * cplus-init.c (emit_base_init): ...this.  Emit the base
  734.     initializer to BASE_INIT_INSNS, as a sequence.
  735.     * cplus-init.c (check_base_init): New function: test that member
  736.     variables are not used before they are initialized.
  737.     * All callers changed.
  738.  
  739. Wed Mar 28 17:27:37 1990  Michael Tiemann  (tiemann at teacake)
  740.  
  741.     * cplus-init.c (build_new): If space is allocated for constructor,
  742.     call `build_method_call' with flags saying that the constructor is
  743.     in charge.
  744.  
  745. Tue Mar 27 22:20:37 1990  Michael Tiemann  (tiemann at teacake)
  746.  
  747.     * cplus-init.c (build_virtual_init): Convert virtual function
  748.     table address to type of virtual function table pointer.  These
  749.     may now compare as different, since array sizes between base and
  750.     derived classes may be different.
  751.  
  752.     * cplus-parse.y (init_parse): Make room for ENDFILE, which has the
  753.     value (-1).
  754.  
  755. Mon Mar 26 09:00:27 1990  Michael Tiemann  (tiemann at teacake)
  756.  
  757.     * toplev.c (FLAG_INLINE_DEBUG): New flag to control whether
  758.     inlines get debugging information or not.
  759.     * cplus-decl2.c (LANG_F_OPTIONS): Implemented.
  760.     * integerate.c (expand_inline_functions): Implemented.
  761.     * cplus-except.c (init_exception_processing): Make it possible for
  762.     user to declare `exceptionHandlerStack' her/himself.
  763.  
  764. Sun Mar 25 05:04:06 1990  Michael Tiemann  (tiemann at teacake)
  765.  
  766.     * cplus-init.c (build_delete): Remove assertion that
  767.     CLASSTYPE_OFFSET of BASETYPE must be non-zero for baseclasses 2
  768.     through N.  The first non-virtual baseclass need not be the first
  769.     baseclass, and it will be the one with a zero offset.
  770.  
  771.     * cplus-except.c (call_to_unhandled_exception): Adjust length
  772.     argument to `build_string'.
  773.  
  774.     * cplus-dem.c: Apply James Clark's patches.
  775.  
  776.     * cplus-decl.c (start_decl): If DECL is static and non-permanent,
  777.     and DECL needs destroying, make DECL permanent.  If there are
  778.     components of DECL's type which need to be made permanent, make
  779.     them permanent as well.
  780.  
  781.     * cplus-decl.c (grokdeclarator): Fix bugoid in SCOPE_REF case.
  782.  
  783.     * cplus-decl.c (finish_decl): Wait to build CLEANUP from DECL
  784.     until after completing its array type.
  785.  
  786.     * cplus-typeck.c (build_unary_op): If ARG is an OFFSET_REF,
  787.     resolve it before trying to increment (or decrement) it.
  788.  
  789.     * cplus-class.c (finish_struct_bits): When looking for type
  790.     conversion operators, test METHOD_VEC against NULL_TREE (in case
  791.     there is a conversion from a base class, and the derived class
  792.     defines no methods).
  793.  
  794.     * cplus-cvt.c (build_up_reference): Don't try to build up a
  795.     reference to an aggregate type which is not derived from another.
  796.  
  797.     * cplus-type2.c (build_functional_cast): Fixed typo.
  798.  
  799.     * cplus-typeck.c (comptypes): Break out code for ARRAY_TYPE case.
  800.     * cplus-typeck.c (comp_array_types): Function for that code.
  801.     * cplus-typeck.c (comptypes,comp_target_types): Call
  802.     `comp_array_types' for ARRAY_TYPE case.
  803.  
  804.     * cplus-class.c (build_method_call): Don't give error if
  805.     LOOKUP_COMPLAIN is not in FLAGS.
  806.  
  807.     * cplus-init.c (expand_aggr_init_1): When looking for
  808.     constructors, if XXREF_INIT_POSSIBLE is LOOKUP_SPECULATIVELY,
  809.     clear out LOOKUP_COMPLAIN, since failure of a particular
  810.     constructor can be managed by performing X(X&) initialization.  If
  811.     that fails, the caller of that attempted initialization will give
  812.     the error message.
  813.  
  814.     * cplus-decl2.c (coerce_delete_type): Simplify code, and make it
  815.     work in the presence of delete type with TYPE_ARG_TYPES (type) ==
  816.     NULL_TREE.
  817.  
  818.     * tree.c (array_type_nelts): Give error if this function is called
  819.     with incomplete type.
  820.  
  821. Sat Mar 24 19:23:19 1990  Michael Tiemann  (tiemann at teacake)
  822.  
  823.     * stmt.c (expand_function_start): Emit note that parms are in
  824.     their homes.
  825.  
  826.     * cplus-typeck.c (build_unary_op): Function types can have unary
  827.     `!' applied to them.
  828.  
  829.     * stmt.c (expand_expr_stmt): Don't warn about unused expressions
  830.     that are explicitly cast to void.
  831.  
  832. Sat Mar 10 05:23:36 1990  Michael Tiemann  (tiemann at teacake)
  833.  
  834.     * cplus-lex.c (reinit_parse_for_method): Try to give user some
  835.     clue as to where the problem is if method declaration looks wrong.
  836.  
  837.     * Makefile: Better handling of cadillac vs non-cadillac
  838.     compilation.
  839.     * cplus-cadillac.c: Updates for latest protocol.
  840.  
  841.     * cplus-cvt.c (build_type_conversion): Don't crash if EXPR is
  842.     ERROR_MARK_NODE.
  843.  
  844.     * cplus-class.c (build_method_call): Check for return of
  845.     `error_mark_node' from call to `build_new'.
  846.  
  847. Fri Mar  9 11:29:04 1990  Michael Tiemann  (tiemann at teacake)
  848.  
  849.     * cplus-typeck.c (build_modify_expr): Check TREE_READONLY bit if
  850.     reference type.
  851.  
  852. Mon Mar  5 14:54:12 1990  Michael Tiemann  (tiemann at teacake)
  853.  
  854.     * integrate.c (expand_inline_function): Forget about register
  855.     constancy if somebody clobbers a part of the register via a
  856.     STRICT_LOW_PART, SUBREG, SIGN_EXTRACT or ZERO_EXTRACT operation.
  857.  
  858.     * integrate.c (output_inline_function): LAST was unitialized due
  859.     to #if 0.  Moved #if 0 inside of loop.
  860.  
  861. Sun Mar  4 04:12:53 1990  Michael Tiemann  (tiemann at teacake)
  862.  
  863.     * cplus-init.c (build_new): Unless eliding constructors, we must
  864.     go through constructors if they are defined.
  865.  
  866.     * cplus-decl.c (start_function): Protect binding level of parms by
  867.     calling `pushlevel' in here...
  868.     * cplus-decl.c (finish_function): ...instead of here.  Make sure
  869.     we call corresponding `poplevel' on both constructor paths.
  870.  
  871.     * cplus-init.c (finish_base_init): If handling exceptions for
  872.     Spring, must always have IN_CHARGE_IDENTIFIER doing its thing for
  873.     constructors.
  874.  
  875.     * cplus-except.c (finish_exception_decl): Don't pretend that CTOR
  876.     is not a constructor.
  877.  
  878.     * cplus-decl.c (start_function): Force constructors to `return'
  879.     via CTOR_LABEL.
  880.  
  881.     * cplus-decl.c (init_decl_processing): If handling exceptions for
  882.     Spring, set FLAG_THIS_IS_VARIABLE to 2.
  883.  
  884.     * cplus-init.c (finish_base_init): Handle exceptions for Spring.
  885.  
  886.     * cplus-decl.c (in_parm_level_p): Function deleted.
  887.     * cplus-decl.c (have_exceptions_p): New function.
  888.  
  889.     * Integrate changes for cadillac.
  890.  
  891. Sat Mar  3 11:52:13 1990  Michael Tiemann  (tiemann at teacake)
  892.  
  893.     * cplus-parse.y (stmt): Implement `reraise ep;'.
  894.     * cplus-except.c (expand_cplus_reraise): Handle case where
  895.     EXCEPTIONS is an exception object to be reraised.
  896.  
  897.     * integrate.c (copy_decl_tree): Try latest fixes for GCC 2.0 to
  898.     improve GNU C++'s handing of inline functions.
  899.  
  900.     * cplus-init.c (expand_aggr_vbase_init): Delete this function
  901.     static.
  902.  
  903.     * cplus-tree.h (TREE_ANON_UNION_ELEM): Use TREE_REGDECL instead of
  904.     common.regdecl_attr.
  905.     * cplus-tree.h (DECL_ANON_UNION_ELEM): Ditto.
  906.     * cplus-tree.h (TREE_PARMLIST): Use `unsigned_attr' instead of
  907.     `regdecl_attr'.
  908.     * cplus-tree.h (TREE_VIA_PUBLIC): Use `used_attr' instead of
  909.     `public_attr'.
  910.     * cplus-tree.h (TREE_VIA_PROTECTED): Use `literal_attr' instead of
  911.     `public_attr'.
  912.     * cplus-tree.h (TREE_VIA_VIRTUAL): Ditto.
  913.  
  914. Thu Mar  1 19:32:03 1990  Michael Tiemann  (tiemann at teacake)
  915.  
  916.     * version.c: version 1.37.1 released.
  917.  
  918.     * integrate.c (expand_inline_function): Round up size of parm_map.
  919.  
  920.     * g++.texinfo: Updated to version 1.37.1, including the addition
  921.     of a new chapter on exception handling.
  922.  
  923.     * ld.c: Fixed #ifdef problems introduced by Mark Ullman.
  924.  
  925.     * cplus-parse.y (print_parse_statistics): Modified to work in case
  926.     YYDEBUG is not defined.
  927.  
  928. Wed Feb 28 09:45:09 1990  Michael Tiemann  (tiemann at teacake)
  929.  
  930.     * version.c: version 1.37.0 released.
  931.  
  932.     * HINTS: Hacked to look like an RMAIL file.
  933.  
  934.     * cplus-typeck.c (build_modify_expr_1): Copy virtual baseclasses
  935.     of members.
  936.  
  937. Mon Feb 26 06:36:50 1990  Michael Tiemann  (tiemann at teacake)
  938.  
  939.     * cplus-class.c (finish_base_struct): When building B->VFIELDS,
  940.     use precisely the right baseclass in the TREE_PURPOSE slot.
  941.     * cplus-class.c (modify_vtable_entries): Add additional test of
  942.     normalcy, which is that TREE_PURPOSE (VSLOTS) agree with the
  943.     basetype that TREE_VALUE (VSLOTS) is.
  944.  
  945.     * cplus-decl.c (finish_decl): If ASMSPEC_TREE is non-zero, then
  946.     zero out DECL_RTL (DECL).  Otherwise, it won't take.
  947.  
  948. Sun Feb 25 03:50:08 1990  Michael Tiemann  (tiemann at teacake)
  949.  
  950.     * cplus-typeck.c (build_modify_expr): Fix off-by-one bug in array
  951.     assignment case.
  952.  
  953.     * cplus-init.c (cplus_expand_expr_stmt): Move function from here...
  954.     * cplus-decl.c (cplus_expand_expr_stmt): ...to here.  Now we can
  955.     handle binding-level semantics at `exprstmt' boundaries.
  956.  
  957.     * cplus-decl.c (lang_decode_option): Moved function from here...
  958.     * cplus-decl2.c (lang_decode_option): ...to here.  Also moved
  959.     flags around, as neccessary.
  960.  
  961.     * cplus-method.c (various places): Call    `dump_readonly_or_volatile'
  962.     in many more places (saving 624 bytes object code).
  963.  
  964.     * tree.h (struct tree_common): Add `raises_attr' and define
  965.     TREE_RAISES.
  966.     * tree.c (build{,1}): Set TREE_RAISES bit.
  967.     * cplus-class.c (build_method_call): Set TREE_RAISES bit.
  968.     * cplus-cvt.c (convert_to_aggr): Ditto.
  969.     * cplus-typeck.c (build_function_call,actualparameterlist): Ditto.
  970.     * cplus-init.c (expand_aggr_init_1): Don't know what to do about
  971.     TREE_RAISES, so #if 0'd out code to set it.
  972.  
  973.     * cplus-decl.c (struct binding_level): Add new fields
  974.     `more_exceptions_ok' and `have_exceptions'.
  975.  
  976. Sat Feb 24 14:05:01 1990  Michael Tiemann  (tiemann at arkesden)
  977.  
  978.     * cplus-decl.c (finish_function): Move code up that handles named
  979.     return values that got kicked out of registers (hard or pseudo).
  980.  
  981.     * stmt.c (expand_function_start): Failed to set TREE_REGDECL in
  982.     the case that PARMS_HAVE_CLEANUPS was nonzero.
  983.  
  984.     * stmt.c (expand_goto_internal,fixup_cleanups): After running
  985.     cleanups, fixup the stack.
  986.  
  987. Fri Feb 23 07:40:17 1990  Michael Tiemann  (tiemann at arkesden)
  988.  
  989.     * cplus-cvt.c (build_type_conversion): There is only one void
  990.     type, so don't try looking "default" void to see if different.
  991.  
  992.     * cplus-except.c (expand_cplus_end_catch): Call `expand_end_catch'
  993.     instead of `expand_escape_except'.
  994.  
  995.     * cplus-except.c (expand_cplus_{end_except,reraise}): In case of
  996.     unhandled exceptions, have the program call
  997.     `__unhandled_exception' instead of `abort'.
  998.  
  999.     * cplus-class.c (ideal_candidate): If the best candidate requires
  1000.     a strict subset of the user-defined type conversions of all the
  1001.     other candidates, pick it as the best.
  1002.  
  1003.     * cplus-type2.c (build_functional_cast): If both attempts to cast
  1004.     the argument failed, see why with LOOKUP_NORMAL, not
  1005.     LOOKUP_COMPLAIN.
  1006.  
  1007. Thu Feb 22 03:52:00 1990  Michael Tiemann  (tiemann at arkesden)
  1008.  
  1009.     * clpus-decl.c ({push,pop}_decl_level): Now #includes "stack.h"
  1010.     and uses `{push,pop}_stack_level'.
  1011.  
  1012.     * cplus-decl.c (hack_incomplete_structures): Now also completes
  1013.     arrays of incomplete structs.
  1014.  
  1015.     * cplus-lex.c (build_operator_fnname): Don't get faked out by
  1016.     ERROR_MARK as the TREE_CODE.
  1017.  
  1018.     * stor-layout.c (layout_{record,union}): For loops over fields,
  1019.     skip if TREE_CODE (field) != FIELD_DECL, instead of testing if ==
  1020.     CONST_DECL or VAR_DECL or TYPE_DECL etc.
  1021.  
  1022.     * cplus-decl.c (pushtag): Do gratuitous C++ typedefing even when
  1023.     in C language scope.  Sigh.
  1024.  
  1025.     * cplus-decl.c (xref_tag): Don't assume CODE == TREE_CODE (REF).
  1026.     It's not when the user redeclares REF as the wrong kind of tag.
  1027.  
  1028.     * cplus-search.c (dfs_init_vbase_pointers): Use TREE_PURPOSE of
  1029.     VBASE_INIT_RESULT to hold the type of the virtual baseclass that
  1030.     was initialized.
  1031.     * cplus-init.c (expand_aggr_vbase_init): Walk through RESULT and
  1032.     INIT_LIST in the order of CLASSTYPE_VBASECLASSES.
  1033.     * cplus-init.c (expand_aggr_vbase_init_1): New function.
  1034.  
  1035.     * cplus-decl.c (finish_function): Test CLASSTYPE_VSIZE before
  1036.     calling `build_virtual_init'.
  1037.  
  1038. to do:    fix protected squeaking through with -fsave-memoized
  1039. to do:  unify code in expand_vec_init, expand_vec_delete
  1040. to do:  for-local objects with destructors do not land in the right
  1041.     cleanup contour.
  1042. to do:  fix complicated multiple inheritance bugs that strike when
  1043.     baseclasses are not virtual, and appear at multiple sites within
  1044.     the lattice.
  1045. to do:  integrate.c vs GCC.
  1046. to do:  virtual functions for Convex and Choices
  1047. to do:  real pointers to members
  1048.  
  1049. Mon Feb 19 13:48:30 1990  Michael Tiemann  (tiemann at arkesden)
  1050.  
  1051.     * cplus-decl.c (grokdeclarator): Fix up ENUMERAL_TYPEs which are
  1052.     ANON_AGGR_NAME_P.
  1053.  
  1054.     * cplus-cvt.c (convert): If we know a type conversion applies,
  1055.     don't try for fancy constructors.
  1056.  
  1057.     * cplus-decl.c (build_enumerator): TREE_TYPE (VALUE) must always
  1058.     be INTEGER_TYPE_NODE before calling `build_binary_op_nodefault'.
  1059.  
  1060.     * cplus-decl.c (complete_array_type): Merged GCC 1.37 code.
  1061.     * integrate.c (copy_for_inline): Ditto.
  1062.     * cplus-decl.c (grokdeclarator): Ditto.
  1063.     * stor-layout.c (layout_type): Ditto.
  1064.  
  1065. Sat Feb 17 08:49:21 1990  Michael Tiemann  (tiemann at arkesden)
  1066.  
  1067.     * cplus-typeck.c (require_instantiated_type): Make non-static.
  1068.     * cplus-typeck.c (type_unknown_p): New function, returns
  1069.     truthvalue of whether the TREE_TYPE of its argument is known.
  1070.     * cplus-class.c (various places): Changed to call these functions.
  1071.  
  1072. Fri Feb 16 15:17:54 1990  Michael Tiemann  (tiemann at arkesden)
  1073.  
  1074.     * cplus-class.c (finish_struct): Cons up default destructors when
  1075.     T uses virtual baseclasses or multiple inheritance, in addition to
  1076.     the usual cases.
  1077.  
  1078.     * integrate.c (copy_rtx_and_substitute): If we were needing an
  1079.     inline target (for example, a USE of the function return result),
  1080.     and we don't have one, just cons one up.
  1081.  
  1082.     * cplus-init.c (expand_vec_init): Comparison of HOST_I against
  1083.     zero should have been >=, not >.
  1084.  
  1085.     * cplus-dem.c: Fix #defines to use bcopy, bcmp instead of the str
  1086.     functions.
  1087.  
  1088.     * cplus-cvt.c (convert): If converting to void type, check for
  1089.     possible operator void.
  1090.  
  1091.     * stmt.c (fixup_cleanups): If cleanups expand to nothing, don't
  1092.     call `reorder_insns'.
  1093.  
  1094.     * cplus-search.c ({push,pop}_stack_level): New functions.
  1095.     Abstracts functionality of pushing/popping objects to/from
  1096.     obstacks.
  1097.     * cplus-search.c ({push,pop}_search_level): Use new *_stack_level
  1098.     functions.
  1099.     * cplus-search.c ({push,pop}_type_level): Ditto.
  1100.  
  1101. Tue Feb 13 11:32:12 1990  Michael Tiemann  (tiemann at teacake)
  1102.  
  1103.     * cplus-init.c (build_delete): This function can get visibilities
  1104.     wrong if default destructors are not built (currently the case).
  1105.     As a temporary fix, pass FLAGS with LOOKUP_PROTECTED_OK for base
  1106.     destructor calls, and test LOOKUP_PROTECTED_OK when thinking about
  1107.     complaining.
  1108.  
  1109. Sun Feb 11 11:47:37 1990  Michael Tiemann  (tiemann at arkesden)
  1110.  
  1111.     * cplus-decl.c (finish_function): Don't call `build_virtual_init'
  1112.     for types which don't have virtual functions.  Similarly, don't
  1113.     call `build_delete' if it doesn't need a destructor.
  1114.  
  1115.     * cplus-init.c (finish_base_init,build_delete): When building up
  1116.     and tearing down objects' bases, build pointers to base objects
  1117.     directly rather than by calling through `convert_pointer_to',
  1118.     since ambiguity in the lattice causes it trouble.
  1119.  
  1120.     * cplus-typeck.c (build_modify_expr): Removed unneeded casts when
  1121.     building sum of base address + offset.
  1122.     * cplus-class.c (build_vbase_path): Ditto.
  1123.     * cplus-class.c (build_vfn_ref): Ditto.
  1124.     * cplus-init.c (resolve_offset_ref): Ditto.
  1125.     * cplus-init.c (build_delete): Ditto.
  1126.  
  1127.     * cplus-typeck.c (build_modify_expr): Fix parenthesis error for
  1128.     deciding whether to recurse through aggregates or not
  1129.     (TYPE_USES_VIRTUAL_BASECLASSES is not enough).
  1130.  
  1131.     * cplus-parse.y (try): Change type from TTYPE to ITYPE.
  1132.     * cplus-parse.y (stmt): Call `cplus_expand_end_try' with result of
  1133.     `try' stmt.  Now, if we wanted to, we could pass additional
  1134.     information about whether this try block is followed by an except
  1135.     stmt or a reraise clause.
  1136.     * cplus-parse.y (stmt): When processing a reraise clause, use
  1137.     ERROR_MARK_NODE as the default handler, to indicate that we
  1138.     actually have one, rather than NULL_TREE, which claims that we
  1139.     don't.
  1140.     * cplus-except.c (cplus_expand_end_except): Always try next
  1141.     handler before ending the block.
  1142.     
  1143. Sat Feb 10 13:57:28 1990  Michael Tiemann  (tiemann at teacake)
  1144.  
  1145.     * cplus-init.c (build_delete): Use `convert_pointer_to' when ADDR
  1146.     is TREE_LITERAL.
  1147.  
  1148.     * cplus-class.c (build_vfn_ref): Save intermediate result in
  1149.     SAVE_EXPR so we don't have to compute each component of virtual
  1150.     function pointer twice.  But only do this when BUILDING_CLEANUP
  1151.     is zero.
  1152.     * cplus-decl.c (maybe_build_cleanup): New global variable
  1153.     BUILD_CLEANUP is controlled by this function.
  1154.  
  1155.     * cplus-expr.c (cplus_expand_expr): Use separate CALL_TARGET and
  1156.     RETURN_TARGET, in case call to `expand_expr' returns something
  1157.     different than CALL_TARGET in NEW_EXPR case.
  1158.  
  1159. Fri Feb  9 04:00:42 1990  Michael Tiemann  (tiemann at teacake)
  1160.  
  1161.     * cplus-lex.c (getch): New function.  Encapsulates call to `getc'
  1162.     macro within function to save space.
  1163.     * cplus-lex.c (check_newline): Call `getch' instead of `getc' to
  1164.     get pragma text.
  1165.  
  1166. Mon Feb  5 13:55:33 1990  Michael Tiemann  (tiemann at arkesden)
  1167.  
  1168.     * cplus-decl.c (grokdeclarator): Don't gripe if static member has
  1169.     incomplete type.
  1170.  
  1171. Sun Feb  4 19:51:52 1990  Michael Tiemann  (tiemann at arkesden)
  1172.  
  1173.     * cplus-class.c (modify_vtable_entries): Fix failure to use
  1174.     proper initial value for OFFSET.
  1175.  
  1176.     * cplus-tree.c (layout_vbasetypes): Gross error was accidently
  1177.     causing storage to be exponentially counted!  Fixed...
  1178.  
  1179.     * cplus-decl.c (duplicate_decls): Catch case where OLDDECLS are
  1180.     some overloaded functions and NEWDECL is not a FUNCTION_DECL.
  1181.  
  1182.     * cplus-init.c (finish_base_init): If there are several members
  1183.     with the same name (from different baseclasses), get the topmost
  1184.     one.
  1185.  
  1186.     * cplus-tree.c (lang_simple_cst_equal): New function.  Callback
  1187.     for `simple_cst_equal'.
  1188.     * tree.c (simple_cst_equal): Needs new treatment for handling
  1189.     NEW_EXPR and CPLUS_NEW_EXPR.  Use call-back for latter.
  1190.     * tree.c (simple_cst_list_equal): Now non-static.
  1191.  
  1192.     * integrate.c (expand_inline_function): Use `convert_move' instead
  1193.     of `emit_move_insn' when we need to copy INLINE_TARGET back to
  1194.     TARGET.
  1195.  
  1196. Sat Feb  3 09:45:47 1990  Michael Tiemann  (tiemann at teacake)
  1197.  
  1198.     * ld.c: integrate changes from Mark Ullman which make linker
  1199.     suitable for cross linking.
  1200.  
  1201. Thu Feb  1 16:27:03 1990  Michael Tiemann  (tiemann at teacake)
  1202.  
  1203.     * cplus-expr.c (cplus_expand_expr): If TARGET is 0, generate a new
  1204.     temporary, unless MODE is BLKmode, in which case we abort.
  1205.  
  1206. Tue Jan 30 02:55:20 1990  Michael Tiemann  (tiemann at arkesden)
  1207.  
  1208.     * version.c: version 1.36.4 released.
  1209.  
  1210.     * cplus-decl.c (build_enumerator): Make it impossible to lose if
  1211.     ENUM_NEXT_VALUE is something like INTEGER_ONE_NODE.
  1212.  
  1213.     * tree.c (build_int_2): Don't need to set TREE_LITERAL here, it is
  1214.     set in `make_node'.
  1215.     * tree.c (make_node): Increment `TREE_NODE_KINDS[C_KIND]' for
  1216.     INTEGER_CST nodes.
  1217.  
  1218.     * cplus-init.c (expand_aggr_init_1): NEW_EXPR now encapsulates new
  1219.     information (due to compiler merging); lossage fixed.
  1220.  
  1221.     * case.c (various places): Replace calls to `build_int_2 (x, 0)'
  1222.     (where x == 0 or x == 1) with INTEGER_{ZERO,ONE}_NODE as
  1223.     appropriate.
  1224.  
  1225.     * cplus-typeck.c (build_component_addr): Break out code to build
  1226.     the ADDR_EXPR of a COMPONENT_REF from `build_unary_op'.
  1227.     * cplus-cvt.c (build_up_reference): Call `build_component_addr' in
  1228.     case of COMPONENT_REF.
  1229.  
  1230. Sun Jan 28 04:39:54 1990  Michael Tiemann  (tiemann at arkesden)
  1231.  
  1232.     * cplus-init.c (build_vec_delete): Set TREE_VOLATILE on BLOCK,
  1233.     LOOP, and IF_STMT, to avoid spurious warning messages about
  1234.     statements not being useful.
  1235.     * stmt.c (warn_if_unused_value): Don's warn for LOOP_STMT,
  1236.     IF_STMT, or LET_STMT.
  1237.  
  1238.     * cplus-decl.c (build_enumerator): Prepare for fact that `fold'
  1239.     might put NOP_EXPRs around everything that is not an lvalue.
  1240.  
  1241.     * cplus-method.c (build_opfncall): New parameter FLAGS.
  1242.     Don't lose unless FLAGS include LOOKUP_COMPLAIN; there's always a
  1243.     chance that a type conversion will work, after all.
  1244.     * All callers changed.
  1245.  
  1246.     * cplus-cvt.c (build_type_conversion): Permit `operator int' to
  1247.     convert when `unsigned' is wanted (provided no `operator unsigned'
  1248.     exists).  Same for `long' and `unsigned long'.
  1249.  
  1250.     * cplus-expr.c: New file.  Contains definition of new function
  1251.     `cplus_expand_expr'.
  1252.  
  1253.     * cplus-lex.c (init_lex): Initialize LANG_EXPAND_EXPR.
  1254.  
  1255.     * toplev.c (LANG_EXPAND_EXPR): New variable is pointer-to-function
  1256.     which expands language-specific tree codes.  Its default is
  1257.     `fancy_abort'.
  1258.     * cplus-tree.def (CPLUS_NEW_EXPR): New tree code.
  1259.  
  1260. Sat Jan 27 09:30:13 1990  Michael Tiemann  (tiemann at arkesden)
  1261.  
  1262.     * tree.c (decl_type_context): Handle LET_STMT.
  1263.  
  1264.     * stmt.c (expand_catch): Renaming of function
  1265.     `expand_start_catch'.  This function no longer takes EXITFLAG or
  1266.     ESCAPEFLAG as parameters (which is just as well, since it never
  1267.     used them anyway).
  1268.     * cplus-except.c (expand_cplus_start_catch): Caller changed.
  1269.     * cplus-parse.y: Removed vestigial call to `expand_end_catch'.
  1270.  
  1271.     * cplus-decl.c (duplicate_decls): Use FUNCTION_SIZE as measure of
  1272.     size of FUNCTION_DECL.
  1273.  
  1274.     * cplus-class.c (finish_base_struct): Get a fresh assoc list for
  1275.     BASETYPE before calling `propagate_basetype_offsets'.  Also, copy
  1276.     the language-specific parts of BASETYPE.
  1277.     * cplus-class.c (propagate_basetype_offsets): FOR_TYPE now owns
  1278.     its assoc list for sure.
  1279.  
  1280.     * cplus-class.c (build_vbase_path): Convert EXPR at each stage of
  1281.     the lowering so that we don't get multiple calls to
  1282.     `build_vbase_path' when we try to build the vbase pointer.
  1283.     @@ This could probably be solved more cleanly.
  1284.  
  1285.     @@ Note that COMPONENT_REFs used as instance variables in method
  1286.     calls lose the fact that they were of fixed type.
  1287.  
  1288.     * cplus-decl.c (LANG_F_OPTIONS): Add FLAG_NO_INLINE for
  1289.     -fno-inline.
  1290.     * cplus-decl.c (grokdeclarator): Implement FLAG_NO_INLINE.
  1291.  
  1292.     * cplus-decl.c (pushdecl): Only record an incomplete variable if
  1293.     it is RECORD_TYPE or UNION_TYPE.  ARRAY_TYPE does not count.
  1294.  
  1295.     * cplus-init.c ({value,purpose}_member): Moved to tree.c.
  1296.     * cplus-decl2.c (FIRST_GLOBAL_OBJECT_NAME): Moved to varasm.c.
  1297.  
  1298.     * cplus-init.c (build_delete): Fixed code to avoid going through
  1299.     virtual function tables when some baseclasses are virtual.
  1300.     Accomplished by changing parameter PROTECT to FLAGS.
  1301.     * All callers changed.
  1302.  
  1303. Fri Jan 26 03:44:15 1990  Michael Tiemann  (tiemann at teacake)
  1304.  
  1305.     * cplus-decl.c (xref_tag): For jjg: make typedefs and struct defs
  1306.     more equivalent.
  1307.  
  1308.     * cplus-decl.c (xref_tag): Derived unions are invalid.
  1309.  
  1310.     * cplus-decl.c (finish_function): For destructors, remember to run
  1311.     base destructors for virtual baseclasses.
  1312.  
  1313.     * cplus-search.c (get_base_distance): Track leftmost path in chain
  1314.     whether or not PATH_PTR is non-NULL.
  1315.  
  1316.     * cplus-init.c (expand_vec_delete): Deleted.  Callers now expand
  1317.     result from `build_vec_delete'.
  1318.     * Reinstall Jan 23 changes marked `@'.
  1319.  
  1320. Thu Jan 25 21:35:27 1990  Michael Tiemann  (tiemann at teacake)
  1321.  
  1322.     * expr.c (expand_expr): Handle expansion of LOOP_STMT and IF_STMT.
  1323.  
  1324.     * tree.c (build_loop): Bring this function out of its #ifdef.
  1325.  
  1326.     * stmt.c (expand_decl): Remove CLEANUP argument.
  1327.     * stmt.c (expand_decl_cleanup): New function, called when cleanup
  1328.     is needed.
  1329.     * cplus-decl.c (finish_decl): Use `expand_decl_cleanup'.
  1330.  
  1331. Wed Jan 24 07:34:40 1990  Michael Tiemann  (tiemann at arkesden)
  1332.  
  1333.     * cplus-decl.c (maybe_build_cleanup): Never build cleanups on the
  1334.     MOMENTARY_OBSTACK.
  1335.  
  1336.     * stmt.c: Merged to 1.36.93.
  1337.     * expr.c: Merged to 1.36.93.
  1338.  
  1339. Tue Jan 23 02:40:42 1990  Michael Tiemann  (tiemann at teacake)
  1340.  
  1341.     * cplus-typeck.c (build_binary_op_nodefault): Use
  1342.     `conver_pointer_to' to convert arguments before comparing
  1343.     aggregate pointers.
  1344.  
  1345.     * cplus-class.c (build_vbase_path): Optimize path to virtual bases
  1346.     through objects with fixed type.
  1347.  
  1348.     * cplus-typeck.c (build_component_ref_2): Deleted.
  1349.     * cplus-typeck.c (build_component_ref): When FIELD comes from a
  1350.     non-"normal" baseclass, go through `convert_to_pointer' to convert
  1351.     DATUM to the right address.
  1352.  
  1353.     * cplus-typeck.c (build_unary_op): Handle case where FIELD is
  1354.     really a TYPE_DECL (which is used just for its DECL_OFFSET).
  1355.  
  1356.     The following changes are for merged GCC/G++.  Changes marked
  1357.     with `@' had to be backed out.
  1358.     @ cplus-init.c (expand_delete): Deleted.
  1359.     @ cplus-decl.c (maybe_build_cleanup): Return tree nodes built by
  1360.     `build_delete' rather than building up structure with DELETE_EXPR.
  1361.     * cplus-decl2.c (finish_function): Expand expression returned from
  1362.     `build_delete' rather than calling `expand_delete'.
  1363.     * cplus-init.c (expand_vec_delete): Ditto.
  1364.     @ expr.c (expand_expr): No longer any need to handle
  1365.     `DELETE_EXPR'.
  1366.     @ tree.def (DELETE_EXPR): Move this to cplus-tree.def.
  1367.  
  1368. Mon Jan 22 00:21:41 1990  Michael Tiemann  (tiemann at teacake)
  1369.  
  1370.     * expr.c (expand_call): Don't reused pending stack space more than
  1371.     once in a given nest of calls.
  1372.  
  1373.     * cplus-init.c (build_delete): Don't build COND_EXPRs when we know
  1374.     we don't have to.
  1375.  
  1376.     * cplus-decl.c (finish_function): At end of destructor, no need to
  1377.     cast down the virtual function table if there is no virtual
  1378.     function table below (i.e., EXPRSTMT is a NOP_EXPR of
  1379.     INTEGER_ZERO_NODE).
  1380.  
  1381.     * cplus-init.c (finish_base_init): Move code which sets
  1382.     CLASSTYPE_MARKED6 of each vbase type to 1 into
  1383.     `expand_aggr_vbase_init'.
  1384.     * cplus-init.c (expand_aggr_vbase_init): Now static in this file.
  1385.     Always set CLASSTYPE_MARKED6 of each vbase type before running the
  1386.     initialization, since all virtual baseclasses exposed to this
  1387.     function must be initialized.
  1388.  
  1389.     * cplus-search.c (build_type_pathname): Fix broken use of
  1390.     obstacks.
  1391.  
  1392.     * cplus-typeck.c (c_expand_return): Don't try to call
  1393.     `expand_return' when DECL_RESULT is of void type.
  1394.  
  1395.     * cplus-lex.c (build_opid): Rename C++-specific
  1396.     `build_op_identifier' to `build_opid'.
  1397.     @@ Suggest changing `build_op_identifier' in tree.o to interface
  1398.     of `build_opid'.
  1399.     * All callers changed.
  1400.  
  1401. Sun Jan 21 06:00:03 1990  Michael Tiemann  (tiemann at teacake)
  1402.  
  1403.     * dbxout.c (dbxout_function): Put out debug info for a named
  1404.     return value.
  1405.     * dbxout.c (dbxout_symbol): Treat a named RESULT_DECL like a
  1406.     VAR_DECL.
  1407.  
  1408.     * cplus-decl.c (store_return_init): If named return value comes in
  1409.     a register, put it in a pseudo.
  1410.     * cplus-typeck.c (mark_addressable): Simplify handling of
  1411.     RESULT_DECL--no need for anything fancy.
  1412.     * cplus-cvt.c (convert_to_reference): Ditto.
  1413.  
  1414.     * cplus-method.c (build_opfncall): Test FLAGS&LOOKUP_COMPLAIN to
  1415.     decide whether call to `build_overload_call' should complain.
  1416.  
  1417.     * cplus-decl.c (FLAG_INT_ENUM_EQUIVALENCE): New variable, controls
  1418.     how ints and enums should interconvert.
  1419.     * cplus-class.c (convert_harshness): Implement behavior based on
  1420.     that flag.
  1421.  
  1422.     * cplus-class.c (build_method_call): alloca `harshness' field of
  1423.     CP before calling `build_overload_call'.
  1424.     * cplus-class.c (build_overload_call): Don't alloca `harshness' of
  1425.     FINAL_CP, since caller does this.  Also, use `oballoc' for
  1426.     `harshness' arrays of CP array when running the list of functions
  1427.     to try.
  1428.  
  1429.     * cplus-method.c (hack_identifier): Use `error', not
  1430.     `error_with_decl' to report visibility violation for static
  1431.     members.  Also, compute visibility with `compute_visibility'.
  1432.  
  1433. Sat Jan 20 04:18:40 1990  Michael Tiemann  (tiemann at teacake)
  1434.  
  1435.     * cplus-decl.c (finish_decl [#if MERGED]): Don't build DECL's
  1436.     cleanups until after it has been laid out.
  1437.  
  1438.     * cplus-decl.c (maybe_build_cleanup [#if MERGED]): Return an
  1439.     RTL_EXPR instead of a DELETE_EXPR.
  1440.  
  1441.     * cplus-class.c (prepare_fresh_vtable): Copy the list of virtual
  1442.     functions fom ASSOC, not from BASE_ASSOC (whose list is too
  1443.     short).
  1444.     @@ Is DECL_VPARENT right at all?
  1445.  
  1446.     * cplus-class.c (modify_vtable_entries): Handle case where virtual
  1447.     function comes from baseclass of virtual baseclass.
  1448.  
  1449.     * cplus-search.c (get_base_distance): Always follow the leftmost
  1450.     non-virtual path.
  1451.  
  1452.     * cplus-class.c (finish_struct): When inheriting a base class's
  1453.     VFIELD, set its DECL_OFFSET to the correct value, for the cases
  1454.     when we use CLASSTYPE_VFIELD instead of `lookup_field' to get to
  1455.     the vfield pointer.
  1456.  
  1457.     * expr.c (expand_expr): Use language-idependent techniques for
  1458.     handling NEW_EXPR.
  1459.  
  1460.     * cplus-init.c (expand_aggr_init): When initializing from a
  1461.     CONSTRUCTOR, it does not matter whether TYPE has a constructor
  1462.     defined or not: just strip out the elements as though they were
  1463.     args to a constructor and proceed.
  1464.  
  1465.     * cplus-class.c (build_method_call): If we need the address of a
  1466.     CONSTRUCTOR, initialize a fresh temporary, as in the NOP_EXPR
  1467.     case.
  1468.  
  1469.     * cplus-decl2.c (grok_method_quals): When building type variants,
  1470.     build the pointer types to the varaints.
  1471.     * cplus-decl.c (grokdeclarator): Ditto.
  1472.  
  1473.     * cplus-class.c (build_method_call): Error message was backwards
  1474.     when DECL_CONTEXT (FUNCTION) was not a basetype for
  1475.     CURRENT_CLASS_TYPE.
  1476.  
  1477.     * cplus-decl.c (grokdeclarator): If QUALS is non-NULL, don't abort
  1478.     if TYPE is not METHOD_TYPE.  The correct error message will be
  1479.     generated later.
  1480.  
  1481.     * cplus-method.c (hack_identifier): Check visibility of VAR_DECL
  1482.     and CONST_DECL nodes.
  1483.  
  1484.     * cplus-class.c (instantiate_type): Don't smash the operand of an
  1485.     ADDR_EXPR if the type instantiation fails.  Also, only give an
  1486.     error message in that case if COMPLAIN is nonzero.
  1487.  
  1488. Fri Jan 19 15:12:27 1990  Michael Tiemann  (tiemann at teacake)
  1489.  
  1490.     * cplus-decl2.c (grok_method_quals): Don't drop list of exceptions
  1491.     raised.
  1492.  
  1493. Thu Jan 18 00:20:29 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1494.  
  1495.     * cplus-lex.c (init_lex): Allocate OPNAME_TAB and ASSIGNOP_TAB.
  1496.  
  1497. Wed Jan 17 07:26:05 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1498.  
  1499.     * cplus-lex.c (get_time_identifier): Added cast for `alloca'.
  1500.     * cplus-tree.c (layout_basetypes): Ditto.
  1501.  
  1502.     * stmt.c (expand_raise): Return nonzero if in exception nesting.
  1503.  
  1504.     * cplus-lex.c (init_lex): If C compiler doesn't understand the
  1505.     construct `sizeof ("string")', then fill in initializer for
  1506.     OPNAME_END by hand.
  1507.  
  1508.     * cplus-init.c: Move declarations of extern struct rtx_def things
  1509.     to top of file to keep /bin/cc happy.
  1510.  
  1511.     * cplus-lex.c (init_lex): Set DECL_PRINTABLE_NAME.
  1512.  
  1513.     * varasm.c (record_constant_rtx): Save DESC on `current_obstack'
  1514.     instead of `saveable_obstack'.
  1515.  
  1516.     * tree.c (set_identifier_size): SIZE is size in bytes.
  1517.     * cplus-lex.c (init_lex): Call `set_identifier_size' with number
  1518.     of bytes, not number of slots.
  1519.  
  1520.     * toplev.c (compile_file): If `bison.simple' is out of date,
  1521.     consider that an error.
  1522.  
  1523.     * cplus-cvt.c (convert): Better error message if type conversion
  1524.     via constructor fails.
  1525.  
  1526.     * cplus-typeck.c (build_modify_expr): Spurious `else' appeared
  1527.     when LHSTYPE was aggr type.  Deleted.
  1528.  
  1529.     * cplus-decl2.c (finish_file): Make the dummy variable at the end
  1530.     of the virtual function table chain look defined and used (soas
  1531.     not to generate spurious warnings).
  1532.  
  1533. Tue Jan 16 15:42:30 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1534.  
  1535.     * varasm.c (output_constant): Merged latest GCC changes.
  1536.     * toplev.c: Merged latest GCC changes.
  1537.  
  1538.     * cplus-decl.c (init_lex): Must call
  1539.     `set_identifier_size' before allocating any identifiers.
  1540.  
  1541.     * All files: Changed MEMBER_REF to OFFSET_REF.
  1542.     * cplus-init.c (build_offset_ref): Rename function
  1543.     `build_member_ref' to this.
  1544.     * cplus-init.c (resolve_offset_ref): Rename function
  1545.     `resolve_member_ref' to this.
  1546.  
  1547.     * cplus-lex.c (init_lex): Handle language-specific tree codes.
  1548.  
  1549.     * tree.def (IDENTIFIER_NODE): Default length is 2.
  1550.     * tree.def ({SCOPE,MEMBER}_REF): Moved definition to
  1551.     cplus-tree.def.
  1552.     * tree.def (TYPE_EXPR): Ditto.
  1553.  
  1554.     * tree.c: Merge language-specific tree code support from GCC
  1555.     version 1.90.
  1556.     * tree.c (tree_cons,build_tree_list): Simplify these back to using
  1557.     `make_node' instead of inline-expansion.
  1558.     * tree.c (build_parse_node): renamed function `build_nt0' to this.
  1559.     All callers changed.
  1560.  
  1561.     * Makefile glitch for collect2 fixed.
  1562.  
  1563. Tue Jan 16 00:38:39 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1564.  
  1565.     * version.c: Version 1.36.3 released.
  1566.  
  1567.     * Makefile: Fixed makefile for collect2 (for Convexen) as per
  1568.     suggesions of <ngo%tammy@harvard.harvard.edu>.
  1569.     Also fixed a typo.
  1570.  
  1571. Mon Jan 15 10:57:43 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1572.  
  1573.     * cplus-class.c (build_vbase_path): If path is erroneous (i.e., up
  1574.     from a virtual baseclass), then set *BASEP = NULL_TREE.
  1575.     * cplus-cvt.c (convert_to_pointer_force): Test BASETYPE before
  1576.     testing the DECL_OFFSET of its TYPE_NAME.
  1577.  
  1578.     * expr.c (store_one_arg): Handle non-PARM_BOUNDARY BLKmode
  1579.     parameters in a way that is symmetric with `assign_parms'.
  1580.  
  1581.     * cplus-init.c (expand_vec_init): Allow assignment semantics if
  1582.     FROM_ARRAY is 2.
  1583.     * cplus-typeck.c (build_modify_expr): Call `expand_vec_init' with
  1584.     in this fashion if an array assignment must be performed.
  1585.  
  1586.     * expr.c (fixed_type_p): New function says whether the compiler
  1587.     guarantees that it knows the true type of an object.
  1588.     * expr.c (expand_expr): Call that function for INIT_EXPR and
  1589.     MODIFY_EXPR.  Also, for MODIFY_EXPR, check both RHS and LHS.
  1590.  
  1591.     * cplus-typeck.c (build_unary_op): When building an ADDR_EXPR of a
  1592.     COMPONENT_REF, must convert the base to the pointer type of the
  1593.     DECL_CONTEXT of FIELD, not simply ARGTYPE.  Bug triggered when
  1594.     FIELD has same type as a virtual or non-leftmost baseclass of
  1595.     TYPE.
  1596.  
  1597. Sun Jan 14 07:50:28 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1598.  
  1599.     * cplus-typeck.c (actualparameterlist): Convert FUNCTION_DECLs for
  1600.     virtual functions to their proper representation if they were
  1601.     instantiated.
  1602.  
  1603.     * cplus-typeck.c (instantiate_type_1): New function, factors out
  1604.     common code in calling `instantiate_type'.
  1605.     * cplus-class.c (instantiate_type): Now permitted to call this
  1606.     function with OP_IDENTIFIER.  (Previously would abort).
  1607.  
  1608.     * Makefile: Use $(INCLUDES) instead of various random -I options
  1609.     scattered throughout front-end.
  1610.  
  1611.     * varasm.c (assemble_variable): Fix bug where NAME has a '*'
  1612.     prefix.
  1613.  
  1614. Sat Jan 13 00:17:25 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1615.  
  1616.     * cplus-class.c (compute_conversion_costs): Fixed comments and
  1617.     rearranged code that handled type instantiation.  Also handled
  1618.     case where type instantiation leaves a parameter ERROR_MARK_NODE
  1619.     (consequently making ACTUAL_TYPE ERROR_MARK_NODE).
  1620.     * cplus-method.c (report_type_mismatch): Give better error message
  1621.     when type instatiation fails and clobbers the argument type.
  1622.  
  1623.     * cplus-type2.c (basetype_or_else): Code factorization.
  1624.     * All places with code of the form
  1625.  
  1626.           if (t1 == t2 || get_base_type (t1, t2, 0))
  1627.             do something;
  1628.           else
  1629.               do something else;
  1630.  
  1631.           now calls this function.
  1632.  
  1633.     * cplus-search.c (get_base_type): For jjg@sun.com: let friend
  1634.     classes TYPE have access to immediate baseclasses of TYPE.
  1635.     * cplus-search.c (get_base_distance): Same change.
  1636.  
  1637.     * cplus-method.c (build_opfncall): Give error messages on all
  1638.     overloaded functions which non-trivially fail except ADDR_EXPR and
  1639.     MODIFY_EXPR.
  1640.     * cplus-class.c (build_method_call): Improved error message for
  1641.     non-const member function called with const object.
  1642.  
  1643.     * cplus-class.c (build_vbase_path): New function.  Multi-level
  1644.     version of `build_vbase_pointer'.  Code was moved from
  1645.     `convert_to_pointer'.
  1646.     * cplus-cvt.c (convert_to_pointer): Call `build_vbase_path'.
  1647.     * cplus-cvt.c (convert_pointer_to): Ditto.
  1648.     * cplus-cvt.c (convert_to_pointer_force): Remove duplicated code
  1649.     and call `build_vbase_path'.
  1650.  
  1651.     * cplus-decl.c (original_result_rtx): New variable.  If named
  1652.     return value starts in register, but needs to be addressable, then
  1653.     we put the original RESULT_DECL's rtl in here.
  1654.     * cplus-typeck.c (c_expand_return): Implement this.
  1655.     * cplus-decl.c (finish_function): At end of function, if
  1656.     ORIGINAL_RESULT_RTX is non-zero, move DECL_RESULT (FNDECL) there.
  1657.     * cplus-typeck.c (mark_addressable): Allow this new feature.
  1658.     * cplus-cvt.c (convert_to_reference): Ditto.
  1659.  
  1660. Fri Jan 12 00:20:06 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1661.  
  1662.     * cplus-tree.h (TREE_CALLS_NEW): New meaning for TREE_LANG_FLAG_2:
  1663.     for any kind of _EXPR or _REF node, it means that underneath is a
  1664.     call to the storage allocator.  If we later find out what was
  1665.     wanting initialization, we can pitch the call to `new', and the
  1666.     subsequent copy, winning big on things like "return String (foo);".
  1667.     * cplus-init.c (build_new): Set this bit.
  1668.     * cplus-class.c (build_method_call): Ditto.
  1669.     * cplus-method.c (build_opfncall): Ditto.
  1670.     * cplus-init.c (expand_aggr_init_1): Optimize calls to
  1671.     constructors.
  1672.  
  1673.     * cplus-cvt.c (convert_to_reference): If DECL is ERROR_MARK_NODE,
  1674.     then consider this an implicit conversion; if DECL is NULL_TREE,
  1675.     it is explicit.
  1676.     * cplus-typeck.c (convert_for_initialization): Be explicit that
  1677.     this is an implicit conversion.
  1678.  
  1679.     * cplus-cvt.c (convert_from_reference): Don't special-case
  1680.     converting REFERENCE_EXPRs from references.
  1681.  
  1682.     * cplus-cvt.c (convert_to_*): Factor out checks that EXPR is a
  1683.     REFERENCE_TYPE object.
  1684.     * cplus-cvt.c (convert{_force}): Factor it to here.
  1685.  
  1686.     * cplus-cvt.c (convert_pointer_to): New function.  Previously
  1687.     `convert_to_nonzero_pointer', but now takes converts to pointer-to
  1688.     TYPE, rather than to TYPE.
  1689.     * cplus-cvt.c (convert_to_nonzero_pointer): Deleted.
  1690.     * All callers changed.
  1691.  
  1692.     * cplus-cvt.c (build_up_reference): If LOOKUP_PROTECTED_OK is set,
  1693.     let `get_base_type' return an immediate private baseclass without
  1694.     complaining.
  1695.     * cplus-cvt.c (convert_to_reference): Don't need to check whether
  1696.     conversion violates visibilities, since FLAGS is passed to
  1697.     `convert_to_reference'.
  1698.     * cplus-search.c (get_base_type): Implement that (if PROTECT == 3).
  1699.  
  1700.     * stmt.c (*except*): Use ESCAPE_LABEL instead of EXIT_LABEL as
  1701.     primary means of control over exception handling nestings.
  1702.     Where EXITFLAG was passed, also pass ESCAPEFLAG.
  1703.     * All callers changed.  ESCAPEFLAG now controls behavior, not
  1704.     EXITFLAG.
  1705.  
  1706.     * stmt.c (expand_exit_nonexcept): Delete this function.
  1707.     * cplus-parse.y (stmt): Back out change which called
  1708.     `expand_exit_nonexcept' instead of `expand_exit_something'.
  1709.  
  1710.     * cplus-init.c (expand_recursive_init): Don't forget to initialize
  1711.     the vbase pointers if FOR_TYPE uses virtual baseclasses.
  1712.  
  1713.     * cplus-class.c (rank_for_overload): const/non-const disagreement
  1714.     is between checking EVIL and checking USER.
  1715.     * cplus-class.c (build_method_call): Don't hastily choose a method
  1716.     which has const/non-const disagreement.
  1717.  
  1718.     * cplus-decl.c (build_function_decl): Unify `builtin_function' and
  1719.     `auto_function'; also make it optional to push the function into
  1720.     the binding contour.
  1721.     * cplus-decl.c (init_decl_processing): Build ABORT_FNDECL.
  1722.     * cplus-decl2.c (grok_function_init): Use ABORT_FNDECL.
  1723.     * cplus-except.c (init_exception_processing): Ditto.
  1724.  
  1725. Thu Jan 11 10:39:31 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1726.  
  1727.     * cplus-decl2.c (finish_file): Merge changes from Raeburn
  1728.     (raeburn@athena.mit.edu) which name file-level initializers
  1729.     using global names declared instead of the filename containing
  1730.     the objects needing file-level initialization.
  1731.     * varasm.c (assemble_{variable,function}): Rest of changes merged.
  1732.  
  1733.     * cplus-cvt.c (convert_from_reference): When converting a
  1734.     REFERENCE_EXPR, wrap TREE_OPERAND (VAL, 0) in the NOP_EXPR
  1735.     instead of VAL--to save work later in `expand_expr'.
  1736.  
  1737.     * cplus-tree.h (LOOKUP_NO_CONVERSION): New flag which inhibits
  1738.     looking for user-defined type conversions.
  1739.     * cplus-type2.c (build_functional_cast): Use LOOKUP_NO_CONVERSION
  1740.     when calling constructor since if a type conversion applied, we
  1741.     don't want "two-level" conversions to take place.
  1742.     * cplus-class.c (build_method_call): Test this flag when PASS == 2
  1743.     and cp->user is non-zero.
  1744.  
  1745.     * cplus-decl.c (grokdeclarator): Don't set TYPE_HAS_DESTRUCTOR
  1746.     here.
  1747.     * cplus-decl2.c (grokclassfn): Set it here instead.
  1748.  
  1749. Wed Jan 10 07:42:39 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1750.  
  1751.     * cplus-class.c (build_method_call): -fall-virtual implies that
  1752.     2nd argument to operator->() is an int, not a T (C::*X)(...).
  1753.  
  1754.     * cplus-decl.c (finish_function): Keep named return values from
  1755.     catching warnings from jump.c about functions which appear to not
  1756.     return a value.
  1757.  
  1758.     * cplus-type2.c (process_init_constructor): Test INIT before
  1759.     copying TREE_HAS_CONSTRUCTOR flag to RESULT.
  1760.  
  1761.     * cplus-decl.c (pushdecl): If we had ANON_AGGRNAME_P in "C"
  1762.     language scope, and if we get a better name, fix that up as well.
  1763.     (Was only doing fixup for "C++" language scope).
  1764.  
  1765.     * cplus-method.c (dump_init): Handle CONSTRUCTOR as
  1766.     initialization.
  1767.     * cplus-typeck.c (actualparameterlist): Here, too.
  1768.  
  1769.     * cplus-decl.c (grokdeclarator): Move test of friend functions
  1770.     with method qualifiers to `grokfndecl'.
  1771.     * cplus-decl.c (grokfndecl): If QUALS is non-zero, then the
  1772.     TREE_CODE of TYPE must be METHOD_TYPE.
  1773.  
  1774.     * integrate.c (expand_inline_function): Code using
  1775.     THIS_STRUCT_VALUE_RTX was (blatantly) incorrect in case where
  1776.     STRUCT_VALUE_INCOMING_RTX was MEM.  Code that looked right was
  1777.     #if 0'd out, but don't know why.  Changed back to original code.
  1778.  
  1779. Tue Jan  9 22:56:22 1990  Michael Tiemann  (tiemann at apple-gunkies.ai.mit.edu)
  1780.  
  1781.     * cplus-parse.y (stmt): Exception contour is transparent to BREAK
  1782.     statement.  Call `expand_exit_nonexcept' instead of
  1783.     `expand_exit_something'.
  1784.     * stmt.c (expand_exit_nonexcept): New function.
  1785.  
  1786.     * cplus-decl.c (build_enumerator): Accidently shared INTEGER_CST
  1787.     nodes which should not have been shared.
  1788.  
  1789. Sun Jan  7 00:13:39 1990  Michael Tiemann  (tiemann at g.oswego.edu)
  1790.  
  1791.     * cplus-init.c (expand_aggr_init_1): Use CONST0_RTX as TARGET for
  1792.     call to `expand_expr' in case of COND_EXPR.
  1793.     Similar changes made elsewhere in compiler where `expand_expr' was
  1794.     called.
  1795.  
  1796.     * cplus-typeck.c (build_modify_expr_1): When CODE is INIT_EXPR,
  1797.     and we call a constructor, remember to dereference the result we
  1798.     return.
  1799.  
  1800.     * cplus-init.c (expand_vec_init): Goto of init_by_default was
  1801.     accidently circumventing initialization of variable BASE2.
  1802.     Also fixed to handle initialization by default in more cases.
  1803.  
  1804.     * cplus-typeck.c (build_modify_expr_1): Typo.  Use "<" instead of
  1805.     "<=" for CLASSTYPE_N_BASECLASS loop.
  1806.     * cplus-search.c (get_base_type_1): Same typo (but this function
  1807.     is never called).
  1808.  
  1809. Sat Jan  6 21:55:31 1990  Michael Tiemann  (tiemann at g.oswego.edu)
  1810.  
  1811.     * cplus-tree.h (TREE_HAS_CONSTRUCTOR): For CONSTRUCTOR, means that
  1812.     it was a GNU C constructor expression.
  1813.     * cplus-parse.y (cast_expr): Set that bit.
  1814.     * cplus-type2.c (process_init_constructor): Propagate this bit.
  1815.     * cplus-init.c (expand_aggr_init_1): Test that bit and call
  1816.     `store_init_value' if set.
  1817.  
  1818.     * cplus-lex.c: Handle strrchr/rindex problem in one place instead
  1819.     of two.
  1820.  
  1821.     * cplus-init.c (expand_aggr_init_1): Convert INIT to type for EXP
  1822.     treating INIT as compound expr.
  1823.  
  1824.     * cplus-decl.c (grokparms): Can't use `error_with_decl' on a
  1825.     PARM_DECL here because DECL_CONTEXT is not set up yet.  Fixed in 2
  1826.     places.
  1827.  
  1828.     * cplus-init.c (resolve_member_ref): Check that member is
  1829.     FIELD_DECL before bothering about use of non-static member in
  1830.     static function context.
  1831.  
  1832.     * cplus-init.c (embrace_waiting_friends): If TYPE_NAME (TYPE) is
  1833.     not a TYPE_DECL, it has no friends waiting.
  1834.  
  1835.     * cplus-dem.c (optable): Filled in ommissions found by Ron
  1836.     Guilmette.
  1837.  
  1838.     * cplus-decl2.c (grokopexpr): If IS_DECL tells us we have a static
  1839.     member function, but TYPE is a METHOD_TYPE, we must send the right
  1840.     argument list to build_operator_fnname.
  1841.  
  1842.         * Makefile: Explicitly link all the gen*.o and insn-*.? files.
  1843.     Otherwise, we get symbolic links to "gen*.o", etc.
  1844.  
  1845.     * make-links.g++: Added symout.c to BORROWED_FILES.
  1846.  
  1847. Tue Jan  2 00:39:40 1990    (tiemann at calvin)
  1848.  
  1849.     * cplus-except.c (cplus_expand_end_except): New parameter EXITFLAG
  1850.     says whether to exit current exception contour and try the next
  1851.     one.
  1852.     * cplus-parse.y: Callers changed.
  1853.  
  1854.     * cplus-decl.c (pushdecl): Clear TREE_PUBLIC only if VAR_DECL is
  1855.     TREE_READONLY and not DECL_EXTERNAL.  DECL_EXTERNAL is meaningless
  1856.     for other than VAR_DECLs.
  1857.     * cplus-decl.c (duplicate_decls): Same change.
  1858.     @@ Maybe we can eliminate some duplicated code here!
  1859.  
  1860.     * cplus-tree.c (copy_to_permanent): If T is NULL_TREE, return it.
  1861.  
  1862.     * cplus-cvt.c (convert_to_aggr): Deal with "in charge" parameter
  1863.     if BASETYPE uses virtual baseclasses.
  1864.  
  1865.     * cplus-class.c (build_overload_call): Change name of DECL to
  1866.     OVERLOAD_NAME.  Also, append VOID_LIST_NODE to end of PARMTYPES,
  1867.     to build more accurate overload name.
  1868.  
  1869. Mon Jan  1 13:36:07 1990    (tiemann at calvin)
  1870.  
  1871.     * cplus-decl.c (store_parm_decls): No need for PRESERVE flag, so
  1872.     deleted.  All callers changed.
  1873.  
  1874.     * cplus-parse.y (member_init): De-implement keeping virtual
  1875.     baseclass initializers on the permanent obstack.  Now handled by
  1876.     "in charge" parameter to constructor.
  1877.  
  1878.     * cplus-cvt.c (convert_to_reference): Convert EXPR from reference
  1879.     if it came in as a reference and its conversion to TYPE& may
  1880.     change its value (i.e., if it uses MI or VB).
  1881.  
  1882.     * cplus-class.c (build_method_call): Use DECL_CONTEXT, not
  1883.     DECL_VCONTEXT of FUNCTION when LOOKUP_NONVIRTUAL is in effect.
  1884.     Factored out duplicated code in the process.
  1885.  
  1886.     * cplus-class.c (build_method_call): Constructors called when
  1887.     `this' is logically zero must perform any virtual baseclass
  1888.     initialization.  Other constructors (which are used for
  1889.     initialization of sub-ojbects), never perform virtual baseclass
  1890.     initialization.
  1891.  
  1892.