home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / NeXT / GnuSource / cc-61.0.1 / cc / ChangeLog < prev    next >
Text File  |  1991-06-04  |  247KB  |  5,862 lines

  1. Tue Jun  4 09:40:59 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2.  
  3.     * local-alloc.c (update_equiv_regs): Check for reg_n_refs == 2,
  4.     not loop_depth * 2.
  5.  
  6.     * reorg.c (fill_simple_delay_slots): Clear INSN_DELETED_P on insns
  7.     placed in current_function_epilogue_delay_list.
  8.  
  9.     * make-rs6000 (ALLOCA_FLAGS, ALLOCA_FINISH): Add override to
  10.     compensate for the fact that the RS/6000 C compiler has no -S.
  11.  
  12.     * out-rs6000.c (easy_fp_constant): Use operand_subword.
  13.     (print_operand): Use INT_P and INT_LOWPART to allow accepting both
  14.     CONST_INT and CONST_DOUBLE for integers.
  15.  
  16.     * rs6000.md (floatsidf2, floatunssidf2): Rework these to emit only
  17.     two insns, each of which has DImode or DFmode operands.  Then
  18.     split the funny DImode insn to generate it.
  19.     (fix_truncdfsi2, fixuns_truncdfsi2): Surround our call with
  20.     REG_LIBCALL/REG_RETVAL notes.
  21.     Use operand_subword.
  22.     (movsf, movdf): Correctly handle a pseudo passed during reload.
  23.     Use operand_subword.
  24.     Split moves involving "easy" FP constants.
  25.     (subtract-and-branch): Disable for now, to avoid output reload in jump.
  26.  
  27.     * tm-rs6000.h (WCHAR_TYPE): Add definition.
  28.     (INT_REGNO_P): Fix typo; register 31 is a normal register.
  29.     (LEGITIMATE_CONSTANT_P): The only FP constants that are valid are
  30.     the "easy" ones.
  31.  
  32.     * a29k.md (negdf2): Use XOR when not involving accumulator.
  33.     Add SCRATCH so we dont use gr122.
  34.     Handle case where input and output are same register.
  35.     (negsf2): Use SCRATCH.
  36.     (DImode operations): Use operand_subword, not gen_{low,high}_part.
  37.     (movsf, movdf, movdi): Always split if we can look inside CONST_DOUBLE.
  38.     Use operand_subword.
  39.     Don't split into separate words in DEFINE_EXPAND.
  40.     * out-a29k.c (in_operand): Account for fact that integer CONST_DOUBLE
  41.     is VOIDmode.
  42.     (extract_subword): Deleted.
  43.     (print_operand): Add macros INT_P and INT_LOWPART so we can accept
  44.     either CONST_INT or CONST_DOUBLE.
  45.  
  46.     * romp.md (movdi, movdf, negsf2, negdf2): Use operand_subword and
  47.     operand_subword_force, instead of gen_{high,low}part.
  48.     Use force_const_mem instead of force_const_double_mem.
  49.  
  50.     * m88k.md (movdi): Remove 'F' constraint; 'n' now includes integer
  51.     CONST_DOUBLE.
  52.     (anddi3, iordi3, xordi3): Likewise.
  53.     Use operand_subword to extract individual words.
  54.     * out-m88k.c (output_load_const_{float,double,dimode}):    Use
  55.     operand_subword.
  56.  
  57.     * Makefile.in (emit-rtl.o): Now includes expr.h.
  58.     * calls.c (expand_call): Pass mode to move_block_to_reg.
  59.     * combine.c (subst, case SUBREG): Simplify SUBREG of hard register
  60.     and some SUBREGs of constants.
  61.     (gen_lowpart_for_combine): If object is desired mode, always return it.
  62.     Use gen_lowpart_common for most cases; just support MEM and
  63.     surrounding with a SUBREG here.
  64.     * cse.c (insert): CONSTANT_P includes CONST_DOUBLE.
  65.     (fold_rtx): Use MODE for GET_MODE (X).
  66.     (fold_rtx, case SUBREG): Handle simple cases of folding SUBREGs.
  67.     (fold_rtx, case MEM): Use operand_subword and gen_lowpart_if_possible
  68.     to get parts of constant instead of gen_lowpart and gen_highpart.
  69.     (gen_lowpart_if_possible): Use gen_lowpart_common for most cases.
  70.     * expr.c: Include expr.h.
  71.     (gen_lowpart_common): New function, from gen_lowpart.
  72.     (gen_lowpart): Use gen_lowpart_common for most cases; just handle MEM.
  73.     (gen_highpart): Deleted.
  74.     (subreg_lowpart_p): Test WORDS_BIG_ENDIAN in `if', not `#if'.
  75.     (operand_subword, operand_subword_force): New functions.
  76.     * explow.c (plus_constant): Handle adding CONST_INT to CONST_DOUBLE.
  77.     Rework to use switch statement.
  78.     Remove obsolete OLD_INDEXING code.
  79.     (plus_constant_for_output): Use plus_constant for most cases.
  80.     (break_out_memory_refs): Refine which constants get broken out.
  81.     * expmed.c (store_bit_field, extract_bit_field): Don't use
  82.     gen_highpart for multi-word fields; instead, loop and use
  83.     operand_subword.  We now support fields more than two words long.
  84.     (mask_rtx, lshift_value): Just pass high and low words to
  85.     immed_double_const; it will mask and choose CONST_INT vs. CONST_DOUBLE.
  86.     * expr.c (convert_move): Use operand_subword instead of gen_highpart.
  87.     Don't assume GET_MODE_SIZE (DImode) > UNITS_PER_WORD.
  88.     (move_block_to_reg): Add MODE arg.
  89.     Use operand_subword_force.
  90.     (move_block_from_reg): Use operand_subword.
  91.     (move_block_from_reg, move_block_to_reg, use_rgs):
  92.     Don't assume GET_MODE_SIZE (SImode) == UNITS_PER_WORD.
  93.     (emit_move_insn, emit_push_insn): Likewise.
  94.     Use operand_subword and operand_subword_force.
  95.     (expand_expr, case INTEGER_CST): Just call immed_double_const.
  96.     (expand_expr, cases FIX_TRUNC_EXPR, FLOAT_EXPR): Don't assume
  97.     GET_MODE_SIZE (SImode) == UNITS_PER_WORD.
  98.     (expand_builtin): Likewise.
  99.     (do_jump_by_parts_{greater,equality): Likewise.
  100.     Use operand_subword_force.
  101.     * expr.h (operand_subword): Remove declaration from here.
  102.     (validize_mem): Add missing declaration.
  103.     * final.c (final_scan_insn): If assembler code string is "#",
  104.     try to split insn.
  105.     Ignore insns with INSN_DELETED_P set.
  106.     (alter_subreg): Remove erroneous code for CONST_DOUBLE.
  107.     (output_addr_const): Integer CONST_DOUBLEs are now VOIDmode.
  108.     * fold-const.c (add_double): No longer static.
  109.     * integrate.c (copy_for_inline, copy_rtx_and_substitute):
  110.     Use validize_mem to validate force_const_mem's result.
  111.     (subst_constants, case SUBREG): Use operand_subword and
  112.     gen_lowpart_common instead of gen_lowpart and gen_highpart.
  113.     (restore_constants): Don't assume all CONST_DOUBLEs are floating.
  114.     Use validize_mem to validate force_const_mem's result.
  115.     * optabs.c (expand_binop,, expand_unop): Don't assume
  116.     GET_MODE_SIZE (SImode) == UNITS_PER_WORD.
  117.     Use operand_subword_force.
  118.     (operand_subword): Deleted from here.  New version in emit-rtl.c.
  119.     * recog.c (validate_replace_rtx_1): Check for any constant,
  120.     not just CONST_INT.
  121.     (constrain_operands, case 'm', 'o'): Any constant OK if strict < 0.
  122.     (constrain_operands, case 'E'): Must have host and target word sizes
  123.     the same.
  124.     (constrain_operands, case 's', 'n'): CONST_DOUBLE can be integer.
  125.     * reload.c (find_reloads, case 'm', 'o', 'E', 's', 'n'): Likewise.
  126.     Don't call force_const_double_mem; use force_const_mem instead.
  127.     (find_reloads_toplev): Likewise.
  128.     Use gen_lowpart_common to get low part of constant.
  129.     * rtl.h (gen_highpart, force_const_double_mem): Deleted.
  130.     (gen_lowpart_common, operand_subword, operand_subword_force):
  131.     New declarations.
  132.     * varasm.c (const_double_chain): Renamed from real_constant_chain.
  133.     (immed_double_const): For integer constants, perform any needed
  134.     masking and make either CONST_INT or CONST_DOUBLE.
  135.     (force_const_double_mem): Deleted; would need a mode arg added
  136.     which would make it almost identical to force_const_mem.
  137.     * out-vax.c (split_quadword_operands): Use operand_subword instead
  138.     of gen_lowpart and gen_highpart.
  139.  
  140.     * function.c (find_replacement): New function.
  141.     (fixup_var_refs_insns): Pass pointer to listhead of (new)
  142.     fixup_replacement structures; if any entries were pseudos, copy from
  143.     memory to the pseudo.
  144.     (fixup_var_refs_1): New arg REPLACEMENTS; provide that arg in
  145.     recursive calls.
  146.     Use find_replacements to ensure we don't break any MATCH_DUPs.
  147.  
  148. Mon Jun  3 08:07:42 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  149.  
  150.     * cccp.c (initialize_builtins): Install __SIZE__TYPE__,
  151.     __PTRDIFF_TYPE__, and __WCHAR__TYPE__ as builtins.
  152.  
  153. Sun Jun  2 18:18:19 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  154.  
  155.     * flow.c (mark_set_1): Don't set LAST_MEM_SET from a MEM that has any
  156.     side-effects (such as auto-inc), not just volatile MEMs.
  157.  
  158.     * rtlanal.c (reg_referenced_p): New function.
  159.     * combine.c (try_combine): Correct test for added_sets_1 to account
  160.     for case where I1 and I2 both feed I3.
  161.     (distribute_notes): Don't interpret setting a reg as a use of the
  162.     reg; use new reg_referenced_p and simplify code.
  163.  
  164.     * flow.c (propagate_block): Ensure that LOOP_DEPTH is correct at all
  165.     insns in a basic block, otherwise reg_n_refs will be set incorrectly.
  166.  
  167.     * recog.c (validate_replace_rtx_1): Don't change mode of memory
  168.     reference that is mode-dependent.
  169.     Don't make a MEM with a larger mode than original.
  170.  
  171.     * combine.c (try_combine): Disable code to check MODES_TIEABLE_P
  172.     added May 20th and 22nd; this should not be needed now that
  173.     LIMIT_RELOAD_CLASS has been added to reload.
  174.  
  175.     * flow.c (mark_set_1): Allow for the fact that stack pushes don't have
  176.     REG_INC notes.
  177.     * local-alloc.c    (optimize_reg_copy): Likewise.
  178.     Don't change lives of hard registers #ifdef SMALL_REGISTER_CLASSES.
  179.     A USE of a register must not be changed.
  180.     (validate_equiv_mem): Don't make an equivalence to volatile MEMs.
  181.  
  182.     * reorg.c (mark_set_resources): #ifdef PUSH_ROUNDING, mark SP as always
  183.     set since the insn might have a (pre_dec sp).
  184.  
  185. Sun Jun  2 16:03:31 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  186.  
  187.     * Makefile.in (libg_dir): Variable deleted.
  188.     (install-gnulib): Don't bother creating libg.a.
  189.  
  190.     * cccp.c (size_type_string, etc.): Variables deleted.
  191.     (special_symbol): Use macros SIZE_TYPE, etc., directly.
  192.  
  193. Sat Jun  1 12:54:05 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  194.  
  195.     * Let tm.h specify types for size_t, ptrdiff_t and wchar_t.
  196.     (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): New params.
  197.     * cccp.c, c-decl.c: Provide default definitions of the new params.
  198.     * cccp.c (__SIZE_TYPE__, __PTRDIFF_TYPE__, __WCHAR_TYPE__): Builtins.
  199.     (special_symbol): Implement them based on new params.
  200.     * stddef.h (size_t, ptrdiff_t, wchar_t): Declare using those builtins.
  201.     * c-tree.h (ptrdiff_type_node): Declare variable.
  202.     * c-decl.c (init_decl_processing): Use *_TYPE params
  203.     to control setting of sizetype, wchar_type_node and ptrdiff_type_node.
  204.     * c-typeck.c (pointer_diff): Take result type from ptrdiff_type_node.
  205.  
  206.     * configure (target1): Really change / to -.
  207.  
  208. Fri May 31 14:20:45 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  209.  
  210.     * Makefile.in (all.cross): New target.
  211.     * configure: If cross-compiling, change `ALL' to use all.cross.
  212.  
  213. Fri May 31 11:43:31 1991  Matthew Self  (mself at next.com)
  214.  
  215.     * tm-next.h (EXTRA_SECTION_FUNCTIONS):
  216.     Add new constructor and destructor sections.
  217.     (MAX_OFILE_ALIGNMENT): Define as 2^15 for Mach-O.
  218.     (ASM_OUTPUT_ALIGN): Use .align, not .even.  Allow alignments > 2.
  219.     (CPP_PREDEFINES): Added -Dm68k since some code expects this.
  220.  
  221. Thu May 30 17:39:53 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  222.  
  223.     * expr.c (expand_expr):
  224.     Don't lose volatility of fields in COMPONENT_REF.
  225.  
  226. Thu May 30 17:36:45 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  227.  
  228.     * cse.c (count_reg_usage, delete_dead_from_cse): New functions.
  229.     * toplev.c (rest_of_compilation): Call delete_dead_from_cse immediately
  230.     after the first cse pass.
  231.  
  232.     * local-alloc.c (validate_equiv_mem_from_store, validate_equiv_mem):
  233.     New functions, to find cases where a REG is equivalent to a MEM.
  234.     (optimize_reg_copy): New function.
  235.     (update_equiv_regs): Call these new functions.
  236.     Look for a register used in only one basic block being stored into
  237.     memory.
  238.     Keep track of loop depth so we can find regs used only once, but
  239.     inside a loop.
  240.     * reload1.c (reload): Use single_set when looking for an insn
  241.     that initializes a register.
  242.     If making a REG equivalent to a MEM, the insn with SET_DEST being
  243.     the register isn't always the one making the equivalence, since the
  244.     equivalence might be occurring due to a store into MEM; in that
  245.     case set reg_equiv_init to the latter insn.
  246.  
  247. Thu May 30 00:32:18 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  248.  
  249.     * configure: Delete Makefile.tem before writing it.
  250.  
  251.     * stor-layout.c (layout_record):
  252.     Ignore PCC_BITFIELD_TYPE_MATTERS for incomplete type.
  253.  
  254.     * fixincludes (stdtypes.h): Handle wchar_t like the other types.
  255.  
  256.     * function.c (assign_parms): Don't declare args_so_far register.
  257.  
  258. Wed May 29 11:48:34 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  259.  
  260.     * cccp.c (do_include): Check that ->control_macro is non-zero.
  261.  
  262.     * gcc.c (process_command): Use `error' in last change.
  263.  
  264. Wed May 29 11:10:12 1991  Tom Wood  (wood at dg-rtp.dg.com)
  265.  
  266.     * m88k.md (movdi): Accept CONST_INT.
  267.     * out-m88k.c (output_load_const_dimode): Accept CONST_INT.
  268.     (output_call): Don't use #plt for jsr.
  269.  
  270. Tue May 28 18:39:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  271.  
  272.     * sched.c ({true,anti,output}_dependence): Correct MEM_IN_STRUCT_P
  273.     code; only avoid conflict if MEM_IN_STRUCT_P ref has varying address.
  274.  
  275.     * protoize.c (stat): Remove declaration of stat; it is defined
  276.     differently (no const in arg 1) on some machines.
  277.  
  278.     * combine.c (simplify_shift_const): Avoid infinite loops by quitting
  279.     when COUNT becomes zero; delete now-unnecessary tests on COUNT.
  280.  
  281.     * flow.c (last_mem_set): New variable.
  282.     (propagate_block): Initialize it.
  283.     Show calls can change memory.
  284.     (insn_dead_p): Remove unneeded arg STRICT_LOW_OK; don't treat
  285.     STRICT_LOW_PART differently than ZERO_EXTRACT.
  286.     All callers changed.
  287.     If insn stores into the same, nonvolatile, MEM as recorded in
  288.     last_mem_set, it is dead.
  289.     (mark_set_1): If writing into register mentioned in last_mem_set or
  290.     writing into memory, clear last_mem_set.
  291.     Record last MEM written.
  292.     (find_auto_inc): New function, from mark_used_regs.
  293.     Add support for pre-increment and pre-decrement.
  294.     (mark_used_regs, case MEM): Clear last_mem_set.
  295.     Call find_auto_inc; move code to there.
  296.     (mark_used_regs, case SET): Don't call recursively on MEM if it is
  297.     SET_DEST, instead call find_auto_inc ourselves.
  298.  
  299. Tue May 28 17:29:52 1991  Micheal Tiemann  (tiemann at wookumz.gnu.ai.mit.edu)
  300.  
  301.     * gnulib1.c (__fixsfsi, __cmpsf2, __extendsfdf2): Add declarations
  302.     for intify.
  303.  
  304.     * gcc.c (default_compilers): Accept `.cxx' as a C++ extension.
  305.  
  306. Tue May 28 17:05:28 1991  Tom Wood  (wood at dg-rtp.dg.com)
  307.  
  308.     * m88k.md (movstrsi): Pass original MEM expressions.
  309.     * out-m88k.c (expand_block_move, block_move_{sequence,no_loop,loop}):
  310.     Use original MEM expressions to set RTX_UNCHANGING_P, MEM_VOLATILE_P,
  311.     and MEM_IN_STRUCT_P.
  312.  
  313.     * out-m88k.c (emit_bcnd): Use bxx when optimizing so jump_optimize
  314.     will work on more cases.  Change this back when jump_optimize uses
  315.     get_condition to find the values being compared.
  316.  
  317.     * m88k.md: Don't use operand0 or operand1.
  318.  
  319. Tue May 28 16:00:56 1991  Micheal Tiemann  (tiemann at wookumz.gnu.ai.mit.edu)
  320.  
  321.     * emit-rtl.c (try_split): Make sure `after' exists before checking
  322.     to see if it is a BARRIER.
  323.  
  324. Tue May 28 15:08:44 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  325.  
  326.     * gcc.c (process_command): Warn if -x follows last input file.
  327.  
  328.     * cccp.c: Don't include file twice if a #ifndef would make it a no-op.
  329.     (struct file_name_list): New field, control_macro.
  330.     Initialize it where these structures are created.
  331.     (struct if_stack): Likewise.
  332.     (do_include): If file already known, check its control macro if any.
  333.     Don't include the file if the macro is now defined.
  334.     (do_xifdef): Detect case of successful #ifndef at start of file.
  335.     (condition_skip): Accept macro name as new arg.  Record in if_stack.
  336.     (do_endif): Detect being effectively at end of file.
  337.     (record_control_macro): New function.  Called from do_endif.
  338.  
  339.     * calls.c (store_one_arg): Set used after calling push_rounding.
  340.  
  341.     * sparc.md (floating move peepholes): Allow `r' for operand 2.
  342.  
  343.     * arm.md, tm-arm.h, out-arm.c, xm-arm.h: New files.
  344.     * configure (arm): New alternative.
  345.  
  346. Tue May 28 11:53:21 1991  Michael Meissner  (meissner at osf.org)
  347.  
  348.     * tm-decstatn.h (CPP_PREDEFINES): Add Ultrix 4.2 support.
  349.  
  350.     * tm-mips.h (cmp_type, branch_cmp, branch_type): Global variables
  351.     and type to record what type of comparison is being done.
  352.     (mips_print_operand_punct): New array to specify whether a
  353.     character is valid for print_operand as punctuation.
  354.     (set_nomacro, set_noat, set_noreorder): New variables to record
  355.     whether a .set nomacro, .set noat, or .set noreorder has been
  356.     done.
  357.     (dslots_{filled,total}_{load,jump}): New global variables to
  358.     remember how many delay slots exist and are filled for the -mstats
  359.     option.
  360.     (CC1_SPEC): Combine %{O:...} %{O*:...} cases.  For -G32, pass -G
  361.     32.  Add dummy pattern for -save-temps to avoid error message.
  362.     (DBX_DEBUGGING_INFO): Define this all the time.
  363.     (SDB_ALLOW_FORWARD_REFERENCES): Define this for MIPS ECOFF support.
  364.     (SDB_ALLOW_UNKNOWN_REFERENCES): Define this for MIPS ECOFF support.
  365.     (TARGET_SWITCHES): Add -mstats to print interesting statistics.
  366.     Add -mmemcpy to force memcpy to be called.  Add -mdebug[fghij].
  367.     Add -mno- version of switches.
  368.     (DATA_ALIGNMENT): Align all char/short arrays/unions/structures,
  369.     rather than just char arrays.
  370.     (BYTE_LOADS_ZERO_EXTEND): Define this.
  371.     (CONST_OK_FOR_LETTER_P): 'N' returns true if power of 2.
  372.     (EXTRA_CONSTRAINT): Redefine 'Q' to be 1 word memory references,
  373.     'R' to be multiword memory references.
  374.     (struct frame_info): Add initialized field.
  375.     (current_frame_info): New global structure to hold frame info.
  376.     (INITIAL_FRAME_POINTER_OFFSET): Use current_frame_info.
  377.     (INIT_CUMULATIVE_ARGS): Pass LIBNAME to init_cumulative_args.
  378.     (DELAY_SLOTS_FOR_EPILOGUE): Define this to fill j $r31 delay slot.
  379.     (ELIGIBLE_FOR_EPILOGUE_DELAY): Ditto.
  380.     (ENCODE_SEGMENT_INFO): Don't flag references to 0-sized arrays as
  381.     being in the small data segment.
  382.     (CONST_COSTS): Reword to be more accurate.
  383.     (RTX_COSTS): Define this.
  384.     (ADDRESS_COST): Define this.
  385.     (CLASS_CMP_OP, CLASS_EQUALITY_OP, CLASS_UNS_CMP_OP): New bits for
  386.     rtx_classify to classify various comparison operators.
  387.     (FINAL_PRESCAN_INSN): Define this to collect info for -mstats.
  388.     (NOTICE_UPDATE_CC): Only do CC_STATUS_INIT if the insn is a
  389.     comparison.
  390.     (EXTRA_CC_MODES): Define new modes CC_EQmode, CC_FPmode, CC_0mode.
  391.     (EXTRA_CC_NAMES): Define this.
  392.     (SELECT_CC_MODE): Define this.
  393.     (PRINT_OPERAND_PUNCT_VALID_P): Redefine this to index into
  394.     mips_print_operand_punct.
  395.     (DBR_OUTPUT_SEQEND): Reset .set reorder, .set macro as appropriate.
  396.  
  397.     * out-mips.c (branch_cmp, branch_type): New Global variables
  398.     and type to record what type of comparison is being done.
  399.     (mips_print_operand_punct): New array to specify whether a
  400.     character is valid for print_operand as punctuation.
  401.     (set_nomacro, set_noat, set_noreorder): New variables to record
  402.     whether a .set nomacro, .set noat, or .set noreorder has been
  403.     done.
  404.     (dslots_{filled,total}_{load,jump}): New global variables to
  405.     remember how many delay slots exist and are filled for the -mstats
  406.     option.
  407.     (reg_or_0_operand): Rewrite to add support for CONST_DOUBLE.
  408.     (mips_const_double_ok): Allow normal FP constants (not Infinity,
  409.     Nan, etc) to be used as operands when using the MIPS assembler.
  410.     (simple_memory_operand): Combine GP memory references from
  411.     gp_memory_operand.  Delete gp_memory_operand.
  412.     (equality_op): Return true if EQ or NE.
  413.     (cmp_op): Return true if comparison operator.
  414.     (uns_cmp_op): Return true if unsigned comparison.
  415.     (mips_move_1word): New name for mips_move_instructions.  Also, loads
  416.     of HImode/QImode use unsigned loads, rather than signed loads, so
  417.     that BYTE_LOADS_ZERO_EXTEND can be defined.  Use %z to get name of
  418.     $0, instead of hardwiring it.  Explicitly use lui where appropriate.
  419.     (mips_move_2words): New name for mips_move_2words_instructions.  Use
  420.     %z to get name of $0, instead of hardwiring it.
  421.     (mips_address_cost): New function to define ADDRESS_COST macro.
  422.     (gen_conditional_branch): New function to generate all of the tests
  423.     and branches.
  424.     (block_move_sequence): New function to generate straight line code
  425.     for block moves.
  426.     (block_move_call): New function to set up a call to memcpy/bcopy as
  427.     appropriate for block moves.
  428.     (expand_block_move): New function which is called from the movstrsi
  429.     define_expand, to set up block moves.  At present, unless -mmemcpy
  430.     is used, moves of less than 32 bytes, get straight line code, all
  431.     others get a call.
  432.     (init_cumulative_args): Take libname as third argument.
  433.     (function_arg_partial_nregs): Fix bug, to not return a negative
  434.     number when passing small structs in registers.
  435.     (compare_collect, compare_restore): Remove these functions, since
  436.     they are no longer called.
  437.     (override_options): Initialize mips_rtx_classify for all of the
  438.     comparison operator bits.  Initialize mips_print_operand_punct to
  439.     return TRUE for each of the valid punctuation characters used in
  440.     print_operand.
  441.     (print_operand): %X now prints 32 bit ints in hex format.  %z now
  442.     prints $0 if the operand is the constant integer 0.  %(, %) now turn
  443.     on/off both .set noreorder/.set nomacro.  %<, %> turns on/off .set
  444.     nomacro.  %* turns on both .set noreorder and .set nomacro if
  445.     filling delay slots.  %! turns on .set nomacro if filling delay
  446.     slots.
  447.     (compute_frame_size, save_restore, function_prologue,
  448.     function_epilogue): Change the calling sequence of
  449.     compute_frame_size to save everything in a global structure, which
  450.     has an initialized field to indicate that compute_frame_size needs
  451.     to be called.
  452.     (function_prologue): INIT_CUMULATIVE_ARGS now takes 3 args.
  453.     (function_epilogue): If current_function_epilogue_delay_list is
  454.     non-null, use that to fill the final delay slot.  Also, make sure
  455.     the various asm .set's are reset properly.  Write interesting
  456.     statistics out to stderr if -mstats.
  457.     (mips_epilogue_delay_slots): New function to return # of delay slots
  458.     the epilogue needs.
  459.     (null_epilogue):  Return true if the function has a null epilogue,
  460.     which allows the optimizer to omit jumps to the final j $31 if no
  461.     stack was created.
  462.  
  463.     * mips.md (type attribute): Redo how the type attributes work, and
  464.     change some names.
  465.     (mode attribute): New attribute to describe the insn's result mode.
  466.     (length attribute): New attribute to give insn length in words.
  467.     (dslot attribute): New attribute to return whether an insn needs a
  468.     delay slot.
  469.     (define_delay): Use dslot and length attributes to determine if a
  470.     delay slot is needed.
  471.     (define_function_unit): Define all of the function units now.
  472.     (all patterns): Provide new attribute definitions.
  473.     (all memory reference patterns): modify alternatives to use 'Q' for
  474.     1 word instructions, 'R' for multiword instructions.
  475.     (unnamed patterns): Provide names for all patterns, so that -dp will
  476.     pinpoint exactly which pattern is used.
  477.     (*divsi3, *divmodsi4, *modsi3): If optimizing and not -mdebugc, use
  478.     the *divmodsi4 patterns, so that the opimizer will only use 1 divide
  479.     if doing a = b / c; d = b % c;  This replaces the peepholes, which
  480.     previously were used for this.  If not optimizing, use the normal
  481.     div/mod patterns.
  482.     (zero_extendqihi2, extendqihi2): Allow zero/sign extending from
  483.     memory.
  484.     (fixuns_trunc{df,sf}si2): Use generator patterns to generate
  485.     appropriate branches.
  486.     (movsi_ulw, movsi_usw): New patterns to generate the appropriate
  487.     unaligned load/store for use in the block move expansion.
  488.     (mov*): Provide all possible combinations of moves.
  489.     (movstrsi): New pattern to generate block moves.
  490.     (negsi2): Change to a define_expand, which uses minus.
  491.     (one_cmpsli2): Change to a define_expand, which use the nor pattern.
  492.     (cmp*, b*): Redo comparison/branch completely to save things in
  493.     global variables, call the common C code to expand the branch, and
  494.     provide match_operators to do the actual branch.
  495.     (s*): Provide for the ability to set a register with an integer
  496.     comparison, without using a branch.
  497.  
  498.     * make-decrose (AUX_OUTPUT2): Delete macro, since aux-output.c is
  499.     always compiled separately now.
  500.     (LANGUAGES): Suppress G++, Objc temporarily.
  501.     (cse.o): Rebuild cse if the config files change, to get new cost
  502.     functions, no longer rebuild calls/function since the FUNCTION_ARG
  503.     macros just call functions in out-mips.c.
  504.     (SRCS): Change $(AUX_OUTPUT2_SRC) to aux-output.c.
  505.  
  506.     * make-mips (AUX_OUTPUT2): Delete macro, since aux-output.c is
  507.     always compiler separately now.
  508.     (CONFIG2_H): Add rules to rebuild selected modules when the
  509.     tm-mips.h file changes.
  510.     (mips-tfile): Rules to build mips-tfile.
  511.     (mips-tdump): Rules to build mips-tdump.
  512.     (LANGUAGES): Suppress G++, Objc temporarily, build mips-tfile.
  513.  
  514.     * mips-tfile.c (whole file): New file to put the MIPS specific debug
  515.     information into the object file, after the assembler has been run.
  516.     This is needed because the MIPS assembler provides no method of
  517.     setting up the debug information for local variables.  This is
  518.     enabled by the make-mips Makefile modifier.
  519.  
  520.     * mips-tdump.c (whole file): New file to dump the contents of the
  521.     MIPS ECOFF symbol table in a symbolic format.  This is not currently
  522.     built by default, but make-mips contains rules to build it.
  523.  
  524.     * tm-decrose.h (MD_EXEC_PREFIX): Change to use the test prefix
  525.     /usr/ccs/gcc-2.00/gcc- instead of the release prefix /usr/ccs/gcc.
  526.     (WCHAR_TYPE_SIZE): Define as 16.
  527.     (WCHAR_UNSIGNED): Define as 1.
  528.     (DBX_DEBUGGING_INFO): Define moved to tm-mips.h.
  529.  
  530.  
  531. Tue May 28 06:26:44 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  532.  
  533.     * expmed.c (store_bit_field, extract_bit_field): If -fforce-mem
  534.     specified, copy OP0 into register (and back again, for store).
  535.  
  536.     * sched.c (memrefs_conflict_p, {true,anti,output}_dependence): Add
  537.     missing parens.
  538.  
  539.     * reload.c (find_reloads): Turn usage of reg_preferred_class back on
  540.     now that the code has been refined.
  541.  
  542. Mon May 27 12:41:14 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  543.  
  544.     * c-typeck.c (build_binary_op_nodefault): Set converted for shifts,
  545.     so op1 is not converted to the result type.
  546.     Clean up some warning messages.
  547.  
  548.     * expr.c (expand_expr): Use temp stack slot for BLKmode SAVE_EXPR.
  549.  
  550.     * Makefile.in (alloca.o): Use new vars ALLOCA_FLAGS and ALLOCA_FINISH.
  551.  
  552. Mon May 27 05:42:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  553.  
  554.     * sched.c ({read,true,anti,output}_dependence): Remove unused arg INSN.
  555.     All callers changed.
  556.  
  557.     * combine.c (subst, case PLUS): Fix typo in (plus (plus X C) Y) case.
  558.     (subst, case MULT): Distribute MULT over PLUS to try to simplify it.
  559.  
  560. Sun May 26 21:29:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  561.  
  562.     * recog.c (const_double_operand): Fix typo.
  563.     * reload1.c (choose_reload_regs): Fix typo--swap #endif with }.
  564.  
  565.     * loop.c (init_loop): Multiply copy_cost by 2.
  566.     (general_induction_var): Use rtx_cost directly.
  567.     (expr_benefit): Function deleted.
  568.  
  569.     * m68k.md (andsi3): Generate bclr if appropriate.
  570.  
  571.     * cccp.c (do_undef): Just a warning, if deleting something unusual.
  572.  
  573. Sun May 26 18:51:33 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  574.  
  575.     * expr.c (force_operand): When calling recursively, use
  576.     a temporary to force evaluation of calls.  The C language
  577.     allows `f (g (x), g (y))' to be evaluated in different orders
  578.     on different hosts, which could lead to different code
  579.     generation for different hosts.
  580.  
  581.     * recog.c (const_double_operand): New function for recognizing
  582.     CONST_DOUBLE rtx's.
  583.  
  584.     * expmed.c (expand_mult_add): Add new parameter TARGET which is a
  585.     suggestion of where to store the result; pass it to expand_expr.
  586.     * loop.c (emit_iv_add_mult): Pass REG to expand_mult_add call as
  587.     target for the result.
  588.  
  589.     * gmicro.md, old-sparc.md, pyr.md: Delete obsolete UMULT patterns.
  590.  
  591.     * expmed.c (expand_mult): Convert DImode constants to a CONST_INT
  592.     if possible, so that multiplies by these can be optimized by the
  593.     existing code.
  594.  
  595. Sun May 26 00:59:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  596.  
  597.     * gcc.c (process_command): -save-temps is always valid.
  598.  
  599.     * varasm.c (output_constructor): Don't crash if val == 0.
  600.  
  601.     * cse.c (refers_to_mem_p): Handle constant addresses.
  602.  
  603.     * cccp.c (main): Don't store thru last_include if null.
  604.  
  605. Sat May 25 06:33:19 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  606.  
  607.     * reload.c (find_reloads): Don't assume we have at least two operands
  608.     when we check for a simple copy.
  609.  
  610.     * sched.c (update_reg_known_value): Deleted.
  611.     (init_alias_analysis): If have REG_EQUIV note, can always use NOTE's
  612.     value irrespective of number of sets.
  613.     Take known value from note, not SET_SRC.
  614.     (memrefs_conflict_p): Remove gotos.
  615.     ASHIFT can't occur in an address.
  616.     (true_dependence, anti_dependence, output_dependence): Take into
  617.     account the fact that a MEM_IN_STRUCT_P reference cannot conflict
  618.     with a non-MEM_IN_STRUCT_P reference at a fixed address.
  619.  
  620. Fri May 24 11:34:39 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  621.  
  622.     * Makefile.in (cplus-tab.c): Put back -d option.
  623.  
  624. Fri May 24 06:46:07 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  625.  
  626.     * rtl.c (rtx_alloc): Ensure we keep the obstack aligned.
  627.  
  628. Fri May 24 00:17:13 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  629.  
  630.     * reload1.c (choose_reload_regs): Try with inheritance, then without.
  631.     #if 0 the code to avoid inheritance in certain cases.
  632.  
  633. Fri May 24 00:13:40 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  634.  
  635.     * out-i386.c (split_di): Check for CONST_DOUBLE before CONSTANT_P.
  636.  
  637.     * tm-i386.h (LIMIT_RELOAD_CLASS): new macro.
  638.     (PREFERRED_RELOAD_CLASS): a CONST_DOUBLE can appear in narrower
  639.     classes than GENERAL_REGS.
  640.  
  641.     * reload.c (push_reload): Limit reload class even if the SUBREG has
  642.     already been stripped.
  643.  
  644. Thu May 23 11:08:21 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  645.  
  646.     * sched.c (schedule_insns): Don't schedule a block if the only insn is
  647.     a CODE_LABEL.
  648.  
  649. Thu May 23 07:54:57 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  650.  
  651.     * reload1.c (choose_reload_regs): Process reload in first pass if
  652.     a subsequent reload requires fewer registers.
  653.     Change criteria for processing from being a strict superset to 
  654.     having an intersecting, non-equal class.
  655.     Ignore optional and turned-off reloads in loop to see what is forced
  656.     to be allocated in first pass.
  657.  
  658.     * toplev.c (compile_file): Fix typo in length of string to allocate
  659.     for sched2 dump's name.
  660.  
  661.     * jump.c (find_cross_jump): Don't crash if single_set returns 0.
  662.  
  663.     * recog.c (general_operand): A SUBREG of a constant is never valid.
  664.  
  665.     * local-alloc.c (qty_compare, qty_compare_1): Make priority function
  666.     the same as in global-alloc: quantities with shorter lives are
  667.     allocated first.  This can speed up some code by a factor of three.
  668.  
  669. Wed May 22 17:40:49 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  670.  
  671.     * reload1.c (emit_reload_insns): Fix some minor bugs in making
  672.     REG_DEAD notes and recording insn that does store; code sometimes
  673.     assumed that each call to gen_move_insn produced at most one insn.
  674.  
  675. Wed May 22 16:51:53 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  676.  
  677.     * reload.c (push_reload): Support LIMIT_RELOAD_CLASS.
  678.  
  679. Wed May 22 14:14:51 1991  Micheal Tiemann  (tiemann at wookumz.gnu.ai.mit.edu)
  680.  
  681.     * jump.c (jump_optimize): Update the three simplifications that
  682.     start with the "if (...) x = 1;" case.  Add comments explaining how
  683.     to make them more machine independent, and comments explaining how
  684.     they might fail in the future.  Ifdef out the second case, and add
  685.     code explaining why it does not work.
  686.  
  687.     * rtl.h: Put definition of FUNCTION_FLAGS_USES_CONST_POOL here.
  688.     * integrate.c: Remove definition of it here.
  689.  
  690.     * integrate.h: New fields in struct inline_remap, min_insnno and
  691.     max_insnno, which indicate the range of insns covered by insn_map.
  692.     * integrate.c (expand_inline_function): Set min_insnno and max_insnno.
  693.  
  694. Wed May 22 12:31:53 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  695.  
  696.     * tm-vaxv.h (ASM_OUTPUT_LOCAL): Use data_section.
  697.  
  698.     * protoize.c (fancy_abort): Define it.
  699.     * objc-parse.y (yyprint, set_yydebug): New functions.
  700.  
  701.     * tree.h (gettags, get_permanent_types, get_temporary_types):
  702.     Declare them.
  703.  
  704.     * Makefile.in (protoize.o, unprotoize.o):
  705.     Use the standard flags and include dirs.  Don't use -Wall.
  706.     * protoize.c (abort): Declaration deleted.
  707.  
  708.     * cccp.c (main): Ensure `next' field in directory list is initialized.
  709.  
  710. Wed May 22 09:27:49 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  711.  
  712.     * expmed.c (synth_mult): Return cost of -1 if shift is too
  713.     expensive.
  714.  
  715. Wed May 22 02:43:02 1991  Micheal Tiemann  (tiemann at wookumz.gnu.ai.mit.edu)
  716.  
  717.     * Makefile.in, emit-rtl.c, explow.c, final.c, global-alloc.c,
  718.     gnulib2.c, hard-reg-set.h, regclass.c, reload1.c, cccp.c: Fix typos
  719.     and indentation.
  720.  
  721. Wed May 22 00:14:37 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  722.  
  723.     * combine.c (try_combine): Add to last change; handle subreg
  724.     in src as well as in dest of i3.
  725.  
  726. Tue May 21 22:32:08 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  727.  
  728.     * m68k.md (dbra): Rewrite pattern so it reflects simplifications that
  729.     combine will make.
  730.  
  731. Tue May 21 10:44:05 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  732.  
  733.     * loop.c (strength_reduce): When a loop-vtop note is encountered,
  734.     reset `not_every_iteration'.
  735.  
  736. Tue May 21 00:17:31 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  737.  
  738.     * c-decl.c (init_decl_processing): Always use long type for size_t.
  739.  
  740.     * varasm.c (assemble_variable): Use ASM_DECLARE_OBJECT_NAME.
  741.  
  742.     * protoize.c: Include config.h.
  743.     (chmod, kill): Declarations deleted.
  744.     They aren't needed, and can conflict with system headers.
  745.     (wait): BSD declaration deleted.
  746.     (save_def_or_dec): Add missing fprintf arg.
  747.  
  748.     * tm-next.h (EXTRA_FORMAT_FUNCTIONS): Fix typo.
  749.  
  750.     * protoize.c: Use USG and VMS as most files do.
  751.     Don't expect BSD to be necessary defined outside this file.
  752.     Define getwd using getcwd, not vice-versa, to be like dbxout.c.
  753.     * cccp.c, SYSCALLS.c: Use USG and VMS as most files do.
  754.     Don't expect BSD to be necessary defined outside this file.
  755.  
  756. Mon May 20 16:54:17 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  757.  
  758.     * tm-i386.h, tm-att386.h, tm-bsd386.h, tm-sun386.h (ASM_BYTE_OP):
  759.     Renamed from ASM_BYTE.
  760.     * varasm.c (ASM_BYTE_OP): Likewise.
  761.  
  762.     * c-decl.c, cplus-class.c (finish_struct): Typo:
  763.     Had PCC_BIT_FIELD_MATTERS which is now PCC_BITFIELD_TYPE_MATTERS.
  764.  
  765.     * gcc.c (handle_braces): Don't deref input_suffix if null.
  766.  
  767. Mon May 20 15:19:27 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  768.  
  769.     * cccp.c (pcfinclude): STRINGDEF struct is now longword aligned.
  770.  
  771. Mon May 20 14:26:18 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  772.  
  773.     * sparc.md: Remove all arithmetic, logical, and shift patterns for
  774.     sub-SImode operands.  Also fix some DImode patterns.
  775.  
  776.     * out-sparc.c (emit_move_sequence): Simplified considerably.
  777.  
  778.     * rtl.c (rtx_alloc): Inline-code an optimized obstack_alloc.
  779.  
  780.     * cplus-lex.c (make_{pointer,reference}_declaration): Call
  781.     `build_parse_node' instead of `build1' so memory can be freed.
  782.  
  783.     * cplus-parse.y: Remove unneeded epsilon rules to produce an average
  784.     15% reduction in the number of reductions performed.
  785.  
  786.     * cplus-parse.y (RETURN_INIT): Use new interface to speed up
  787.     grammar.
  788.     * cplus-decl.c (store_return_init): Use new interface.
  789.  
  790. Mon May 20 11:16:34 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  791.  
  792.     * sched.c (schedule_block): A register which dies in a CALL_INSN
  793.     does not cross calls.  A single insn block must be scheduled, to
  794.     ensure that register lifetime info is corrected updated.
  795.  
  796. Mon May 20 06:50:37 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  797.  
  798.     * combine.c (try_combine): Don't combine when I1 and I2 both feed
  799.     into I3 and I1 uses the register set in I2.
  800.  
  801.     * reload.c (find_reloads): Prefer pseudos over other things we may
  802.     reload.
  803.  
  804. Mon May 20 02:02:15 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  805.  
  806.     * combine.c (try_combine): Test MODES_TIEABLE_P when i3 src is subreg.
  807.  
  808.     * m68k.md (trunc*): Don't set cc if use wider insn.
  809.  
  810. Sun May 19 14:45:46 1991  Ron Guilmette  (rfg at ncd.com)
  811.  
  812.     * Makefile.in (clean): Delete stage1...stage4.
  813.     (realclean): Delete cexp.output.
  814.  
  815.     * fixincludes: Handle BSD43__IO* and BSD43_CTRL like IO* and CTRL.
  816.  
  817. Sun May 19 15:00:05 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  818.  
  819.     * reload1.c (count_possible_groups): New function.
  820.     (reload): Call it twice.  This checks for possible groups
  821.     after maybe spilling some single regs.
  822.  
  823.     * configure (magnum, m3230): Aliases for mips/mips.
  824.  
  825.     * fixincludes (machine/cpu.h):
  826.     Create in proper dir.  Fix mips/cpu.h too.
  827.  
  828.     * reload.c (find_reloads): Turn off usage of reg_preferred_class.
  829.  
  830. Sun May 19 09:51:24 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  831.  
  832.         * flow.c (mark_used_regs): Continue putting REG_DEAD notes on 
  833.     fixed registers.
  834.  
  835.     * regclass.c (reg_class_record): Don't count classes in which objects
  836.     won't fit.
  837.  
  838.     * reload.c (find_reloads): Pre-compute preferred classes for each
  839.     operand; if operand 1 is copied to operand 0, merge the classes.
  840.     REJECT is now only 1/3 as costly as LOSERS; ? adds 3 to REJECT so
  841.     that it's semantics don't change.
  842.  
  843.     * expr.c (compare_from_rtx): Do EQ and NE comparisons unsigned since
  844.     they are usually cheaper and will cse with comparisons against zero
  845.     which are already unsigned.
  846.  
  847.     * reload1.c (choose_reload_regs): Don't try to access reload_out
  848.     for disabled reload (reload_strict_low may not have been cleared).
  849.  
  850.     * reload1.c (choose_reload_regs): Don't let optional reloads inherit
  851.     spill regs until all non-optional reloads have been allocated spill
  852.     regs.
  853.     We can use find_equiv_reg even if must_reuse, we just can't get a
  854.     spill reg that way.
  855.  
  856.     * expr.c (do_tablejump): When using LABEL_REF in arithmetic, make it
  857.     in Pmode instead of VOIDmode.
  858.  
  859.     * function.c (fixup_var_refs_1): Don't try to make paradoxical
  860.     memory SUBREGs; instead keep SUBREG_REG a pseudo and copy between
  861.     memory and the pseudo.
  862.     (fixup_memory_subreg): Abort if we try making paradoxical SUBREGs.
  863.  
  864.     * reorg.c (redundant_insn_p): Insns we pass may reference resources
  865.     set by INSN; it is sufficient that they not set resources in INSN.
  866.  
  867. Sun May 19 08:06:17 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  868.  
  869.     * tm-sparc.h (STRUCT_VALUE): Change SImode to Pmode here, and in
  870.     other places.
  871.     (FIRST_PARM_OFFSET): Change 4 to UNITS_PER_WORD here, and in other
  872.     places.
  873.     (ROUND_ADVANCE): New macro to compute how far to advance the arg
  874.     pointer for a give parameter.
  875.     (FUNCTION_ARG): Use PARM_BOUNDARY instead of 32.
  876.     (EXTRA_CONSTRAINT): Don't depend on `reload_completed'.
  877.     * sparc.md (various places): Change many DImode predicates from
  878.     `general_operand' to `register_operand'.
  879.  
  880.     * jump.c (find_cross_jump): Fixed 18 May change to use
  881.     `validate_change' to make sure we get valid, initialized values
  882.     regardless of which path we choose.
  883.  
  884. Sat May 18 15:07:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  885.  
  886.     * cccp.c: Rename FATAL_EXIT_CODE to FAILURE_EXIT_CODE.
  887.  
  888.     * gnulib1.c: Rename SFVALUE to FLOAT_VALUE_TYPE.
  889.     (union flt_or_value): New type.
  890.     (*): Use that instead of flt_or_int in most places.
  891.     Delete some variables `intify' that aren't needed.
  892.     * tm-i386.h: Rename SFVALUE to FLOAT_VALUE_TYPE.
  893.  
  894.     * stor-layout.c (layout_record): BITFIELD_NBYTES_LIMITED now 1 or 0.
  895.  
  896.     * rtl.h (struct rtx_def): Drop SHORT_ENUM_BUG; keep ONLY_INT_FIELDS.
  897.  
  898.     * loop.c (add_cost, copy_cost):
  899.     Variables replace old macros *_BENEFIT and COPY_PENALTY.
  900.     (init_loop): New function to set the variables.
  901.     (expr_benefit): Use rtx_cost.
  902.     * toplev.c (compile_file): Call init_loop.
  903.     * cse.c (rtx_cost): Treat mult by 2**n as a shift by default.
  904.  
  905.     * toplev.c (output_file_directive):
  906.     Typo in ASM_OUTPUT_MAIN_SOURCE_FILENAME.
  907.  
  908.     * gnulib2.c [L_trampoline]: Rename function to __trampoline.
  909.     Always compile it even if empty.  Make it global.
  910.  
  911. Sat May 18 14:11:37 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  912.  
  913.     * reload.c (find_reloads): Remove unnecessary test when increasing
  914.     cost of alternative due to non-preferred register class.
  915.  
  916.     * reload1.c (choose_reload_regs): Fix typo.
  917.  
  918.     * tm-rs6000.h: Add hard registers for the 8 CR fields; add classes
  919.     CR0_REGS and CR_REGS.
  920.     Don't use CC0; add CCUNSmode and CCFPmode.
  921.     (FIXED_REGISTERS): r31 (fp) is no longer fixed.
  922.     (REG_CLASS_FROM_LETTER): Remove 'd' for GENERAL_REGS; 'r' already
  923.     means this.
  924.     (CONST_DOUBLE_OK_FOR_LETTER): If we can move a constant in two insns
  925.     for DF or one insn for SF, let it match 'G'.
  926.     (SECONDARY_RELOAD_CLASS): Define this new macro.
  927.     (FUNCTION_ARG): Fix typo in testing nargs_prototype.
  928.     (LEGITIMATE_CONSTANT_P): Always return 1.
  929.     (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Do not define.
  930.     * rs6000.md: Don't use CC0; instead use a pseudo which will be assigned
  931.     to CR_REGS or CR0_REGS.  Make variants of arithmetic insns that
  932.     set only the condition code and that set both the condition code
  933.     and a normal result.
  934.     Delete "cc" attribute and add "type" attribute.
  935.     Define delays for cc-setting insns and for loads.
  936.     Replace `d' constraint with `r'.
  937.     Delete patterns for HImode and QImode arithmetic operations.
  938.     Handle putting "easy" DFmode or SFmode constant into a register.
  939.     Rework compare and branches; add scc insns.
  940.     Fix up decrement-and-branch insns, but they still won't be used yet.
  941.     (call insns): Use pseudo for "lr" in indirect calls.
  942.     (movdf, movsf): Explictly handle need to use memory to copy between
  943.     general and FP registers.
  944.     * out-rs6000.c (next_insn_tests_no_unsigned, unsigned_comparisons_p):
  945.     Deleted.
  946.     (update_cc): Likewise.
  947.     (gen_reg_operand): Tighen up a bit.
  948.     (cc_reg_operand, reg_or_u_short_operand, easy_fp_constant): New fns.
  949.     (fp_reg_or_mem_operand, mem_or_easy_const_operand): Likewise.
  950.     (call_operand): Accept pseudo register.
  951.     (branch_comparison_operator, scc_comparison_operator): New functions.
  952.     (secondary_reload_class, ccr_bit, must_save_cr): Likewise.
  953.     (print_operand, case 'w', 'u'): Support CONST_DOUBLE.
  954.     (print_operand, cases 'W', 'f', 'F', 'R', 't', 'T', 'C', 'D'):
  955.     New cases.
  956.     (print_operand, cases 'j' and 'J'): Now use for bit number in CCR.
  957.     (output_{pro,epi}logue): If we call function to save/restore fpr's,
  958.     we need to save/restore LR.
  959.     Save CR if we modify the call-saved fields.
  960.  
  961.     * romp.md: Delete HImode and QImode arithmetic operations.
  962.     (swapxi): Delete; obsolete and never used.
  963.  
  964.     * tm-a29k.h (TARGET_SWITCHES): Change -mnodw to -mndw.
  965.     Add -m{no-,}reuse-arg-regs.
  966.     (SECONDARY_RELOAD_CLASS): Provide a definition for this new macro.
  967.     * a29k.md: Delete all HImode and QImode arithmetic operations.
  968.     * out-a29k.c (secondary_reload_class): New function.
  969.     (incoming_reg): Look at TARGET_NO_REUSE_ARGS.
  970.  
  971.     * reload1.c (eliminate_regs): Don't remove a PLUS unless inside    an
  972.     address since it would need to change INSN_CODE and can't do it here.
  973.  
  974.     * reorg.c (uid_to_ruid, max_uid): New vars.
  975.     (mostly_true_jump): Refine prediction slightly.
  976.     Use uid_to_ruid map to accurately see if branches are backward.
  977.     (relax_delay_slots): Pass condition to mostly_true_jump.
  978.     (dbr_schedule): Allocate and build uid_to_ruid map.
  979.  
  980. Sat May 18 12:54:45 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  981.  
  982.     * cse.c (insert): "Unchanging" pseudos count as constant.
  983.  
  984.     * tree.c (make_node): Rewrite end as a switch.
  985.  
  986. Sat May 18 03:51:06 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  987.  
  988.     * cse.c (FIXED_BASE_PLUS_P): Since this is used when called from
  989.     `expand_inline_function', also catch the case where the base
  990.     register is VIRTUAL_STACK_VARS_RTX.
  991.     (simplify_binary_operation): In EQ and NE case, convert a COMPARE
  992.     operand to something we can optimize.
  993.     (refers_to_mem_p): Handle the case when `base' is a LO_SUM.
  994.     * integrate.c (FIXED_BASE_PLUS_P): Define this to recognize offsets
  995.     from the various virtual registers.
  996.     (expand_inline_function): Expand exprs using EXPAND_SUM so as to get
  997.     stack frame addresses instead of pseudos.  This yields much better
  998.     cse (at little cost) for GNU C++.  Also, test FIXED_BASE_PLUS_P as
  999.     an alternative to CONSTANT_P to record a known register value.
  1000.     * jump.c (find_cross_jump): If we are processing a cross jump and
  1001.     the insns fail to match, try looking for a REG_EQUAL note that makes
  1002.     them equivalent insns.  If found, keep going.  This is important for
  1003.     merging cleanup codes when one cleanup path gets frame address in a
  1004.     register when the other path gets the frame address explicitly.
  1005.  
  1006.     * cplus-init.c (build_delete): Fixed residual use of 1-based
  1007.     indexing to use 0-based indexing instead.
  1008.  
  1009.     * cplus-decl2.c (grokclassfn): Fix raeburn's May 12 change so that
  1010.     destructors still have the same name.
  1011.  
  1012.     * cplus-decl.c (decls_match): Remove dependence on MERGED.
  1013.  
  1014.     * cplus-class.c (build_vbase_path): Fixed bug in computing offsets
  1015.     for exprs which are FIXED_TYPE_P.
  1016.     (build_vfn_ref): Change initializer for REF from 0 to NULL_TREE.
  1017.  
  1018.     * cplus-decl.c (maybe_build_cleanup): Add LOOKUP_NONVIRTUAL to flags
  1019.     argument in call to `build_delete' if DECL does not use virtual
  1020.     baseclasses.  If it does, we go through a function call to save
  1021.     space, unless FLAG_EXPENSIVEO_OPTIMIZATIONS is nonzero.  ??Better
  1022.     approach is to know, in expand_cleanups, to clear `flag_no_inline'
  1023.     during the cleanup's expansion.
  1024.  
  1025.     * cplus-*.c (various places): Add LOOKUP_DESTRUCTOR to all places
  1026.     where we know we are calling a destructor for a non-null object.
  1027.  
  1028.     * stmt.c (fixup_gotos): Run destructors on cleanups that come
  1029.     from the block being exited, in addition to any inner blocks
  1030.     for which LABEL is now defined.
  1031.     (expand_return): Take care of destructors that occur in the
  1032.     current binding level.
  1033.     (fixup_cleanups): If we emitted no insns, don't change *BEFORE_JUMP.
  1034.  
  1035.     * rtlanal.c: Define `target_flags' here...
  1036.     * toplev.c: ...not here.  This enables us to link gen* programs
  1037.     which might, through rtlanal.o, pull in references to `target_flags'
  1038.     that are never used.
  1039.  
  1040.     * function.c: Add declaration for `current_function_uses_const_pool'.
  1041.     * expr.h: Add extern declaration for that variable.
  1042.     * function.h (struct function): Add a slot named
  1043.     `uses_const_pool' for `current_function_uses_const_pool'.
  1044.     * function.c ({push,pop}_function_context): save and restore the
  1045.     value of `current_function_uses_const_pool'.
  1046.     * rtl.h (FUNCTION_FLAGS_USES_CONST_POOL): Defined to be 0200.
  1047.     * integrate.c (initialize_for_inline):
  1048.     FUNCTION_FLAGS_USES_CONST_POOL now contributes to the value of
  1049.     `function_flags'.
  1050.     (output_inline_function): Restore `current_function_uses_const_pool'
  1051.     from `function_flags'.
  1052.     (save_for_inline_copying): Only call `save_constants' if
  1053.     `current_function_uses_const_pool' is nonzero.
  1054.     (save_for_inline_nocopy): Ditto.
  1055.     (save_constants): Tweaked to perform its treewalk faster.  Notably,
  1056.     it no longer accepts ptrs to NULL rtl.  All callers changed.
  1057.     * varasm.c (force_const_mem): Set `current_function_uses_const_pool'
  1058.     if we create a constant pool reference.
  1059.  
  1060.     * cplus-parse.y, c-parse.y: Add new function `set_yydebug'.  If
  1061.     YYDEBUG is defined, sets `yydebug' to VALUE.  Otherwise, prints
  1062.     warning that operation is invalid.
  1063.     * toplev.c (main): Call `set_yydebug' instead of setting `yydebug'
  1064.     directly.  This allows user to turn YYDEBUG off for faster parsing.
  1065.  
  1066.     * cse.c (simplify_binary_operation): Eliminate abort when passed
  1067.     DImode operands.
  1068.  
  1069. Fri May 17 21:56:41 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1070.  
  1071.     * hard-reg-set.h (reg_class_superunion): New var.
  1072.     * regclass.c (init_reg_sets): Compute reg_class_superunion.
  1073.     (reg_classes_intersect_p): New function.
  1074.  
  1075.     * reload.c (find_reloads): Alternative is discouraged if it puts
  1076.     a pseudo in a register class it doesn't prefer.
  1077.  
  1078.     * reload1.c (basic_block_needs): Now an array, per register class.
  1079.     (reload): Compute separate basic_block_needs for each class.
  1080.     (spill_hard_reg): If pseudo is only in one block, see if that block
  1081.     needs a spill register of a class containing the hard reg; leave the
  1082.     pseudo alone if not.
  1083.  
  1084.     * reload1.c (reload_mode, reload_nregs): New vars.
  1085.     (reload_reg_class_lower): Use them.
  1086.     (allocate_reload_reg): New function.
  1087.     (choose_reload_regs): Track size and class of any groups.  We
  1088.     can inherit reloads if we are the size of the largest group or
  1089.     if our class is disjoint from those needed for groups.
  1090.     Try all inherits first before all spill register allocations
  1091.     unless there is a later reload with a smaller class; call
  1092.     allocate_reload_reg to do the actual allocation.
  1093.     Use new vars above.
  1094.     (emit_reload_insns): Delete output reload even if we weren't
  1095.     storing to memory.
  1096.  
  1097.     * reload.h (reload_secondary_reload, reload_secondary_p): New vars.
  1098.     * reload.c (push_reload): If secondary reload register is needed,
  1099.     make a secondary reload.
  1100.     * reload1.c (reload): Reload with reload_secondary_p nonzero is in use.
  1101.     (choose_reload_regs): Likewise.
  1102.     (emit_reload_insns): Handle secondary reloads, when needed.
  1103.  
  1104.     * reload1.c (reload): Add pass to remove death notes for things that
  1105.     are no longer registers or don't die if we must preserve death notes.
  1106.     (emit_reload_insns): Refine REG_DEAD notes to be more accurate; make
  1107.     notes for secondary reloads.
  1108.  
  1109.     * reload1.c (emit_reload_insns): Abort for output reloads for jumps;
  1110.     we have to implement this at some point.
  1111.  
  1112. Fri May 17 20:08:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1113.  
  1114.     * protoize.c: Handle ultrix like BSD.
  1115.  
  1116. Fri May 17 15:56:41 1991  Richard Stallman  (rms at geech.gnu.ai.mit.edu)
  1117.  
  1118.     * Pass library function name to INIT_CUMULATIVE_ARGS.
  1119.     * calls.c (expand_call): Pass extra arg to INIT_CUMULATIVE_ARGS.
  1120.     * expr.c (emit_library_call): Likewise.
  1121.     * function.c (assign_parms): Likewise.
  1122.     * tm-*.h (INIT_CUMULATIVE_ARGS): Accept the extra arg.
  1123.     (INIT_CUMULATIVE_INCOMING_ARGS): Likewise, just for symmetry.
  1124.  
  1125. Fri May 17 15:41:22 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  1126.  
  1127.     * tm-i386v4.h (ASM_OUTPUT_COMMON): Don't attempt alignment on a
  1128.     three byte boundary.
  1129.  
  1130. Fri May 17 15:25:16 1991  Tom Wood  (wood at dg-rtp.dg.com)
  1131.  
  1132.     * function.c (assign_stack_local, assign_outer_stack_local): Make
  1133.     the alignment in bytes.
  1134.  
  1135. Fri May 17 14:31:00 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1136.  
  1137.     * cplus-class.c (build_vbase_path): Only build a COND_EXPR if
  1138.     NONNULL is zero.
  1139.     (resolves_to_fixed_type_p): Check TREE_HAS_CONSTRUCTOR for
  1140.     CALL_EXPRs and INDIRECT_REFs.
  1141.  
  1142.     * cplus-call.c (build_method_call): Add call to `constructor_name'
  1143.     if BASETYPE changes.
  1144.     * cplus-init.c (build_new): Add LOOKUP_NONVIRTUAL to FLAGS argument
  1145.     to `build_method_call'.  Constructors are never virtual.  Also, set
  1146.     TREE_HAS_CONSTRUCTOR bit for return value from `build_method_call'.
  1147.  
  1148. Thu May 16 21:36:10 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1149.  
  1150.     * rtl.h (CONSTANT_P): Now true for a CONST_DOUBLE.
  1151.     * combine.c, cse.c, emit-rtl.c, expr.c, integrate.c, loop.c:
  1152.     Update for new meaning of CONSTANT_P to include CONST_DOUBLE.
  1153.     * optabs.c, recog.c, reload.c, reload1.c, rtl.h, rtlanal.c:
  1154.     Likewise.
  1155.     * romp.md, rs6000.md, out-alliant.c, out-convex.c: Likewise.
  1156.     * out-gmicro.c, out-i386.c, out-i860.c, out-m68k.c: Likewise.
  1157.     * out-sparc.c, out-spur.c, out-tahoe.c: Likewise.
  1158.  
  1159.     * combine.c (SUBST, SUBST_INT): If INTO equals NEWVAL, don't
  1160.     record the substitution.
  1161.     (try_combine, subst, make_compound_operation, simplify_and_const_int):
  1162.     No longer need check for changes before using SUBST macro.
  1163.     (simplify_shift_count): Likewise.
  1164.  
  1165.     * integrate.c (copy_rtx_and_substitute, case CONST): If what
  1166.     was originally a constant becomes something that is not a constant
  1167.     when passed through a recursive call, return it without the CONST.
  1168.  
  1169.     * rtl.c (copy_most_rtx): New function.
  1170.     * rtl.h (copy_most_rtx): Declare it.
  1171.     * function.c (fixup_var_refs_1, case MEM): If a MEM contains VAR,
  1172.     ensure the MEM isn't shared by copying it.
  1173.  
  1174.     * expmed.c (expand_divmod): If doing MOD, produce divide result
  1175.     into unique pseudo so that we might CSE the division.
  1176.  
  1177. Thu May 16 12:01:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1178.  
  1179.     * reload.c (push_reload): Try find_dummy_reload before dead regs.
  1180.  
  1181.     * function.c (assign_stack_local*): Use GET_MODE_ALIGNMENT.
  1182.     Use CEIL_ROUND consistently.
  1183.     Don't force word alignment even if STRICT_ALIGNMENT (experiment).
  1184.  
  1185. Thu May 16 10:31:04 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  1186.  
  1187.     * unroll.c (unroll_loop): Don't abort if start label does not
  1188.     immediately follow LOOP_BEG note.  This can happen as a result of
  1189.     jump threading.
  1190.     * reorg.c (mostly_true_jump): Eliminate repeated test in second loop.
  1191.  
  1192.     * sched.c (priority): Abort if find a NOTE in a groups of insns that
  1193.     must be scheduled together.
  1194.     (free_pending_lists): New function.  Moves every *_LIST rtx on the
  1195.     pending lists to the free list.
  1196.     (add_insn_mem_dependence): Get a *_LIST from the free list instead
  1197.     of creating one if possible.
  1198.     (sched_analyze_1): Don't move an insn across a call if it uses a
  1199.     register that is not already live across calls. 
  1200.     (sched_analyze_insn): Likewise.
  1201.     (sched_analyze_1): When flusing the pending lists, put the *_LIST
  1202.     rtx on the free list.
  1203.     (sched_analyze): Likewise.
  1204.     (schedule_block): Likewise.
  1205.     (sched_analyze_2): For a cc0 setter/user pair, put a copy of all
  1206.     dependencies on the first insn onto the second insn.
  1207.     (sched_analyze_insn): Likewise for call sequences.
  1208.     (sched_analyze_insn): Handle REG_INC notes just like SETs.
  1209.     (sched_note_set): Handle hard registers same as psuedo regs.
  1210.     (attach_deaths): Likewise.  Don't add REG_DEAD notes to the frame
  1211.     pointer, arg pointer or stack pointer.
  1212.     (schedule_block): Likewise.
  1213.     (rank_for_schedule): Do not check whether each insn of a sequence
  1214.     that must be scheduled together is ready.  They will only reach here
  1215.     if they are all already ready.
  1216.     (schedule_block): After reload, don't need to give special treatment
  1217.     to insns at function start which set up the function parameters.
  1218.     Don't treat tail specially if it is part of a group that must be
  1219.     scheduled together.
  1220.     When a group of instructions is scheduled together, run the lifetime
  1221.     analysis code on every instruction in the group from last to first.
  1222.     A call_insn kills all call_used and global regs except those
  1223.     explicitly used by the call_insn.
  1224.     (schedule_insn): Initialize new variables.  If USE_C_ALLOCA, free
  1225.     alloced memory immediately after each schedule_block call, not once
  1226.     at the end.
  1227.  
  1228.     * rtl.c (add_dependence): When adding a dependence that points to an
  1229.     insn that is part of a sequence that must be scheduled together,
  1230.     make the dependence point to the last insn of the sequence instead.
  1231.  
  1232. Wed May 15 13:08:32 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1233.  
  1234.     * combine.c (simplify_and_const_int): If we have
  1235.     (and (OP (lshiftrt X Y) Z) C), for OP of IOR, XOR, and NOT, commute
  1236.     OP and LSHIFTRT to put AND and LSHIFTRT adjacent to try to form
  1237.     ZERO_EXTRACT.
  1238.  
  1239.     * combine.c (subst, gen_lowpart_for_combine, get_last_value_validate):
  1240.     Use object's mode instead of VOIDmode when we make
  1241.     (clobber (const_int 0)) in case someone uses the mode for significant
  1242.     bits.
  1243.     * rtlanal.c (side_effects_p): Reject non-VOIDmode CLOBBERs.
  1244.  
  1245.     * rtlanal.c (reg_set_p_1): Remove test for `reg_set_reg' being MEM.
  1246.     (reg_set_p): Abort if passed a MEM.
  1247.  
  1248.     * toplev.c (strip_off_ending): Strip trailing ".f".
  1249.  
  1250. Wed May 15 12:54:18 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1251.  
  1252.     * cplus-typeck.c (build_modify_expr_1): If the TREE_TYPE of the
  1253.     recursive result is an ARRAY_TYPE, change it to void_type_node so
  1254.     build_compound_expr doesn't lose when calling default_conversion.
  1255.  
  1256.     * cplus-tree.h (lang_type): Remove AS_LIST field from lang_type.
  1257.     Use TYPE_MAX_VALUE field of type instead.
  1258.     (TREE_REFERENCE_EXPR): New macro.
  1259.  
  1260.     * cplus-parse.y (LC): If we are not in temporary allocation, call
  1261.     permanent_allocation.  This frees up any PARM_DECL nodes that were
  1262.     allocated since we processed an inline function.  NOTE: we still
  1263.     have to clean up these parms from inline functions that did not go
  1264.     inline.
  1265.  
  1266.     * cplus-decl.c (store_parm_decls): Since we no longer push an extra
  1267.     binding level if ! PARMS_HAVE_CLEANUPS, test CLEANUP_LABEL to figure
  1268.     out how far up the binding countours we must look.
  1269.     (init_decl_processing): If FLAG_NO_INLINE is nonzero, set
  1270.     FLAG_DEFAULT_INLINE to zero.
  1271.  
  1272.     * cplus-class.c (finish_struct_bits): Copy TYPE_MIN_VALUE and
  1273.     TYPE_MAX_VALUE.  These actually hold C++-related data that's moved
  1274.     up from the lang_type data structure.
  1275.  
  1276.     * cplus-*.c: Change REFERENCE_EXPR to CONVERT_EXPR.  Set
  1277.     TREE_REFERENCE_EXPR bit to indicate a CONVERT_EXPR that's really the
  1278.     address of a C++ reference expression.
  1279.  
  1280. Wed May 15 12:30:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1281.  
  1282.     * tm-sparc.h (FIXED_REGISTERS): Register 0 is not fixed; it is used
  1283.     for the condition code, not to represent the fixed %g0.
  1284.  
  1285. Tue May 14 18:59:06 1991  Jim Wilson  (wilson at sphagnum.cygnus.com)
  1286.  
  1287.     * explow.c (find_next_ref): Start search at first insn after INSN.
  1288.  
  1289.     * jump.c (jump_optimize): Update the three simplications that start
  1290.     with the "if (...) x = 1; else {...} if (x) ..." case, so that when
  1291.     HAVE_cc0 is not defined, they do not accept TST insns (which could
  1292.     just be a register to register move).  They should only accept insns
  1293.     with the COMPARE operator.
  1294.  
  1295. Tue May 14 14:51:33 1991  Tom Wood  (wood at dg-rtp.dg.com)
  1296.  
  1297.     * cse.c (simplify_binary_operation): Don't abort when comparing
  1298.     two CONST_DOUBLE values.
  1299.  
  1300. Tue May 14 11:35:47 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1301.  
  1302.     * c-common.c (decl_attributes): Fix typo in name of attribute.
  1303.     It should be `aligned'.  Also don't crash on unknown attribute.
  1304.  
  1305.     * expmed.c (init_expmed): Make a separate object to free back to.
  1306.  
  1307.     * hard-reg-set.h (HOST_BITS_PER_LONG_LONG): Provide default definition.
  1308.  
  1309.     * toplev.c (main): Implement -gdwarf.
  1310.  
  1311. Tue May 14 06:32:48 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1312.  
  1313.     * flow.c (mark_used_regs): Don't make REG_DEAD notes for fixed regs.
  1314.  
  1315.     * combine.c (subst): Convert (not (ashift C X)) to (or (rotate ..))
  1316.     and similarly for (not (lshiftrt C X)).
  1317.     (make_field_assignment): Make corresponding change in how we recognize
  1318.     bitfield assignment of single bit to zero.
  1319.  
  1320.     * combine.c (merge_outer_ops): New function.
  1321.     (simplify_shift_const): Use merge_outer_ops to generalize and
  1322.     simplify handling of outer_ops.
  1323.     Try using distributive law followed by invert distributive law
  1324.     to simplify combinations of logical operations and shifts.
  1325.  
  1326.     * emit-rtl.c (gen_highpart): Correct conditional that says when we
  1327.     can get the bits of a DFmode object; copy from gen_lowpart.
  1328.  
  1329.     * cse.c (simplify_binary_operation, case MULT): Simplify zero case.
  1330.     (simplify_binary_operation, case DIV): In 0/x, return zero in proper
  1331.     mode.
  1332.  
  1333.     * combine.c (simplify_comparison): Can only extend comparison
  1334.     to wider mode if equality comparison or test of sign bit.
  1335.  
  1336. Tue May 14 03:26:36 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1337.  
  1338.     * cplus-tree.h (lang_type): Change to use TREE_VEC to hold basetype
  1339.     info.
  1340.     (CLASSTYPE_N_BASECLASSES, CLASSTYPE_BASECLASS): Changed accordingly.
  1341.     Baseclasses are now counted [0..n) instead of [1..n].
  1342.     (CLASSTYPE_BASETYPECLASSES): Deleted.
  1343.     * cplus-*.c (various places): Change code to work with new
  1344.     representation for basetypes.
  1345.  
  1346.     * toplev.c (main): Handle `-gdwarf' as a debug option.
  1347.  
  1348.     * cse.c (insert): Treat pseudos marked RTX_UNCHANGING_P as being
  1349.     const.
  1350.  
  1351. Mon May 13 22:44:18 1991  Jim Wilson  (wilson at ok.cygnus.com)
  1352.  
  1353.     * mips.md: In the div/mod peepholes, don't apply the peephole if the
  1354.     first operation overwrites one of its two operands.
  1355.  
  1356. Mon May 13 12:14:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1357.  
  1358.     * expmed.c (store_bit_field, extract_bit_field):
  1359.     Set volatile_p while checking predicates.
  1360.     * recog.h (volatile_p): Declare it.
  1361.     * explow.c (force_not_mem): Do nothing with BLKmode.
  1362.  
  1363.     * SYSCALLS.c (u_int): Don't define on DGUX--already defined.
  1364.  
  1365.     * m68k.md (zero_extend*): Don't make the subreg in the template.
  1366.     Make it explicitly, and handle subregs as operand 0.
  1367.  
  1368.     * tm-convex.h (MODES_TIEABLE_P): Fix typos.
  1369.  
  1370.     * loop.c (check_dbra_loop): To check for a loop with a `break', use
  1371.     loop_number_exit_label, not the uid_luid of each label, since loop
  1372.     unrolling may have created new labels with no uid_luid.
  1373.  
  1374.     * expr.c (push_block): Fixed typo in last change.
  1375.  
  1376. Mon May 13 12:07:25 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1377.  
  1378.     * combine.c (subst): If we can't change comparison code, see if
  1379.     we can instead surround our operation with an XOR.
  1380.  
  1381.     * combine.c (make_compound_operation, simplify_and_const_int):
  1382.     Ensure shift counts are non-negative and in range before using them
  1383.     to perform shifts.
  1384.     (simplify_comparison): Likewise.
  1385.  
  1386.     * combine.c (try_combine): See if we have previously merged a
  1387.     compare and arithmetic operation.  If so try to take it apart to
  1388.     allow further combines (such as making a branch-and-decrement).
  1389.  
  1390.     * combine.c (try_combine): Don't make VOIDmode register if our split
  1391.     point is a constant.
  1392.  
  1393.     * combine.c (subst): Use COMBINE_RTX_EQUAL_P to see if SET_DEST
  1394.     is our register; two hard regs might have different rtx.
  1395.  
  1396.     * combine.c (subst): Generalize associative law handling to
  1397.     cases not involving constants.
  1398.  
  1399.     * combine.c (expand_compound_operation): If we would return a
  1400.     (clobber (const_int 0)), return what we were given.
  1401.  
  1402.     * combine.c (simplify_shift_const): Clean up by removing fallthrough.
  1403.  
  1404. Mon May 13 10:26:00 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  1405.  
  1406.     * i386.md (all calls to output_move_double): call return
  1407.     value to avoid spurious compiler warnings.
  1408.     Allow REG in all alternatives of operand 0 where possible.
  1409.     Remove patterns to recognize increment/decrement.
  1410.     (addsi3, addhi3, addqi3): Do this in here instead.
  1411.     (floatdidf2): New pattern.
  1412.     (adddi3, subdi3, negdi2): New patterns.
  1413.     (umulsi3, umulhi3): Remove obsolete UMULT patterns.
  1414.     (divM3, udivM3, divmodM4, udivmodM4): Use "r" constraint instead
  1415.     of "x" or "abc".
  1416.     (sqrtsf2, sqrtdf2): New patterns.
  1417.     (ashldi3, ashrdi3, lshldi3, lshrdi3): New patterns
  1418.     (All shift and rotate patterns): Don't use reg name explicitly in
  1419.     output string: use %N operand reference.
  1420.     (ashlM3, lshlM3): Use `add' instead of `shl'/`sal' if possible.
  1421.     (insv): Fix output constraint.  Clarify source.  Disable for now -
  1422.     makes worse code.
  1423.     (SImode bit test, all Scond patterns): Allow MEM operands too.
  1424.     (seq, sne): Handle CC_Z_IN_NOT_C.
  1425.     (jump, indirect_jump, tablejump): Align code on word boundary
  1426.     after unconditional jumps.
  1427.     (`loop' patterns): Delete - will never be useful on i386.
  1428.     (call_pop, call_value_pop): New patterns.
  1429.     (return): New pattern: Do `return' if simple epilogue.  But only if
  1430.     the real function epilogue isn't next.
  1431.     (movstrsi): Do word moves, not just bytes, if count is unknown.
  1432.     (ffsM2): New patterns.
  1433.  
  1434.     * out-i386.c (FP_TOP, AT_SP, RET, RETCOM, POP_ONE_FP,
  1435.     FP_CALL1, FP_CALL): Move to tm-i386.h for use by i386.md.
  1436.     (output_movf, fp_call_internal, output_fix_trunc, split_di):
  1437.     No longer static - called from i386.md.
  1438.     (via_memory): Finish return value change.
  1439.     (output_move_const_double): Delete unused function.
  1440.     (simple_386_epilogue): New predicate.
  1441.     (function_prologue): Allocate frame regardless of whether or not
  1442.     there is a frame pointer.
  1443.     Use output_asm_insn instead of fprintf to push registers.
  1444.     (function_epilogue): Likewise.
  1445.     If there is a frame pointer, don't necessarily fix %esp just to
  1446.     pop a reg - use offset from frame pointer.
  1447.     Fix -fomit-frame-pointer support.
  1448.     Fix RETURN_POPS_ARGS case where args > 32K bytes.
  1449.     (print_operand): A LABEL_REF gets an OFFSET_PREFIX too.
  1450.     (print_operand_address): %esp can only be base reg, never index.
  1451.     (split_di): New function.
  1452.  
  1453.     * tm-i386.h: Remove references to obsolete tm-compaq.h file.
  1454.     (TARGET_486): New flag.
  1455.     (TARGET_SWITCHES): New options -m486, -mno486, -m386.
  1456.     (SMALL_REGISTER_CLASSES): New macro.
  1457.     (ASM_OUTPUT_LOOP_ALIGN): New macro.
  1458.     (all reg macros, ARG_POINTER_REGNUM): Create argument pointer,
  1459.     to be eliminated in favor of %esp or %ebp.
  1460.     (HARD_REGNO_NREGS, REGNO_REG_CLASS): Use FP_REGNO_P.
  1461.     (REGISTER_MOVE_COSTS): It is expensive to move between integer and
  1462.     float registers.
  1463.     (FP_REGNO_P): Detect only the FP regs.
  1464.     (all class macros): Delete obsolete classes ABC_REGS & ABCI_REGS.
  1465.     (REG_CLASS_FROM_LETTER): Add `S' for SIREG, remove `x' for ABCI_REGS.
  1466.     (CONST_OK_FOR_LETTER_P): Add `J' for DImode shifts.
  1467.     (FIRST_PARM_OFFSET): Offset now zero.
  1468.     (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
  1469.     Use generalized scheme to eliminate frame and arg pointers.
  1470.     (INITIAL_FRAME_POINTER_OFFSET): Delete.
  1471.     (REG_OK_FOR_BASE_P): allow virtual arg pointer.
  1472.     (FP_TOP, AT_SP, RET, RETCOM, POP_ONE_FP, FP_CALL1, FP_CALL):
  1473.     Moved here from out-i386.c for use by i386.md.
  1474.  
  1475.     * tm-compaq.h: Delete obsolete file.
  1476.  
  1477. Sun May 12 18:38:41 1991  Ken Raeburn  (raeburn at watch.com)
  1478.  
  1479.     * cplus-decl.c (print_binding_level, print_binding_stack,
  1480.     print_other_binding_stack): New debugging routines; dump one or
  1481.     more binding levels to stderr.
  1482.  
  1483.     * cplus-decl.c (push_to_top_level): New routine; saves copies of
  1484.     all class and local bindings, and some other state, and clears the
  1485.     real values, to effectively move to global scope.
  1486.     (pop_from_top_level): Restore the saved state.
  1487.  
  1488.     * cplus-decl.c (adjust_type_value): No longer static.  Abort if
  1489.     current_binding_level is class binding level; need to investigate
  1490.     that situation further.
  1491.  
  1492.     * cplus-decl.c (finish_function): Check that the binding level being
  1493.     popped really is a function-parameter binding level.
  1494.  
  1495.     * cplus-tree.h (DESTRUCTOR_DECL_PREFIX): Replaces
  1496.     DESTRUCTOR_DECL_FORMAT; used as a prefix before the class name.
  1497.     * cplus-decl2.c (grokclassfn): Use it, and call build_overload_name
  1498.     rather than just copying the class name.
  1499.  
  1500.     * cplus-method.c (fndecl_as_string): Use TREE_TYPE rather than
  1501.     indirecting through type name and the identifier's associated type,
  1502.     since the latter may have changed.
  1503.     (build_nested_name): New argument, text_end; callers changed.  Call
  1504.     build_overload_identifier rather than copying class name.
  1505.     (build_overload_value): Strip non-lvalue nodes for all arguments.
  1506.     Fixed up the handling of negative DImode values.
  1507.     (build_overload_identifier): New function.  Copy class name (with
  1508.     length) if non-template, or build a name from template parameters.
  1509.     (build_overload_name): Call build_overload_identifier for class
  1510.     names.
  1511.  
  1512.     * cplus-parse.y: Added comment about use of $$ for $1.
  1513.     (template_type_name): Removed useless precedence specificiation.
  1514.     (template_arg_list): Wrap TREE_LIST nodes around all arguments in
  1515.     the list.
  1516.     (template_arg): Call groktypename on type names.  For expressions,
  1517.     specify "UNARY" precedence.
  1518.     (PRE_PARSED_CLASS_DECL handling): Put a copy of the new class decl
  1519.     into global scope, to avoid recursive expansion, since we start in a
  1520.     non-global scope set up for the parameters.
  1521.  
  1522.     * cplus-pt.c (coerce_template_parms): New function.  Converts
  1523.     template arguments to appropriate types, returns a vector containing
  1524.     results.
  1525.     (mangle_class_name_for_template): Removed nparms argument.
  1526.     Changed to deal with arglist as vector.  No longer call
  1527.     groktypename.  Some initial code added for PARM_DECL (non-type)
  1528.     parameters; work not completed.
  1529.     (lookup_template_class): Call coerce_template_parms.  Removed some
  1530.     unused code.
  1531.     (push_template_decls, pop_template_decls): Fixed to deal with
  1532.     arglist as vector.  More code for non-type parameters.
  1533.     (instantiate_template): Push to top binding level before pushing any
  1534.     declarations.
  1535.     (end_template_instantiation): Pop from top level, then push the new
  1536.     decl at top level.
  1537.  
  1538.     * cplus-tree.h (struct lang_identifier): Renamed field "template" to
  1539.     "class_template_info"; accessor macros changed.
  1540.  
  1541.     * cplus-pt.c (struct template_info): Renamed from "template".
  1542.     Removed unused fields.
  1543.  
  1544. Sun May 12 17:38:46 1991  Jim Wilson  (wilson at cygnus.com)
  1545.  
  1546.     * unroll.c (copy_loop_body): Fix typo: had `==' for `='.
  1547.  
  1548. Sun May 12 17:05:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1549.  
  1550.     * genattrtab.c (gen_attr): Clear has_asm_insn field in new object.
  1551.  
  1552. Sun May 12 04:21:52 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1553.  
  1554.     * hard-reg-set.h (HARD_CONST): New macro.  Converts integer
  1555.     constants to appropriate type for use with HARD_REG_SET.
  1556.     ({SET,CLEAR,TEST}_HARD_REG_BIT): Use this macro where appropriate.
  1557.     (GO_IF_HARD_REG_SUBSET): Ditto.
  1558.     (HARD_REG_SET): Add new case if FIRST_PSEUDO_REGISTER <=
  1559.     HOST_BITS_PER_LONGLONG.
  1560.     * global-alloc.c: Pass HARD_CONST (0) instead of 0 to functions
  1561.     which are looking for a HARD_REG_SET argument.
  1562.     * reorg.c (resource_conflicts_p): Change comparison of HARD_REG_SET
  1563.     value to compare against HARD_CONST.
  1564.  
  1565.     * all xm-*.h files: Added HOST_BITS_PER_LONGLONG where
  1566.     HOST_BITS_PER_LONG was defined.
  1567.     * tm-sparc.h (REG_CLASS_CONTENTS): Fixed in case we're using long
  1568.     long HARD_REG_SETs.
  1569.  
  1570.     * toplev.c (main): support -gdwarf switch.
  1571.  
  1572.     * longlong.h (umulsidi3): SPARC .umul routine returns the value in
  1573.     WORD_LITTLE_ENDIAN form, so swap.  Other word-endian changes for
  1574.     inline mul routines.
  1575.  
  1576.     * gnulib2.c (__divdi3): If C is nonzero, negate whole division
  1577.     instead of returning negation of quotient.
  1578.  
  1579. Sat May 11 20:06:08 1991  Torbjorn Granlund  (tege at krishna.sics.se)
  1580.  
  1581.     * expmed.c (outside of functions): New vars: lea_cost, lea_max_mul.
  1582.     (init_expmed): Initialize lea_cost and lea_max_mul. 
  1583.     (synth_mult): Use them.
  1584.  
  1585. Sat May 11 20:11:41 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1586.  
  1587.     * cplus-class.c (build_vbase_path): Rewritten and simplified.
  1588.     * cplus-cvt.c (build_up_reference): Try to get away without building
  1589.     a NOP_EXPR around the return value of `build_component_addr'.
  1590.     Ditto for return value from `convert_pointer_to'.
  1591.  
  1592.     * cplus-decl.c (void_zero_node): New node.  Used in conditional
  1593.     expressions where one arm must do nothing.
  1594.     * various places: replace calls that built this node dynamically to
  1595.     just use the global copy.
  1596.     * cplus-tree.h (void_zero_node): Declare it globally.
  1597.  
  1598.     (maybe_build_cleanup): Don't call `convert_force' on the return
  1599.     value of `build_unary_op'.  We should have license to modify its
  1600.     type without harm.
  1601.     * cplus-gc.c (protect_value_from_gc): Same idea for VAR_DECL and
  1602.     PARM_DECL nodes.
  1603.  
  1604.     * toplev.c (f_options): Add choice for -fPIC.
  1605.  
  1606.     * varasm.c (assemble_function): If it's a function name that's the
  1607.     first global name, strip of a leading '*' if there is one.
  1608.  
  1609.     * reload.c (find_reloads): Fix comment.
  1610.  
  1611.     * stmt.c (expand_return): Call `any_pending_cleanups' with argument.
  1612.  
  1613.     * expr.c (expand_expr): In TARGET_EXPR case, If TARGET is null and
  1614.     DECL already has rtl, use that as the target.
  1615.     (expand_expr): In BIND_EXPR try using expand_{start,end}_bindings to
  1616.     catch cleanups...otherwise fixup_cleanups must be modified to deal
  1617.     with cleanups not in any contours.
  1618.  
  1619. Sat May 11 15:09:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1620.  
  1621.     * out-i386.c (via_memory): Return a memref to the stack.
  1622.     (fp_call_internal): Change call to via_memory.
  1623.  
  1624.     * expr.c (push_block): New arg BELOW specifies padding direction.
  1625.     All callers changed.
  1626.     (emit_push_insn): Pass an interesting value for BELOW.
  1627.  
  1628.     * c-parse.y (typespec): Pass the TYPE_DECL for a typedef name.
  1629.     * c-decl.c (grokdeclarator): Handle TYPE_DECL in declspecs.
  1630.  
  1631. Thu May  9 15:17:44 1991  Tom Wood  (wood at dg-rtp.dg.com)
  1632.  
  1633.     * m88k.md (zero_extend pattern): Compute correct constant.
  1634.  
  1635. Thu May  9 07:44:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1636.  
  1637.     * combine.c (subst): Remove WAS_REPLACED; always check the rtl
  1638.     for specific cases of interest and don't use TO and FROM when
  1639.     looking into the rtl.
  1640.  
  1641.     * combine.c (subst, case MEM): Call make_compound_operation here
  1642.     so any ASHIFTs will be MULTs for mode_dependant_address_p calls later.
  1643.     (subst, case PLUS): Remove cases already done elsewhere.
  1644.  
  1645.     * expmed.c (emit_store_flag): Don't let the delete_insns_since call
  1646.     we do kill insns to do an auto-inc.
  1647.  
  1648.     * flow.c (propagate_block): Don't treat global regs as clobbered
  1649.     over a CALL_INSN even if call-clobbered. 
  1650.  
  1651.     * stmt.c (expand_end_stmt_expr): Correctly handle the case where an
  1652.     expression statement  is just an auto-inc of a var.
  1653.  
  1654.     * sparc.md (fix_trunc[sd]fsi2): Finish change to use MATCH_SCRATCH
  1655.     by eliminating DEFINE_EXPAND and making DEFINE_INSN a named pattern.
  1656.  
  1657. Wed May  8 13:31:23 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1658.  
  1659.     * cccp.c (rescan): Handle symbols before // as before /*.
  1660.  
  1661.     * Makefile.in (objc-parse.o): Specify the command.
  1662.  
  1663.     * c-parse.y (typespec): Fix previous change.
  1664.  
  1665.     * reload1.c (choose_reload_regs): Use spillregs in round robin.
  1666.  
  1667. Wed May  8 11:00:29 1991  Michael Tiemann  (tiemann at cygnus.com)
  1668.  
  1669.     * cplus-lex.c (tree_node_kinds): Renamed to `tree_node_counts'.
  1670.  
  1671. Wed May  8 05:50:29 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1672.  
  1673.     * integrate.c (copy_rtx_and_substitute): Don't round frame size.
  1674.  
  1675.     * loop.c: Must include insn-flags.h to get
  1676.     HAVE_decrement_and_branch_until_zero.
  1677.     * Makefile.in (loop.o): Likewise.
  1678.  
  1679.     * expmed.c (expand_divmod): Use LOG instead of INTVAL (OP1)
  1680.     once we start generating rtl.
  1681.  
  1682. Wed May  8 05:38:06 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1683.  
  1684.     * cplus-decl.c (duplicate_decls): Don't crash on duplicate
  1685.     TEMPLATE_DECLs.
  1686.     (globalize_nested_type): Handle globalizing types when
  1687.     CLASS_BINDING_LEVEL goes out of effect.
  1688.     (init_decl_processing): Comment out decls for ABS, FABS and LABS.
  1689.     They conflict with libg++ inlines.
  1690.  
  1691.     * cplus-decl2.c (build_push_scope): Fix bug in last change.
  1692.     (finish_file): Make the dummy decl that we tack on to the global
  1693.     scope a TYPE_DECL instead of a VAR_DECL.  Fake global VAR_DECLs are
  1694.     problematic on some machines (i.e. MIPS).
  1695.  
  1696.     * cplus-init.c (init_vfields): Use TREE_TYPE (VFIELDS) to find the
  1697.     type for which the VFIELD was last distinguished.  This picks up
  1698.     cases where single inheritance overrides base class vtables and the
  1699.     base class does not get a new vtable for the override.
  1700.  
  1701.     * cplus-parse.y (named_class_head_sans_basetype): Handle a
  1702.     `template_type_name' by itself.  This happens with e.g.
  1703.     friend class Stack<T>.
  1704.  
  1705.     * cplus-pt.c (mangle_class_name_for_template): Put ',' between
  1706.     parameters.
  1707.     (push_template_decls): Don't crash if ARGLIST is ERROR_MARK_NODE.
  1708.  
  1709.     * cplus-class.c (finish_base_struct): Compute MAX_HAS_VIRTUAL by
  1710.     looking at all the base classes relevant to VFIELDS.
  1711.     (build_vbase_path): Initialize NONNULL to zero.
  1712.  
  1713. Tue May  7 23:47:42 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1714.  
  1715.     * stmt.c (any_pending_cleanups): Don't fail if block_stack is empty.
  1716.  
  1717. Tue May  7 22:46:16 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1718.  
  1719.     * cse.c (simplify_binary_operation; case EQ, NE): Don't assume
  1720.     the address of a symbol is non-zero.
  1721.  
  1722.     * sched.c (schedule_insns): Ensure we free memory used by
  1723.     schedule_block when using the C alloca.
  1724.  
  1725. Tue May  7 14:13:57 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1726.  
  1727.     * reload1.c (mark_reload_reg_in_use): New arg MODE.  Mark all the regs.
  1728.     (choose_reload_regs): Pass that arg; don't loop here.
  1729.  
  1730.     * c-parse.y (typespec): Convert a TYPENAME to its meaning.
  1731.  
  1732.     * fold-const.c (fold): Don't assume symbolic constant is nonzero.
  1733.  
  1734.     * c-typeck.c (c_expand_asm_operands): Convert arrays, fcns to pointers.
  1735.  
  1736. Mon May  6 23:29:21 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1737.  
  1738.     * cse.c (cse_insn): Only make a REG_WAS_0 note if the previous
  1739.     set was to the same register, not just the same quantity;
  1740.     if previous REG_WAS_0 note, update back pointer.
  1741.     If setting a register to a constant, update QTY_CONST and
  1742.     QTY_CONST_INSN so it points to the last set.
  1743.     In special case for (set REG0 REG1), ensure any REG_WAS_0 notes are
  1744.     updated correctly.
  1745.  
  1746.     * genrecog.c (make_insn_sequence): Don't clobber `i' when it is
  1747.     still needed.
  1748.  
  1749.     * out-vax.c (print_operand_address): Fix bug in last change in handling
  1750.     (plus (reg) (reg)).
  1751.  
  1752. Mon May  6 16:41:50 1991  Torbjorn Granlund  (tege at zevs.sics.se)
  1753.  
  1754.     * expmed.c (synth_mult): Make it handle t == 0. Improve comments.
  1755.     Use (max_cost <= add_cost) instead of (max_cost < add_cost) to
  1756.     determine if we should fail early (to better prune the search).  
  1757.     Remove loop with n from factor synthesis.  Remove -2 bias from m
  1758.     loop (for clearity).  Add code to use load-effective-address
  1759.     instructions.  Use bit-fiddling instead of loop to determine q in
  1760.     the last synthesis case.
  1761.  
  1762. Mon May  6 11:21:45 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1763.  
  1764.     * c-typeck.c (convert_for_assignment): Reword an error message.
  1765.  
  1766.     * c-typeck.c (build_conditional_expr): Typo in last change.
  1767.  
  1768.     * Makefile.in (enquire, enquire.o): Depend on gnulib.
  1769.  
  1770. Sun May 5 17:28:22 1991    (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
  1771.  
  1772.     * make-cc1.com: Update for GCC 2.0; build insn-attr.h, insn-attrtab.c.
  1773.     Compile and add obj to linker list: c-aux-info.c, c-common.c, c-lang.c,
  1774.     aux-output.c, calls.c, dwarfout.c, function.c, reorg.c, sched.c,
  1775.     sdbout.c, unroll.c, insn-attrtab.c.  Remove references to symout.c.
  1776.  
  1777. Sun May  5 15:32:01 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1778.  
  1779.     * Makefile.in (rest.encap): Make gnulib before float.h.
  1780.  
  1781.     * c-typeck.c (build_conditional_expr):
  1782.     Don't assume symbolic constant is nonzero.
  1783.  
  1784.     * reload1.c (choose_reload_regs): Ignore avoid_return_reg.
  1785.     (reload_as_needed, reload): Don't bother setting avoid_return_reg.
  1786.  
  1787. Sun May  5 14:30:14 1991  Michael Tiemann  (tiemann at cygint.cygnus.com)
  1788.  
  1789.     * cplus-class.c (prev_class_type): Declare this to be static.
  1790.     (build_vbase_path): Test NONNULL to decide whether a COND_EXPR is
  1791.     actually needed.
  1792.     (finish_struct): Another sort of hard virtual function to deal with
  1793.     is one which comes from the non-leftmost baseclass, and who's index
  1794.     is different between that class and the main derived class.  Use new
  1795.     variable DOING_HARD_VIRTUALS to control when we punt and when we
  1796.     plow through.
  1797.     (modify_vtable_entry): If we find at this point that we have a hard
  1798.     virtual function, just put it on the list PENDING_HARD_VIRTUALS if
  1799.     DOING_HARD_VIRTUALS is nonzero.
  1800.     (fixed_type_p): Handle SAVE_EXPR, RTL_EXPR, PLUS_EXPR, MINUS_EXPR,
  1801.     NOP_EXPR and CONVERT_EXPR.
  1802.     (pushclass): Fixed comment.  Also change test for whether this is
  1803.     the top-level class scope from an obscure one to an obvious one, and
  1804.     add comment.
  1805.     (pushclass,popclass): Now always allocate a binding level.  Later
  1806.     we'll have to rewrite this to actually use it.
  1807.  
  1808.     * cplus-gc.c (type_needs_gc_entry): Don't need a GC entry for
  1809.     ERROR_MARK_NODE.
  1810.  
  1811.     * cplus-init.c (build_new): Set TREE_CALLS_NEW on RTL_EXPR.  This
  1812.     gives us a case that `fixed_type_p' can grok.
  1813.  
  1814.     * cplus-lex.c (identifier_type): Make this __inline if compiling
  1815.     with GNU C.
  1816.     (tree_node_kinds): Renamed to `tree_node_counts'.
  1817.  
  1818.     * cplus-parse.y (various places): Take advantage of default rule
  1819.     `$$ = $1', and where possible, use $$ instead of $1.
  1820.     Also, back out change for setting `looking_for_typename' to 1 at top
  1821.     level.
  1822.  
  1823.     * cplus-decl2.c (build_push_scope): If the user gives X::foo in X's
  1824.     scope, don't return a SCOPE_REF.  Just return `foo' instead.
  1825.  
  1826.     * cplus-decl.c (init_decl_processing): Don't define `alloca' as a
  1827.     built-in function until libg++ header files agree with its built-in
  1828.     type.
  1829.     (finish_decl): Don't crash if TYPE is error_mark_node.
  1830.  
  1831.     * fold-const.c (split_tree): When splitting the tree, don't call
  1832.     convert if the TYPE_MODEs are the smae.  This screws up C++ where
  1833.     conversion of one pointer type to another can cause the pointer's
  1834.     value to change.
  1835.  
  1836.     * tree.c (get_identifier): Speed up `get_identifier' by about a
  1837.     factor of 2.  This becomes noticable with the long names used for
  1838.     C++ overloading.
  1839.     (tree_cons): Make this most frequent user of `make_node' perform its
  1840.     actions inline.
  1841.  
  1842.     * calls.c (expand_call): Eliminate many (most) calls to strcmp by
  1843.     being smarter about when to call it.  Also, don't call `push_block'
  1844.     in the trivial case when it's not needed.
  1845.  
  1846. Sun May  5 08:51:14 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1847.  
  1848.     * expr.c (convert_to_mode): Fix (for the second time) test for when
  1849.     gen_lowpart should be called.
  1850.  
  1851.     * cse.c (find_best_addr): Try to fold address.
  1852.     (fold_rtx): Do associativity and (not (not ...)) checks here.
  1853.     (cse_insn): Not here.
  1854.  
  1855.     * combine.c (recog_for_combine): New parameter, PNOTES.
  1856.     When we add a CLOBBER, put a REG_UNUSED note for it in *PNOTES.
  1857.     (try_combine): Call recog_for_combine with new parameter.
  1858.     Delete any now-invalid REG_UNUSED notes in OTHER_INSN and add any
  1859.     required new ones.
  1860.     Add REG_NOTES to I3 and I2 due to added CLOBBERs.
  1861.     (remove_death): Call new function, remove_note.
  1862.     (move_deaths): Don't get confused by a CLOBBER.
  1863.     (distribute_notes): Don't make duplicate REG_UNUSED notes.
  1864.     Don't put a REG_DEAD note on an insn when the register is
  1865.     partially modified, but remains valid.
  1866.  
  1867.     * rtlanal.c (remove_note): New function.
  1868.  
  1869.     * combine.c (try_combine): When making a PARALLEL that does a compare
  1870.     and arithmetic, don't simplify the COMPARE.
  1871.  
  1872.     * combine.c (try_combine): Validate that I1DEST isn't being
  1873.     modified invalidly.
  1874.  
  1875.     * combine.c (simplify_comparison): In ZERO_EXTRACT case, add missing
  1876.     test for equality comparison against zero; also invert comparison
  1877.     condition.
  1878.     If we can't do a comparison in a narrower mode, but we know that
  1879.     some wider bits are zero, see if we can do it in a wider more.
  1880.  
  1881.     * cse.c (simplify_binary_operation): Remove obsolete code to convert
  1882.     negative shift counts to the opposite shift.
  1883.     Don't fold invalid shifts since they may trap (e.g., on Vax).
  1884.  
  1885.     * reload1.c (emit_reload_insns): Use rtx_equal_p to see if a result
  1886.     is already in the desired register.
  1887.  
  1888.     * combine.c (find_split_point): Add two more ways to split an insn.
  1889.  
  1890.     * combine.c (gen_binary): Put a complex operand first in addition to
  1891.     putting constants second, just like subst would do.
  1892.  
  1893.     * combine.c (significant_bits): Correct computation of significant bits
  1894.     for division operations.
  1895.  
  1896.     * combine.c (apply_distributive_law): Reject complex SUBREGs.
  1897.     SUBREG distributes over logical and addition operations.
  1898.  
  1899.     * combine.c (subst; case AND, IOR, XOR): Add some boolean
  1900.     arithmetic simplifications.
  1901.  
  1902.     * expr.c (do_jump): ADDRESS_EXPR is not always zero, unfortunately.
  1903.  
  1904.     * expr.c (do_store_flag): In case where we are testing a single bit,
  1905.     don't convert to output mode until after we do the shift.
  1906.     
  1907.     * optabs.c (expand_binop, expand_unop, expand_fix): Compare
  1908.     enum insn_code objects against CODE_FOR_nothing instead of 0.
  1909.  
  1910.     * romp.md (bit_insv): Use CC0 in standard way; i.e., in NE.
  1911.  
  1912. Sat May 4 20:41:12 1991    (Eric Youngdale at youngdale@v6550c.nrl.navy.mil)
  1913.  
  1914.     * c-aux-info.c (gen_aux_info_record): Use getcwd on VMS a la USG.
  1915.     * dbxout.c: Same here.
  1916.     * xm-vms.h: Define unlink as remove
  1917.     (GCC_INCLUDE_DIR): Provide a dummy definition.
  1918.  
  1919. Sat May  4 16:46:48 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1920.  
  1921.     * combine.c (can_combine_p, try_combine): Use SMALL_REGISTER_CLASSES
  1922.     to indicate when it is valid to do combines involving hard registers.
  1923.     * cse.c (canon_hash): #ifdef SMALL_REGISTER_CLASSES, don't record
  1924.     hard registers unless they are fp, ap, sp or are fixed.
  1925.     * loop.c (valid_initial_value_p): #ifdef SMALL_REGISTER_CLASSES, 
  1926.     hard register aren't valid initial values.
  1927.     * reload1.c (reload): Initialize FORBIDDEN_REGS depending on
  1928.     whether we have small register classes or not.
  1929.  
  1930.     * ns32k.md: Replace const_int with const_int_operand.
  1931.     Remove HImode extractions.
  1932.     Remove patterns assigning an AND to CC0.
  1933.     (andcbxx3): Remove name and eliminate case with NOT as second operand.
  1934.     (sbitx, cbitx): Remove patterns involving IOR and ASHIFT; add patterns
  1935.     with ZERO_EXTRACT as destination.
  1936.     (ibitx): Put ASHIFT as first operand in XOR.
  1937.     (bitfield compare): Remove comparison of 1 bit field with 1; combine
  1938.     converts this to comparison with zero.
  1939.     (and-compare-branch): Fold PLUS or MINUS into constant, like combine
  1940.     will do.
  1941.     Remove patterns for reversed cases.
  1942.     * out-ns32k.c (const_int): Deleted.
  1943.     
  1944.     * rtlanal.c (reg_used_between_p, reg_set_between_p): Use GET_RTX_CLASS.
  1945.     (reg_set_p_1): If we are setting a MEM, don't think we are setting
  1946.     registers used in its address.
  1947.  
  1948.     * m68k.md (cmpsf, cmpdf, tstsf, tstdf for FPA): Use MATCH_SCRATCH.
  1949.     * sparc.md (memory store patterns): Likewise.
  1950.  
  1951.     * function.c (assign_parms): Function is varargs function if the
  1952.     last parameter is `__builtin_va_alist_' instead of checking the first
  1953.     parameter.  Normally, this is the same, but some functions in MACH
  1954.     have named parameters before va_alist.
  1955.  
  1956.     * combine.c (simplify_comparison): Remove abort on paradoxical SUBREGs
  1957.     now that we know they can occur.
  1958.  
  1959.     * reload.c (decompose): Handle SCRATCH; it can't conflict with
  1960.     anything.
  1961.     (find_reloads): All operands can set earlyclobber, not just REG & MEM.
  1962.     Add support for "X" constraint.
  1963.     SCRATCH does not match "g" constraint.
  1964.  
  1965. Sat May  4 14:03:16 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1966.  
  1967.     * enquire.c (EPROP): Avoid a <= out if bad is set.
  1968.  
  1969.     * SYSCALLS.c: Test bsd4_2 along with BSD.
  1970.  
  1971. Fri May  3 14:26:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  1972.  
  1973.     * c-decl.c (pushdecl): Stop looping on type if find error mark.
  1974.  
  1975.     * loop.c (invariant_p): An address with a PLUS is not the same as
  1976.     MEM_IN_STRUCT_P being set.
  1977.  
  1978.     * tree.h (TREE_NO_UNUSED_WARNING): New macro.
  1979.     * stmt.c (warn_if_unused_value): That flag suppresses warnings.
  1980.     * c-typeck.c (build_unary_op): Set flag when converting postinc.
  1981.  
  1982. Fri May  3 08:09:47 1991  Tom Wood  (wood at dg-rtp.dg.com)
  1983.  
  1984.     * tm-m88k.h (GO_IF_LEGITIMATE_ADDRESS): Remove workarounds for
  1985.     register elimination problems.
  1986.  
  1987. Fri May  3 07:14:22 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  1988.  
  1989.     * a29k.md: Fix typo in dmac pattern.
  1990.     Make many define_splits that convert DFmode and DImode to one word
  1991.     at a time to operate only after reload completes to improve reg alloc.
  1992.     (movdf): Correct typo in mfacc.
  1993.     (rotlsi3): Count is QImode, not SImode.
  1994.  
  1995.     * tm-a29kunix.h (BIGGEST_ALIGNMENT): Change to 64.
  1996.     
  1997.     * tm-romp.h (OPTIMIZATION_OPTIONS): Enable insn scheduling.
  1998.     (register definitions): No longer need dummy register and class;
  1999.     register numbers for FP register change.
  2000.     * romp.md: Use MATCH_SCRATCH instead of allocating pseudos
  2001.     to the dummy register class or base register depending on alternative.
  2002.     (FP insns): Add missing "=" to constraints in CLOBBERs.
  2003.     (extendqisi2, extendqihi2): Now DEFINE_EXPAND.
  2004.     (mc03 peephole): Can do if right shift >= 24 bits.
  2005.     * out-romp.c (reg_15_operand): Remove special case for FP delay slot.
  2006.     (romp_sa_size, output_fpop, output_loadsave_fpops, output_fpops):
  2007.     Change floating-point register numbers.
  2008.  
  2009.     * combine.c (simplify_shift_const, case for shifts): Verify that 
  2010.     the host word size is wide enough.
  2011.     Properly handle (ashift (subreg (ashiftrt ...) ...) ...).
  2012.  
  2013.     * out-vax.c (print_operand_address, case PLUS): Handle all addresses
  2014.     accepted by GO_IF_LEGITIMATE_ADDRESS.
  2015.  
  2016.     * explow.c (plus_constant): force_const_mem does not necessarily
  2017.     return a valid address.
  2018.     * integrate.c (copy_rtx_and_substitute): Likewise.
  2019.  
  2020.     * Makefile.in (local-alloc.o): Includes output.h.
  2021.     * rtl.def (SCRATCH, MATCH_SCRATCH): New RTL codes.
  2022.     * regs.h (max_scratch): Add definition.
  2023.     * genconfig.c (walk_insn_part): Handle MATCH_SCRATCH.
  2024.     * genextract.c (walk_rtx): Likewise.
  2025.     * genemit.c (max_operand_1): Likewise.
  2026.     (gen_exp): Emit a SCRATCH for for MATCH_SCRATCH.
  2027.     (gen_insn): We can create (clobber (scratch)).
  2028.     * genoutput.c (scan_operands): Handle MATCH_SCRATCH;
  2029.     use switch instead of if's.
  2030.     * genrecog.c (make_insn_sequence): We can created (clobber (scratch)).
  2031.     (add_to_sequence): Handle MATCH_SCRATCH.
  2032.     * flow.c (life_analysis): Initialize max_scratch.
  2033.     (propagate_block): Update max_scratch with count from this block.
  2034.     (mark_set_1): Make REG_UNUSED note for SCRATCH and count it.
  2035.     * local-alloc.c: Include output.h.
  2036.     (qty_scratch_rtx): New variable.
  2037.     (alloc_qty): Rename INSN_NUMBER to BIRTH since that's what it is.
  2038.     (alloc_qty_for_scratch): New function.
  2039.     (local_alloc): Account for quantities needed for SCRATCH.
  2040.     Allocate and initialize qty_scratch_rtx.
  2041.     (block_alloc): Allocate quantities for SCRATCH operands.
  2042.     (requires_inout_p): Add "X" constraint.
  2043.     * recog.c (scratch_operand): New function.
  2044.     (constrain_operands): SCRATCH matches a register constraint unless
  2045.     strict.
  2046.     Add "X" constraint.
  2047.     * regclass.c (reg_class_record): Add "X" constraint.
  2048.     * reload1.c (emit_reload_insns): Add SCRATCH to test for operand that
  2049.     dies right away; update REG_UNUSED note for SCRATCH.
  2050.     Never need reload insn for SCRATCH, even if no REG_UNUSED note.
  2051.     * rtlanal.c (reg_mentioned_p, reg_overlap_mentioned_p, rtx_equal_p):
  2052.     Support SCRATCH.
  2053.     (volatile_refs_p, side_effects_p, may_trap_p): Likewise.
  2054.     (inequality_comparisons_p, replace_regs): Likewise.
  2055.  
  2056.     * flow.c (mark_set_1): Don't do anything special with partial
  2057.     assignments; this is already handled by mark_used_regs and we now
  2058.     want to make LOG_LINKS for these.
  2059.  
  2060.     * combine.c: Includes expr.h.
  2061.     (expand_field_assignment, make_extraction): New functions.
  2062.     (get_pos_from_mask, make_field_assignment): Likewise.
  2063.     (can_combine_p): Remove special case for SUBREG in SET_DEST; call
  2064.     expand_field_assignment instead.
  2065.     (try_combine): Remove code to handle STRICT_LOW_PART here.
  2066.     Call expand_field_assignment on SETs in I3.
  2067.     (find_split_point): Split up simple cases of bitfield assignments.
  2068.     (subst, case ZERO_EXTRACT): Remove processing of ZERO_EXTRACT in a
  2069.     SET_DEST from here.
  2070.     (subst, case SET): Try to convert this into a field assignment by
  2071.     calling make_field_assignment.
  2072.     No need to call make_compound_operation for COMPAREs;
  2073.     make_compound_operation now returns an rtx and is no longer passed
  2074.     a pointer.
  2075.     Remove tests for ZERO_EXTRACT in SET_DEST.
  2076.     (make_compound_operation): Now returns rtx and is passed rtx, instead
  2077.     of rtx *.
  2078.     Call make_extraction.
  2079.     (simplify_comparison): Call make_compound_operation here and remove any
  2080.     outermost SUBREGs that aren't doing anything.
  2081.  
  2082.     * Makefile.in (combine.o): Includes expr.h.
  2083.  
  2084.     * expr.c (convert_to_mode): Correct which cases can use gen_lowpart.
  2085.  
  2086.     * final.c (final_scan_insn): Don't set INSN_DELETED_P after writing
  2087.     insn.
  2088.  
  2089.     * genoutput.c (main): Don't include aux-output.c in insn-output.c.
  2090.     Include stdio.h before output.h.
  2091.     (output_epilogue): Write definitions for all the predicates
  2092.     placed in `insn_operand_predicate'.
  2093.     * output.h: No longer need to define operand-predicate functions.
  2094.     * configure: (m88k/dg): Only difference between xm-m88k{,dgux}.h was
  2095.     definition of SEPARATE_AUX_OUTPUT, so we don't need xm-m88kdgux.h.
  2096.     * xm-m88kdgux.h: Deleted.
  2097.     Fix typo setting `target' in Makefile.
  2098.     * Makefile.in (AUX_OUTPUT2): Deleted.
  2099.     (OBJS): Remove AUX_OUTPUT2 and add aux-output.o.
  2100.     (aux-output2.o): Now aux-output.o.
  2101.     (insn-output.o): No longer depends on aux-output.c.
  2102.     * make-m88kdgux (AUX_OUTPUT2): No longer define.
  2103.     * tm-m68k.h, tm-romp.h, tm-sparc.h: Define functions in out-*.c and
  2104.     used by insn-output.c.
  2105.     * tm-m88k.h: Remove conditionalization for SEPARATE_AUX_OUTPUT; now
  2106.     always done.
  2107.     No longer define predicate functions; done by genoutput.c.
  2108.     * tm-mips.h: No longer define SEPARATE_AUX_OUTPUT.
  2109.     * out-*.c: Add includes previously present in insn-output.c.
  2110.     * out-sparc.c (output_fp_move_double): No longer static.
  2111.     (output_sized_memop): No longer need to define asm_out_file here.
  2112.     (output_function_epilogue): Correct type; function is void, not char *.
  2113.  
  2114. Fri May  3 01:05:44 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  2115.  
  2116.     * sdbout.c (sdbout_one_type): TYPE_FIELDs may contain other kinds of
  2117.     _DECL nodes than just FIELD_DECL nodes (in GNU C++, at least).
  2118.     Don't look through such nodes until further mods are made to handle
  2119.     them better.
  2120.  
  2121. Thu May  2 14:43:48 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2122.  
  2123.     * c-decl.c (finish_enum): Don't store enum type as type of value.
  2124.  
  2125.     * c-parse.y (YYPRINT, yyprint): New macro and new function.
  2126.  
  2127.     * expmed.c (expand_and): Handle both args constant.
  2128.  
  2129.     * expr.c (store_field): Avoid refetching from bitfield if possible.
  2130.  
  2131.     * math-68881.h (pow): Negate x if negative when taking log.
  2132.  
  2133.     * expr.c (emit_move_insn): Fixed typo in `y1 = change_address' call.
  2134.     Reenable the code to move objects word at a time.
  2135.  
  2136. Thu May  2 12:29:16 1991  Eric Youngdale  (youngdale at v6550c.nrl.navy.mil)
  2137.  
  2138.     * cccp.c (hack_vms_include_specification): Modified conversion of
  2139.     unix filenames to VMS filenames, if no VMS device or directory is
  2140.     present, and a unix style directory name is present, then use the
  2141.     first unix directory name as the VMS device spec. This is only
  2142.     used in '#include <...>' type includes, when the include file has
  2143.     not been found in the standard locations.
  2144.  
  2145. Thu May  2 10:06:47 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  2146.  
  2147.     * cplus-decl.c (init_decl_processing): Call init_gc_processing if
  2148.     -fgc is requested.
  2149.     * cplus-init.c (build_new): Argument to build_compound_expr must be
  2150.     a TREE_LIST all the way.  The last elt of the chain cannot be an
  2151.     _EXPR.
  2152.  
  2153. Thu May  2 07:33:50 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2154.  
  2155.     * expr.c (expand_expr, case CONVERT_EXPR): Pass bitsize to store_field
  2156.     instead of size in bytes.
  2157.  
  2158. Wed May  1 13:33:58 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  2159.  
  2160.     * version.c: Bumped version number to 1.93.
  2161.  
  2162. Wed May  1 12:26:36 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2163.  
  2164.     * gcc.c (link_command_spec): Pass plain -m to ld.
  2165.  
  2166.     * c-decl.c (finish_enum): Clean up re-laying out of type.
  2167.  
  2168. Wed May  1 08:04:44 1991  Michael Tiemann  (tiemann at cygnus.com)
  2169.  
  2170.     * Makefile.in: Handle new cplus-*.c files.
  2171.  
  2172.     * cplus-typeck.c (common_base_type): Make this function recursive.
  2173.     (build_component_ref): Test whether or not a FIELD_DECL, not whether
  2174.     or not a VAR_DECL||CONST_DECL||TYPE_DECL.
  2175.  
  2176.     * cplus-parse.y: Fixed grammar so that template type decls could be
  2177.     used.  Previously, support existed for template decls following
  2178.     types, but not as types.
  2179.     * cplus-pt.c ({push,pop}_template_decls): New functions.
  2180.     (instantiate_template): Call `push_template_decls'.
  2181.     (end_template_instantiation): Let `poplevel' restore old bindings.
  2182.     No need to clear out extra stuff.
  2183.     (pushclass, popclass): Call `{push,pop}_template_decls' if the class
  2184.     we are pushing or popping has template arguments.  These arguments
  2185.     go at class level.
  2186.  
  2187.     * cplus-method.c (build_opfncall): Test TRY_SECOND before testing
  2188.     possibly uninitialized XARG2.
  2189.  
  2190.     * cplus-lex.c (init_lex): Initialize NODE_TABLE, OPNAME_TAB and
  2191.     ASSIGNOP_TAB to hold zero.  Since these come from malloc'd memory,
  2192.     we cannot trust them to be initialized on startup.
  2193.  
  2194.     * cplus-init.c (expand_aggr_init_1): When initializing through a
  2195.     TARGET_EXPR for objects of the same type (e.g., X a = X (10);)
  2196.     use EXP's DECL_RTL as the DECL_RTL of the TARGET_EXPR.
  2197.  
  2198.     * cplus-decl2.c (finish_file): Handle new flag `-fgnu-binutils'.
  2199.     When zero, don't use GNU extensions to a.out format.  ???Should be
  2200.     merged into varasm.c.
  2201.  
  2202.     * cplus-class.c: Added support for `dossiers'.  This support is
  2203.     implemented by extending the virtual function table and by giving
  2204.     all C++ objects a virtual function table to hold it's dossier.
  2205.     * cplus-decl.c (record_builtin_type): New function to construct
  2206.     dossier information for built-in types.
  2207.     (output_builtin_tdesc_entries): To keep repeated information under
  2208.     control, we only output this information for the file that contains
  2209.     `main'.
  2210.     (init_decl_processing): Many dossier-related changes.    
  2211.     (init_lex): Recognize new reserved words `headof' and `classof' if
  2212.     -fgc.
  2213.     * cplus-parse.y: Grammar now recognizes `headof' and `classof'
  2214.     expressions.
  2215.     * cplus-method.c: Added dossier constructors here.
  2216.     * cplus-tree.h (CLASSTYPE_DOSSIER): New macro: `dossier' is a new
  2217.     field in lang_type.
  2218.     * cplus-typeck.c (convert_for_assignment): Handle
  2219.     `class_star_type_node'.
  2220.  
  2221.     * cplus-class.c: New variable current_class_depth.  Used to tell
  2222.     what class nesting level the compiler is at.
  2223.     * cplus-decl.c (grokdeclarator): Now supports references to decls
  2224.     that come from nested types.  For example, int foo::bar (foo_tag);
  2225.     where `foo_tag' is a tag that comes from foo.  Previously this was
  2226.     supported only as int foo::bar (foo::foo_tag);
  2227.     * cplus-decl2.c (build_push_scope): build a SCOPE_REF node while
  2228.     pushing into the context for the scope.  When `grokdeclarator' sees
  2229.     one of these nodes (distinuished by its TREE_COMPLEXITY being set to
  2230.     the current_class_depth), it processes the decl and pops the scope.
  2231.  
  2232.     * cplus-class.c (build_vbase_path): Trust objects that are
  2233.     `fixed_type_p'.  Also, don't assume an object is non-null unless
  2234.     flag says this is explicitly so.  InterViews creates and may
  2235.     manipulate (via delete) lots of null objects.
  2236.     (build_vfn_reference): Use IS_AGGR_TYPE test on type, not in
  2237.     INSTANCE.
  2238.     (resolves_to_fixed_type_p): New argument NONNULL is used in case we
  2239.     know and object to be non-zero.  All callers changed.
  2240.  
  2241.     * cplus-call.c: New file, from file cplus-class.c.  Contains code to
  2242.     generate method calls.
  2243.      * cplus-class.h: New file, contains common declarations for
  2244.     cplus-class.c and cplus-call.c.
  2245.  
  2246.     * cplus-class.c (finish_struct_bits): Don't leave last_conversions
  2247.     uninitialized.
  2248.  
  2249. Tue Apr 30 17:14:00 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2250.  
  2251.     * expr.c (expand_expr):
  2252.     Preserve volatility when changing ARRAY_REF to use a pointer.
  2253.  
  2254.     * vax.md (indirect_jump): Use parens around register, not @.
  2255.  
  2256.     * fixincludes (machine/cpu.h): Delete superfluous `static'.
  2257.  
  2258.     * tm-decstatn.h (CPP_PREDEFINES): Define __mips and __LANGUAGE_C.
  2259.  
  2260.     * explow.c (allocate_dynamic_stack_space): Compensate if
  2261.     STACK_POINTER_OFFSET throws off the alignment.
  2262.  
  2263.     * loop.c (strength_reduce): Typos setting not_every_iteration.
  2264.  
  2265. Tue Apr 30 16:10:32 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2266.  
  2267.     * vax.md (bicb): Fix typo that caused operand not to be negated.
  2268.     (jlbs/jlbc): Operand[0] cannot be a constant.
  2269.  
  2270.     * rtl.h: Put NOTE_INSN_... codes in order.
  2271.     (find_regno_note): Add missing definition.
  2272.  
  2273.     * reload.c (find_reloads_address): Handle an indexed stack slot that
  2274.     is made out of range by frame pointer elimination.
  2275.  
  2276. Tue Apr 30 14:09:28 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2277.  
  2278.     * toplev.c (compile_file): Output gcc2_compiled, not gcc_compiled.
  2279.     * tm-tower-as.h (ASM_IDENTIFY_GCC): Likewise.
  2280.  
  2281. Tue Apr 30 13:56:40 1991  Tom Wood  (wood at dg-rtp.dg.com)
  2282.  
  2283.     * varasm.c (output_addressed_constants): Return and indication of
  2284.     whether the variable requires link-time relocations.
  2285.     (assemble_variable, get_or_assign_label): Use this value when
  2286.     choosing the section.  Use the data section for variables and
  2287.     constants that are otherwise read-only when -fpic is given and
  2288.     when link-time relocations are required.
  2289.     * tm-*.h (SELECT_SECTION): Accept a new second parameter RELOC.
  2290.  
  2291. Tue Apr 30 10:24:36 1991  Tom Wood  (wood at dg-rtp.dg.com)
  2292.  
  2293.     * rtl.h (NOTE_INSN_LOOP_VTOP), rtl.c (note_insn_name): Add a new
  2294.     note indicating the virtual top of a loop.
  2295.     * jump.c (duplicate_loop_exit_test): Mark the duplicated exit code
  2296.     in the loop as the virtual top of the converted loop.
  2297.     (squeeze_notes): Move loop-vtop notes as well.
  2298.     * loop.c (scan_loop): When a loop-vtop note is encountered, reset
  2299.     `maybe_never' and `call_passed'.
  2300.     (strength_reduce): Similarly, reset `not_every_iteration'.
  2301.  
  2302. Tue Apr 30 08:15:50 1991  Michael Meissner  (meissner at osf.org)
  2303.  
  2304.     * expr.c (do_store_flag): Move the join label after setting the
  2305.     target value to 0, rather than before, which generates code that
  2306.     always stores 0 into the target if the machine does not have a
  2307.     builtin scc operation.
  2308.  
  2309. Tue Apr 30 06:26:36 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2310.  
  2311.     * reload1.c (reload): When making reg_equiv_mem and reg_equiv_address
  2312.     from reg_equiv_memory_loc, clear the one we aren't setting; it might
  2313.     have been previously set.
  2314.  
  2315.     * final.c (final_scan_insn): Correctly handle when the first insn in a
  2316.     SEQUENCE is a JUMP_INSN that forces restoration of a comparison
  2317.     previously thought unnecessary.
  2318.  
  2319.     * fold-const.c (fold, case PLUS_EXPR): If we have 2 * real_cst, 
  2320.     fold into a new constant instead of making real_cst + real_cst.
  2321.  
  2322. Mon Apr 29 23:09:17 1991  Ken Raeburn  (raeburn at watch.com)
  2323.  
  2324.     * cplus-decl.c (output_builtin_tdesc_entries): Corrected
  2325.     declaration of permanent_obstack.
  2326.     (init_decl_processing): Record declaration of int with name "int"
  2327.     rather than null.
  2328.     (finish_decl): Fix typo in comment.
  2329.  
  2330.     * cplus-class.c (finish_struct): Made error message for union
  2331.     member requiring constructor/destructor a little tidier.
  2332.     (resolve_scope_to_name): Look at fields of current type as well as
  2333.     tags, in case of local typedefs.
  2334.     (build_method_call): Permit explicit call of destructor in class
  2335.     that doesn't have one.  (That's what the ARM says....)
  2336.  
  2337.     * cplus-decl.c (set_nested_typename): New function, extracted from
  2338.     within pushtag.  Extended to deal with null classname.
  2339.     (pushtag): Call it.
  2340.     (pushdecl): For a TYPE_DECL, ensure that the nested typename gets
  2341.     set.
  2342.     (pushdecl_class_level): Ditto.
  2343.     (constructor_name): Test various assertions.
  2344.     (hack_incomplete_structures): If type is a class template, punt.
  2345.  
  2346.     * cplus-input.c (getch): Renamed from get_character.  Callers
  2347.     changed.
  2348.     cplus-lex.c (old getch): Deleted.
  2349.  
  2350.     * cplus-lex.c (save_pending_input, restore_pending_input): New
  2351.     functions for saving and restoring lexer state.
  2352.     (process_next_inline): Restore lexer state after each function.
  2353.     cplus-pt.c (end_template_instantiation): Ditto.
  2354.     cplus-input.c (struct input_source, getch, feed_input): Preserve
  2355.     putback_char and lexer state.
  2356.  
  2357.     * cplus-input.c (getch): Return magic cookie on end of saved input
  2358.     for lexer to recognize.
  2359.     cplus-lex.c (yylex): Turn it into END_OF_SAVED_INPUT.
  2360.     (process_next_inline): Require it after inline function body.
  2361.  
  2362.     * cplus-lex.c (do_pending_inlines): Don't save away current
  2363.     file/line-no info; character input processing should do that.
  2364.     (yyungetc): Turn conditional abort into assertion test.
  2365.     (note_list_got_semicolon): Since variable "type" is available, use
  2366.     it rather than recompute.
  2367.     (identifier_type): Now static.
  2368.     (yylex): Warn about conflicts with class template expansion names.
  2369.  
  2370.     * cplus-parse.y (temporary_scope): New variable.
  2371.     (object and scoped_id actions): Set it to current type.
  2372.     (many other actions): Clear it.
  2373.     (scoped_typename): Now derivable also from scoped_id and TYPENAME.
  2374.     cplus-lex.c (yylex): If temporary_scope is set, use it to
  2375.     determine type of current token being examined, instead of looking
  2376.     always in the global scope.  (Can't properly do nested template
  2377.     classes otherwise.)
  2378.  
  2379.     * cplus-ptree.c (print_lang_decl): Print out template-info,
  2380.     original-name, decl-main-variant, and pending-inline-info nodes if
  2381.     not null.
  2382.  
  2383.     * cplus-pt.c (mangle_class_name_for_template): For negative
  2384.     numbers, use "m" prefix rather than printf's "-".
  2385.     (overload_template_name): Test more assertions.  Use
  2386.     SET_IDENTIFIER_TYPE_VALUE macro.
  2387.     (lookup_template_class): Assert template decl node is non-null.
  2388.     Push to permanent obstacks for new allocations.
  2389.     (instantiate_template): Return new class type in a list.
  2390.  
  2391.     * cplus-pt.c (undo_template_name_overload): Clear type local
  2392.     definition of template name.
  2393.     (end_template_instantiation): Call it.
  2394.     cplus-parse.y (structsp actions): Ditto.
  2395.     (named_class_head_sans_basetype): Don't call
  2396.     overload_template_name here.
  2397.     (named_class_head): Call xref_tag, to define a tag, before calling
  2398.     it here.
  2399.  
  2400.     * cplus-parse.y (tmpl.1, tmpl.2): Delete type declarations, since
  2401.     they have no values.
  2402.     (yyprint, YYPRINT): New function and macro to work with debugging
  2403.     code added to bison.
  2404.     (datadef -> template_header... actions): Assign yychar, rather
  2405.     than calling yyungetc and yylex.  Require trailing semicolon.
  2406.     (fn.def1 -> PRE_PARSED_FUNCTION_DECL action): Preserve all of
  2407.     terminal value, instead of just TREE_PURPOSE.
  2408.     (tmpl.1 action): Do instantiation only if '{' or ':' not found.
  2409.     (template_instantiation): Call overload_template_name right away.
  2410.     (primary -> .scope new '(' typename ')' '[' ...): Detect and warn
  2411.     about this construct, which appears to be recognizeable, though
  2412.     disallowed by the ARM.
  2413.     (primary -> delete[]): Return error_mark_node.
  2414.     (primary -> obj TYPESPEC::~TYPESPEC()): Catch, parse as valid.
  2415.     Returned value not determined yet.
  2416.     (typespec): No longer derived from PTYPENAME.
  2417.     (LC): Added missing semicolon at end of rule.
  2418.     (stmt): A PTYPENAME can also be used as a label name.
  2419.  
  2420. Mon Apr 29 22:18:47 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  2421.  
  2422.     * tm-att386.h (ASM_OUTPUT_LOCAL): Align static local variables.
  2423.  
  2424. Mon Apr 29 15:20:35 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2425.  
  2426.     * fold-const.c (fold): Don't assume an address is nonzero.
  2427.     * cse.c (fold_rtx): Likewise.
  2428.  
  2429.     * stmt.c (warn_if_unused_value): No warning for cast of cast of modify.
  2430.  
  2431.     * Makefile.in (USER_H): Remove float.h.
  2432.  
  2433. Mon Apr 29 13:46:48 1991  Jim Wilson  (wilson at cygnus.com)
  2434.  
  2435.     * loop.c (scan_loop): When see a REG_EQUAL note, check for both
  2436.     the move_insn and the REG_RETVAL case, since they can occur together.
  2437.     (move_movables): For the move_insn case, handle library calls just
  2438.     like the older normal case code below, that is, skip to the end of a
  2439.     library call when when see a REG_LIBCALL note, and delete an entire
  2440.     library call if when see a REG_RETVAL note.
  2441.  
  2442. Mon Apr 29 12:58:19 1991  Jim Wilson  (wilson at cygnus.com)
  2443.  
  2444.     * sched.c: (schedule_block): Rewrite code that computes which
  2445.     registers are live at the end of the block.  Compute this from
  2446.     basic_block_live_at_start info of current block, instead of from
  2447.     all reachable blocks.  Previous code failed if one of the
  2448.     reachable blocks consisted of dead code.
  2449.     (sched_note_set): Set bb_live_regs when DEATH is false.
  2450.  
  2451.     * sched.c: Update copyright.  Correct various problems with
  2452.     indentation and white space.
  2453.     (canon_rtx): Delete obsolete code handling INSN_LIST rtx.  Add
  2454.     code to recurse on the operands of a PLUS rtx.
  2455.     (find_symbolic_term): New function.  Recursively search an rtx for
  2456.     a SYMBOL_REF or a LABEL_REF and return pointer to one if found.
  2457.     (memrefs_conflict_p): No longer needs to call canon_rtx on
  2458.     operands of a plus.  Now handles case of two addresses with
  2459.     different base addresses.
  2460.     (schedule_block): Don't set INSN_DELETED_P bit of ignored notes.
  2461.     Verify that REG_DEAD notes have a register value.
  2462.     (sched_analyze_1): Ifdef out obsolete code which calculates cc0
  2463.     dependencies.
  2464.     (sched_analyze): Likewise.
  2465.     (schedule_block): Likewise.
  2466.     (launch_links): Delete obsolete code for handling SPARC    'orcc' insns.
  2467.  
  2468. Mon Apr 29 12:09:32 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2469.  
  2470.     * configure: Allow spaces between options and their args.
  2471.  
  2472. Mon Apr 29 06:35:09 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2473.  
  2474.     * jump.c (jump_optimize): Don't emit jump to next insn; this would
  2475.     cause jump_optimize to loop.
  2476.     (jump_optimize, duplicate_loop_end_test, do_cross_jump): Never put
  2477.     insn in jump_chain if its INSN_UID is too large.
  2478.     (redirect_tablejump): Likewise.
  2479.  
  2480. Sun Apr 28 08:00:01 1991  Michael Tiemann  (tiemann at cygnus.com)
  2481.  
  2482.     * cplus-decl.c (init_decl_processing): Merge changes in builtin
  2483.     function handling to match the way that c-decl.c now works.
  2484.     Also add global variables to support that change.
  2485.     (define_function): Ditto.
  2486.  
  2487.     * cplus-decl2.c: Add flags for gc and xref.
  2488.     * cplus-tree.h (DECL_GC_OFFEST): New macro for gc.
  2489.     * cplus-tree.h: Rearrange CLASSTYPE_ASSOC and CLASSTYPE_BASETYPES so
  2490.     that the former now uses TYPE_LANG_SPECIFIC storage, and the latter
  2491.     uses TYPE_BASETYPES.
  2492.     * cplus-tree.h: Change overload names of new and delete to `nw' and
  2493.     `dl'.  Formerly, `new' was being seen as `ne', the encoding for `not
  2494.     equal'.
  2495.  
  2496.     * cplus-xref.c: New file.  Adds support for generating
  2497.     cross-reference information such as a class browser or program
  2498.     analyzer would use.
  2499.  
  2500.     * cplus-gc.c: New file.  Add support for garbage collection.
  2501.     * cplus-decl.c (finish_decl): Tie decls to their places in the
  2502.     garbage collector.
  2503.     * cplus-init.c (build_new): Added hooks for gc.
  2504.     * cplus-typeck.c (convert_arguments): protect arguments from the
  2505.     garbage collector if -fgc.
  2506.     (build_modify_expr): More gc-related changes.
  2507.  
  2508. Fri Apr 26 07:31:26 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2509.  
  2510.     * integrate.c (expand_inline_function): Add missing increment of I.
  2511.  
  2512. Thu Apr 25 11:07:11 1991  Tom Wood  (wood at dg-rtp.dg.com)
  2513.  
  2514.     * m88k.md (various patterns): Use nonimmediate_operand in place of
  2515.     reg_or_nonsymb_mem_operand and constraint `m' in place of `Q'.
  2516.     * tm-m88k.h (EXTRA_CONSTRAINT): Only needed for a call address.
  2517.     * out-m88k.c: reg_or_nonsymb_mem_operand and symbolic_memory_p are
  2518.     now unused.
  2519.  
  2520.     * m88k.md (symbolic store patterns): These patterns are all
  2521.     unnecessary and are deleted.
  2522.     * out-m88k.c (emit_move_sequence): Eliminate the case that
  2523.     generated a CLOBBER.  This was intended to use the symbolic store
  2524.     patterns, but isn't needed.
  2525.     (symbolic_memory_operand): Delete, no longer used.
  2526.     (output_prologue): Don't check for suspicious register elimination
  2527.     changes.
  2528.     * tm-m88k.h (GO_IF_LEGITIMATE_ADDRESS): Treat the frame pointer
  2529.     like the argument pointer as both may change to REG+SMALLINT.
  2530.  
  2531. Tue Apr 23 15:08:03 1991  Jim Wilson  (wilson at cygnus.com)
  2532.  
  2533.     * out-sparc.c (output_scc_insn): Clean up and expand comments.
  2534.     Don't assume that JUMP_LABEL fields are always valid, they aren't
  2535.     when compiling without optimization.
  2536.  
  2537. Mon Apr 22 13:56:43 1991  Michael Tiemann  (tiemann at cygnus.com)
  2538.  
  2539.     * cplus-class.c (prepare_fresh_vtable): Thoroughly update virtual
  2540.     function tables that come from baseclasses to contain the latest
  2541.     overrides from derived classes.  This was done (in a different way)
  2542.     for virtual baseclasses, but left undone for non-virtual
  2543.     baseclasses.
  2544.     (finish_struct_bits): Use assoc lists instead of class basetype list
  2545.     to walk through the classes base classes.  This gives us more
  2546.     relavant classes to check against.
  2547.     * cplus-init.c (init_vfields): New function to recursively walk
  2548.     objects and make sure their vfields are initialized.
  2549.     * cplus-init.c (emit_base_init): Call `init_vfields' from top level.
  2550.  
  2551.     * cplus-tree.h (TYPE_IDENTIFIER): New macro, gives the
  2552.     IDENTIFIER_NODE for a given aggr TYPE.
  2553.     * cplus-class.c (add_method): Use TYPE_IDENTIFIER.
  2554.     * cplus-cvt.c (various places): Ditto.
  2555.  
  2556.     * cplus-class.c (finish_struct): Add TYPE_DECLs to the list of a
  2557.     class's members that come from the types implicitly declared tags.
  2558.  
  2559.     * cplus-decl.c (grokdeclarator): If a function is declared `static
  2560.     inline', don't give it global visibility, regardless of what #pragma
  2561.     interface/implementation suggests.
  2562.  
  2563.     * cplus-decl.c (finish_function): ??? Questionable change for PIC:
  2564.     don't let constructors and destructors that manipulate vtables go
  2565.     inline, since this somehow reduces page sharing.  Really???
  2566.  
  2567.     * cplus-except.c (init_exception_processing): Use `pushdecl' to
  2568.     install global info that this function sets up.  That way later
  2569.     decls can override this info (such as with an inline function).
  2570.  
  2571.     * cplus-init.c (build_vec_delete): Set TREE_SIDE_EFFECTS of
  2572.     controller.  Otherwise the loop won't execute.
  2573.  
  2574.     * cplus-method.c (prepare_inline): Rewritten and simplified.
  2575.     (do_inline_method_hair): Ditto.
  2576.  
  2577.     * cplus-tree.c (lang_output_debug_info): Only output nested type if
  2578.     we would also output enclosing type.
  2579.  
  2580.     * cplus-typekc.c (c_expand_return): Use pseudo for intermediate
  2581.     return value if necessary.  GCC can't read the function return
  2582.     registers in an inline functino when the return value is being
  2583.     ignored.
  2584.  
  2585. Mon Apr 22 14:36:01 1991  Jim Wilson  (wilson at cygnus.com)
  2586.  
  2587.     * sched.c (init_alias_analysis): Handle REG_EQUIV notes just like
  2588.     REG_EQUAL notes.
  2589.  
  2590.     * sched.c (sched_analyze_2): Don't recurse on constant rtx's.
  2591.     This is necessary so that the cc0_rtx in CONST_DOUBLEs won't be seen.
  2592.     (sched_analyze): Call sched_analyze_insn for JUMP_INSNS    also, so
  2593.     that cc0 users will get an automatic dependence on their previous
  2594.     insn.
  2595.     (launch_links): Ifdef out special treatment of insns which set the
  2596.     condition codes.  This is obsolete, and was SPARC specific anyways.
  2597.     (new_sometimes_live): Clarify code that aborts if regno is greater
  2598.     than max_regno.
  2599.     (schedule_block): If the last insn sets cc0, then it must always
  2600.     be left    in place.
  2601.     (new_insn_dead_notes): New function.  Determines whether a SET or
  2602.     CLOBBER in an insn created by splitting needs a REG_DEAD or
  2603.     REG_UNUSED note added.
  2604.     (update_links): Ignore REG_EQUIV and REG_EQUAL notes on insns that
  2605.     have more than one set.  Generalize flow analysis of the sets in
  2606.     the new insns so that it can handle new insns which have multiple
  2607.     sets or new clobbers.
  2608.  
  2609. Mon Apr 22 08:15:50 1991  Michael Meissner  (meissner at osf.org)
  2610.  
  2611.     * gcc.c (input_suffix): New global var; holds current file's suffix.
  2612.     (handle_braces): Substitute X in %{.S:X} if the current file has
  2613.     suffix .S.  Similarly, substitute X in %{!.S:X} if the current file
  2614.     does not have suffix .S.
  2615.     (validate_switches): Ignore .S part in %{.S:X} construct.
  2616.  
  2617. Sat Apr 20 14:41:17 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  2618.  
  2619.     * final.c (leaf_function_p): Define this in any event.
  2620.  
  2621. Sat Apr 20 10:45:43 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2622.  
  2623.     * loop.c (check_dbra_loop): Use GET_RTX_CLASS when appropriate.
  2624.     Check for setting biv with single_set rather than only allowing a SET.
  2625.     If a loop has a `break', we can't reverse it.
  2626.  
  2627.     * cse.c (cse_insn): Fold inside operands of a CALL (mostly to find the
  2628.     best address form to use).
  2629.  
  2630.     * cse.c (simplify_unary_operation): Convert (neg (neg ..)) to NEG.
  2631.     Similarly for NOT.
  2632.     (simplify_binary_operation): Simplify things like (-a) + b.
  2633.     Convert UDIV with divisor a constant power of two into LSHIFTRT.
  2634.     Similarly for UMOD.
  2635.     Only fold shifts of a zero by a value into zero if the value has
  2636.     no side effects.
  2637.     Remove code to handle negative shift counts.
  2638.  
  2639.     * tm-a29k.h (OPTIMIZATION_OPTIONS): Allow insn scheduling to be
  2640.     enabled, now that it works for the 29k.
  2641.  
  2642.     * tm-rs6000.h (LINK_SPEC): Add "-bhalt:4" to LINK_SPEC (don't ask!).
  2643.  
  2644. Fri Apr 19 13:18:52 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2645.  
  2646.     * explow.c (memory_address): Test `cse_not_expected' instead of
  2647.     `optimize' so that we don't make new pseudos after flow is run.
  2648.  
  2649.     * genflags.c (gen_insn): If extra condition is more than one line,
  2650.     use \'s to make proper multi-line macro definition.
  2651.  
  2652. Thu Apr 18 13:40:01 1991  Jim Wilson  (wilson at cygnus.com)
  2653.  
  2654.     * loop.c (check_dbra_loop): Reenable no_use_except_for_counting code
  2655.     which was mistakenly ifdefed out as buggy.  The actual bug was in
  2656.     strength_reduce, and has already been fixed.
  2657.  
  2658. Thu Apr 18 09:47:25 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2659.  
  2660.     * loop.c (record_giv): Allow for the case where regno_last_uid
  2661.     of DEST_REG has been moved or deleted.
  2662.  
  2663.     * rtlanal.c (replace_regs): Add missing argument in recursive call.
  2664.  
  2665.     * recog.c (nonmemory_operand): Only call general_operand for
  2666.     a SUBREG if it is a MEM, just like register_operand.
  2667.  
  2668.     * local-alloc.c (block_alloc): Handle case where the last insn of
  2669.     a REG_NO_CONFLICT block requires some CLOBBERs, but is a single SET.
  2670.  
  2671.     * out-romp.c, out-rs6000.c (next_insn_tests_no_unsigned): If a
  2672.     REG_UNUSED note for (cc0) is present on INSN, return 1.
  2673.  
  2674.     * jump.c (delete_jump): If the previous insn sets cc0 but we can't
  2675.     delete it for some reason, add a REG_UNUSED note for cc0 in that insn.
  2676.  
  2677.     * out-a29k.c: Rename input_operand to in_operand and output_operand
  2678.     to out_operand to avoid conflict with output_operand in final.c.
  2679.     * a29k.md: Likewise.
  2680.     (call patterns): Don't put SYMBOL_REF in MEM for recursive call;
  2681.     it might not be recursive if inlined; let cse do it later.
  2682.     * tm-a29k.h (RTX_COST, ADDRESS_COST): All addresses have the same
  2683.     cost, but MEM is expensive.
  2684.  
  2685. Tue Apr 16 16:01:47 1991  Michael Meissner  (meissner at osf.org)
  2686.  
  2687.     * configure: Add osfrose, osf, and mips/dec-osfrose.
  2688.  
  2689.     * out-mips.c (toplevel): Include necessary include files so
  2690.     out-mips.c can be compiled separately.
  2691.     (g_switch_value): New variable to hold -G xx value.
  2692.     (g_switch_set): New variable to indicate if -G xx used.
  2693.     (current_function_file): New variable to hold last .file.
  2694.     (file_in_function_warning): New variable to hold if we've warned the
  2695.     user that ECOFF can't switch files within a function.
  2696.     (mips_rtx_classify): New array to classify an insn.
  2697.     (mips_reg_names): New array to hold the register names.
  2698.     REGISTER_NAMES initializes all elements to point into here, and
  2699.     override_options resets the names if -mrnames is used.
  2700.     (mips_sw_reg_names): New array to hold the alternate register names.
  2701.     (mips_regno_to_class): New array to map hard register number to
  2702.     register class.
  2703.     (uns_arith_operand): Rewrite so call to register_operand is done
  2704.     last, not first.
  2705.     (arith_operand): ditto.
  2706.     (arith32_operand): ditto.
  2707.     (large_int): New function to return true if int constant will take 2
  2708.     instructions to load into a register.
  2709.     (reg_or_0_operand): New function to return true if a register or
  2710.     constant 0 is the operand for use in store patterns.
  2711.     (md_register_operand): New function to return true if either the hi
  2712.     or lo register is used.
  2713.     (mips_const_double_ok): New function to return true if a
  2714.     CONST_DOUBLE can be used as a constant in a RTL expression.  At
  2715.     present, only DImode constants and 0.0 is allowed.
  2716.     (simple_memory_operand): New function to return true if a memory
  2717.     reference is a simple register + small offset.
  2718.     (gp_memory_operand): New function to return true if a memory
  2719.     reference uses the global pointer.
  2720.     (mips_move_instructions): New function to handle all data movement
  2721.     of one word or less.
  2722.     (mips_move_2words_instructions): New function to handle all data
  2723.     movement of two words.
  2724.     (init_cumulative_args): Remove print_tree debug call.
  2725.     (function_arg_partial_nregs): Fix bug in passing structures where
  2726.     the wrong field was used.
  2727.     (print_options): Enable this function, body was in #if 0.
  2728.     (override_options): Spell function name with two r's.  Change how
  2729.     the -G xx and -mGx options are handled.  If neither passed use the
  2730.     appropriate default.  If -mgas make sure debug format is DBX, and if
  2731.     not -mgas, use SDB debug format.  If -mrnames and -mgas, give an
  2732.     error message, otherwise set up mips_reg_names.  Set up the
  2733.     mips_rtx_classify array.
  2734.     (print_options): New function instead of a long macro.  Add %C to
  2735.     print part of the opcode for a branch condition, %N to print the
  2736.     inverted branch condition, %( to do .set noreorder, %) to do .set
  2737.     reorder, %[ to do .set noat, %] to do .set at, %& to do .set
  2738.     noreorder if filling delay slots, and %# to print nop if delay slot
  2739.     not filled.
  2740.     (print_operand_address): New function instead of a long macro.
  2741.     (compute_frame_size): New function to abstract all the frame related
  2742.     information like frame size, saved registers, etc.
  2743.     (save_restore): Common function between the prologue and epilogue to
  2744.     save/restore the registers in the proper order.  Make $31 saved at
  2745.     function pc +4.
  2746.     (function_prologue): Call compute_frame_size and save_restore.  Make
  2747.     sure the appropriate .file is done before any statement in the
  2748.     prologue since the MIPS ECOFF requires this.
  2749.     (function_epilogue): Call compute_frame_size and save_restore.
  2750.  
  2751.     * tm-decstatn.h (CPP_PREDEFINES): Define the appropriate macros.
  2752.     (*_SPEC): Move the DECstation related specs here from tm-mips.h.
  2753.  
  2754.     * tm-decrose.h (new file): File to support OSF/1 with OSF/rose
  2755.     object format.
  2756.  
  2757.     * tm-mips-sysv.h (CPP_PREDEFINES): Define the appropriate macros.
  2758.     (*_SPEC): Move the DECstation related specs here from tm-mips.h.
  2759.  
  2760.     * tm-mips-bsd.h (CPP_PREDEFINES): Define the appropriate macros.
  2761.     (*_SPEC): Move the DECstation related specs here from tm-mips.h.
  2762.  
  2763.     * tm-mips-news.h (CPP_PREDEFINES): Define the appropriate macros.
  2764.     (*_SPEC): Move the DECstation related specs here from tm-mips.h.
  2765.  
  2766.     * tm-iris.h (CPP_PREDEFINES): Define the appropriate macros.
  2767.     (*_SPEC): Move the DECstation related specs here from tm-mips.h.
  2768.     (SET_FILE_NUMBER): Define, so that .file number is always 1.
  2769.     (LABEL_AFTER_LOC): Define, so that a label appears after .loc.
  2770.     (STACK_ARGS_ADJUST): Iris frames require 32 bytes at the top of the
  2771.     call frame instead of the normal MIPS 16.
  2772.  
  2773.     * mips.md (all): Add first cut at attributes to identify insn type.
  2774.     (all): Where appropriate, use @ form for alternates, instead of
  2775.     using C code.
  2776.     (define_delay): Put arithmetic and one word stores in call, jump,
  2777.     branch delay slots.
  2778.     (define_function_unit): Add functional unit definitions for memory
  2779.     and integer multiply/divide.
  2780.     (anonymous add/subtract insn): Remove support for reg + large offset
  2781.     that omitting the frame pointer caused in 1.xx to see if it is
  2782.     needed anymore.
  2783.     (mulsi3): Add clobbers for the hi/lo registers.  Add a define_split
  2784.     and an anonymous define_insn to separate the mult instruction from
  2785.     the mflo.
  2786.     (divmodsi4): Add clobbers for the hi/lo registers.
  2787.     (udivmodsi4): Add clobbers for the hi/lo registers.
  2788.     (divsi3): Add clobbers for the hi/lo registers.  Restrict divides
  2789.     and modulus to register / register.
  2790.     (modsi3): ditto.
  2791.     (udivsi3): ditto.
  2792.     (ymodsi3): ditto.
  2793.     (divide peepholes): Add two peepholes to catch divide followed by
  2794.     modulus of the same values.
  2795.     (anddi3): Remove pattern, use default behavior.
  2796.     (iordi3): Remove pattern, use default behavior.
  2797.     (xordi3): Remove pattern, use default behavior.
  2798.     (truncsiqi2): Remove pattern, use default behavior.
  2799.     (truncsihi2): Remove pattern, use default behavior.
  2800.     (trunchiqi2): Remove pattern, use default behavior.
  2801.     (truncdfsf2): Remove asm comment.
  2802.     (extendhisi2): Add a define_split for shift case.
  2803.     (extendqisi2): Add a define_split for shift case.
  2804.     (extendqihi2): Add a define_split for shift case.
  2805.     (movdi): Turn into a define_expand to guarantee that memory <->
  2806.     memory moves go through a register.
  2807.     (movsi): ditto.
  2808.     (movhi): ditto.
  2809.     (movqi): ditto.
  2810.     (movsf): ditto.
  2811.     (movdf): ditto.
  2812.     (movdi_internal): new define_insn.  Add fp registers to the
  2813.     alternatives.  Call mips_move_2words_instructions to do the actual
  2814.     movement.  Require memory addresses to be offsetable.
  2815.     (movdf_internal): ditto.
  2816.     (movsi_internal): new define_insn.  Add storing 0 to memory
  2817.     directly using $0.  Add transfer to/from multiply/divide registers,
  2818.     and to the fp status register.  Call mips_move_instructions to do
  2819.     the actual work.
  2820.     (movhi_internal): ditto.
  2821.     (movqi_internal): ditto.
  2822.     (movsf_internal): ditto.
  2823.     (jump): Add %& to turn on .set noreorder if filling delay slot.
  2824.     (tablejump): Ditto.
  2825.     (call): Ditto.
  2826.     (call_value): Ditto.
  2827.     (indirect_jump): New required pattern, add %& for delay slot.
  2828.     (nop): Use %( %) to turn on/off .set noreorder.
  2829.     (probe): Use %[ %] to turn on/off .set noat.
  2830.  
  2831.     * tm-mips.h (abort): Define abort to be fancy_abort for now.
  2832.     (toplevel): Move all extern's to the start of the file, rather than
  2833.     scattered throughout.
  2834.     (OPTIMIZATION_OPTIONS): New macro, -O sets -fomit-frame-pointer, and
  2835.     -fdelayed-branch.  -O2 sets -fstrength-reduce, -fcse-follow-jumps,
  2836.     -fexpensive-optimizations, -fthread-jumps, -frerun-cse-after-loop.
  2837.     -O3 sets -finline-functions.
  2838.     (*_SPEC): Move most of the target specific spec's to the appropriate
  2839.     file, rather than defining them in tm-mips.h.  Defaults are for MIPS
  2840.     RISC-OS with default system.
  2841.     (CPP_SPEC): If preprocessing .S files, define LANGUAGE_ASSEMBLY
  2842.     instead of LANGUAGE_C.
  2843.     (MIPS_VERSION): Add meissner version number.
  2844.     (MIPS_DEBUGGING_INFO): Define this for the future.
  2845.     (TARGET_*): reorder which bit means what.  Add bits so we can tell
  2846.     whether any of the -mG[012] options were used.  Redefine some debug
  2847.     switches.
  2848.     (BYTES_BIG_ENDIAN): Always define to 0/1 now.
  2849.     (WORDS_BIG_ENDIAN): Always define to 0/1 now.
  2850.     (MAX_PARM_BOUNDARY): Delete, since it's no longer used.
  2851.     (BIGGEST_FIELD_ALIGNMENT): Define to be 64.
  2852.     (CONSTANT_ALIGNMENT): New macro, make sure strings are aligned.
  2853.     (DATA_ALIGNMENT): New macro, make sure byte arrays are aligned.
  2854.     (FIRST_PSEUDO_REGISTER): Bump to 67, add hi, lo, fcr31.
  2855.     (FIXED_REGISTERS): Add initializations for hi, lo, and fcr31.
  2856.     (CALL_USED_REGISTERS): Add initializations for hi, lo, and fcr31.
  2857.     (MD_REG_P): New macro to return if hi/lo register.
  2858.     (ST_REG_P): New macro to return if fp control register.
  2859.     (HARD_REGNO_NREGS): Return 4 for single precision complex.
  2860.     (MODES_TIEABLE_P): Add complex float type support.
  2861.     (FRAME_POINTER_REQUIRED): Make this always 0.
  2862.     (NO_RECURSIVE_FUNCTION_CSE): New macro, define as 1.
  2863.     (enum reg_class): Add class for the hi register, lo register, either
  2864.     hi or lo registers, status registers.
  2865.     (REG_CLASS_NAMES): Support new register classes.
  2866.     (REG_CLASS_CONTENTS): ditto.
  2867.     (REG_CLASS_FROM_LETTER): ditto.
  2868.     (REGNO_REG_CLASS): Use an array to map register # -> class.
  2869.     (CONST_OK_FOR_LETTER_P): Add `L' for constants which have bottom 16
  2870.     bits all zero, and `M' which require two instructions to load.
  2871.     (CONST_DOUBLE_OK_FOR_LETTER_P): Use `CONST_DOUBLE_HIGH' and
  2872.     `CONST_DOUBLE_LOW'.
  2873.     (EXTRA_CONSTRAINT): New macro, `Q' for gp memory references, and `R'
  2874.     for reg + small offset references.
  2875.     (struct mips_frame_info): New structure to hold all frame related
  2876.     information, calculated by compute_frame_size.
  2877.     (INITIAL_FRAME_POINTER_OFFSET): New macro, use compute_frame_size to
  2878.     calculate where the frame should go.
  2879.     (ACCUMULATE_OUTGOING_ARGS): New macro, define so stack pushes are
  2880.     folded into the frame.
  2881.     (REG_PARM_STACK_SPACE): Redefine to take an argument and return 16.
  2882.     (OUTGOING_REG_PARM_STACK_SPACE): New macro, define to say we must
  2883.     allocate stack space for arguments passed in registers.
  2884.     (TARGET_FLOAT_FORMAT): New macro, define as IEEE_FLOAT_FORMAT.
  2885.     (FUNCTION_ARG_BOUNDARY): New macro to determine argument padding
  2886.     requirements.
  2887.     (MIPS_STACK_ALIGN): New name for AL_ADJUST_ALIGN macro.
  2888.     (FIX_FRAME_POINTER_ADDRESS): Delete, no longer used.
  2889.     (FUNCTION_PROFILER): No longer have to switch between different
  2890.     register names, override_options now sets up reg_names correctly.
  2891.     (TRAMPOLINE_TEMPLATE): New macro, define as a dummy.
  2892.     (TRAMPOLINE_SIZE): ditto.
  2893.     (INITIALIZE_TRAMPOLINE): ditto.
  2894.     (INDIRECTABLE_ADDRESS): Delete, fold into GO_IF_LEGITIMATE_ADDRESS.
  2895.     (GO_IF_LEGITIMATE_ADDRESS): If -mdebuga, don't allow <label>(<reg>)
  2896.     type addresses, which the machine really doesn't support, but you
  2897.     currently get better code in some instances by pretending it does
  2898.     support it.
  2899.     (LEGITIMATE_CONSTANT_P): Call mips_const_double_ok if CONST_DOUBLE.
  2900.     (ENCODE_SEGMENT_INFO): New macro, set SYMBOL_REF_FLAG (ie, volatil)
  2901.     if refering to an item via the gp pointer.
  2902.     (SLOW_BYTE_ACCESS): Define to 1, it is supposed to generate better
  2903.     code on RISC machines.
  2904.     (classify_op): New macro to classify an insn.
  2905.     (additive_op): Use classify_op to figure out if PLUS or MINUS.
  2906.     (divmod_op): New macro to identify DIV, MOD, UDIV, UMOD insns.
  2907.     (unsigned_op): New macro to identify UDIV, UMOD insns.
  2908.     (REGISTER_NAMES): All names are now pointers into mips_reg_names, so
  2909.     that we don't have to continually test whether -mrnames is used or
  2910.     not.  The override_options function sets this up appropriately.
  2911.     (REGISTER_NUMCHAR): Deleted.
  2912.     (REG_NAME): Deleted.
  2913.     (ADDITIONAL_REGISTER_NAMES): Define both names for the gp registers,
  2914.     so people can use either $r4 or a0 in asm statements.
  2915.     (PRINT_OPERAND): Call print_operand function instead of expanding a
  2916.     huge macro.  Add %C, %N, %(, %), %[, %], %&, %#.
  2917.     (PRINT_OPERAND_PUNCT_VALID_P): Add `(', `)', `[', `]', `&', and `#'.
  2918.     (PRINT_OPERAND_ADDRESS): Call print_operand_address function instead
  2919.     of expanding a huge macro.
  2920.     (DBX_OUTPUT_SEQEND): New macro, emit .set reorder after filling
  2921.     delay slot(s).
  2922.     (ASM_OUTPUT_SOURCE_FILENAME): Add check for doing .file of same file
  2923.     -- this is needed for the prologue to do a .file before all prologue
  2924.     instructions, rather than after the instructions which set up the
  2925.     stack.  Also, warn about #line requests that cannot be honored in
  2926.     MIPS ECOFF binaries.
  2927.     (ASM_OUTPUT_CASE_END): Delete, since it was only used to go back to
  2928.     the text section, and GCC does this now automatically.
  2929.     (READONLY_DATA_SECTION): New macro, define to be rdata_section.
  2930.     (SELECT_SECTION): Don't force volatile readonly items into .data.
  2931.     (ASM_COMMENT_START): New macro, define to be '\t\t# ' for -dp.
  2932.     (SEPARATE_AUX_OUTPUT): New macro, define this to separately compile
  2933.     out-mips.c.
  2934.  
  2935. Tue Apr 16 15:00:51 1991  Jim Wilson  (wilson at cygnus.com)
  2936.  
  2937.     * unroll.c (final_giv_value): Use expand_binop instead of
  2938.     gen_sub2_insn when emitting subtract insns, since expand_binop
  2939.     will work for any operands.
  2940.  
  2941.     * sched.c (schedule_insns): Don't split no-op moves; doing so
  2942.     breaks the code that handles REG_NO_CONFLICT blocks.
  2943.     (update_links): Delete the code that prints a warning for
  2944.     REG_EQUAL notes where the original dest can't be found.  This no
  2945.     longer occurs because of the above change.
  2946.  
  2947.     * sched.c: Generalize memory aliasing code so that it will work on
  2948.     non-RISC machines.  Instead of saving just the insn on the pending
  2949.     lists, now saves both the insn and the mem rtx.  Old variables
  2950.     pending_read and pending_write replaced with pending_read_insns,
  2951.     pending_read_mems, pending_write_insns, and pending_write_mems.
  2952.     (read_dependence, true_dependence, anti_dependence,
  2953.     output_dependence): Now passed a MEM rtx instead of a PATtern.
  2954.     (add_insn_mem_dependence): New function.  Adds an insn and a mem
  2955.     to a pending list pair.
  2956.     (sched_analyze_1, sched_analyze_2, sched_analyze): Modified to use
  2957.     new pending list scheme.
  2958.     (schedule_block): Likewise.
  2959.     (schedule_insns): Likewise.
  2960.  
  2961. Tue Apr 16 12:31:07 1991  Jeffrey A. Law  (law at mole.gnu.ai.mit.edu)
  2962.  
  2963.     * Makefile.in (install-man): Look for protoize.1 and unprotoize.1
  2964.     in the current directory, not $(srcdir)
  2965.     (install-headers): Use basename to strip off $(srcdir) from 
  2966.     include files when installing and changing mode.
  2967.  
  2968. Tue Apr 16 08:10:38 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  2969.  
  2970.     * rs6000.md (extendqixi2): Add CLOBBER to the first SET as well as
  2971.     the second.
  2972.     (load_multiple): Fix typo in operand number and add newline.
  2973.  
  2974.     * reload.c (find_reloads_address_1): Pass actual location of a
  2975.     MEM used in an address; also handle the case when the MEM was
  2976.     copied.  Ensure we reload the copy, not the original address.
  2977.  
  2978.     * reload1.c (eliminate_regs, case {INSN,EXPR}_LIST): Correctly handle
  2979.     the cases when one or more operations is (nil).
  2980.  
  2981.     * local-alloc.c (block_alloc): Check for REG_EQUAL on list insn
  2982.     of REG_NO_CLOBBER sequence, not first.
  2983.     (no_conflict_p): Set LAST and use INSN instead of P for loop start.
  2984.  
  2985. Mon Apr 15 12:55:12 1991  Jim Wilson  (wilson at cygnus.com)
  2986.  
  2987.     * loop.c (strength_reduce): Don't emit an insn after loop_end to
  2988.     set the final value of a reversed biv.  There is already an insn
  2989.     there setting the biv's proper final value.
  2990.  
  2991. Sun Apr 14 18:32:05 1991  Michael Tiemann  (tiemann at cygnus.com)
  2992.  
  2993.     * gnulib1.c (various functions): Added declaration of INTIFY to
  2994.     every function which has a FLOAT_ARG_TYPE argument or return value.
  2995.  
  2996. Sun Apr 14 18:31:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  2997.  
  2998.     * c-decl.c (store_parm_decls): Traditional float parm becomes double.
  2999.  
  3000. Sat Apr 13 17:35:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3001.  
  3002.     * m68k.md (storing 32-bit field with movl): Allow any immediate arg 3.
  3003.  
  3004.     * expmed.c (store_bit_field): For fields bigger than a word:
  3005.     Avoid special use of SImode, and don't crash if VALUE is CONST_INT.
  3006.  
  3007. Fri Apr 12 02:04:46 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3008.  
  3009.     * reload.c (find_reloads): Like prev change here, for optional reloads.
  3010.  
  3011.     * tm-sparc.h (FUNCTION_BLOCK_PROFILER): Must set %o0 to the address
  3012.     LPBX0 by adding in the low part of the address before calling
  3013.     ___bb_init_func.
  3014.  
  3015.     * tm-next.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
  3016.     New macros.  Place reference to constructor or destructor into
  3017.     constructor or destructor section.
  3018.  
  3019.     * tm-next.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS):  Add
  3020.     new constructor and destructor sections.
  3021.  
  3022.     * jump.c (squeeze_block_notes,squeeze_notes): Chage the name of
  3023.     squeeze_block_notes to squeeze_notes.  Also handle LOOP_BEG, LOOP_CONT
  3024.     and LOOP_END notes, since these must remain in their original order.
  3025.  
  3026.     * cccp.c (skip_to_end_of_comment): Handle warn_comment.
  3027.  
  3028.     * m68k.md (dbra patterns): Use `=' in constraint of op 0.
  3029.  
  3030.     * gcc.c (process_command): Handle -save-temps.
  3031.     (do_spec_1): Handle %g like %b if -save-temps.
  3032.     (verbose_flag): Renamed from `vflag'.
  3033.  
  3034.     * tm-sparc.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Don't define this.
  3035.  
  3036. Fri Apr 12 00:57:48 1991  Jim Wilson  (wilson at cygnus.com)
  3037.  
  3038.     * sched.c: Update all comments to reflect source changes.
  3039.     Make old_live_regs a static global, instead of local to schedule_block.
  3040.     Schedule_block is now void, since its return value was always 1.
  3041.     Rename last_function_call_not_const to last_pending_memory flush.
  3042.     This can not be a CALL_INSN or a INSN that writes memory.
  3043.     New variable pending_lists_length so that the lists can be flushed
  3044.     when they get too long.
  3045.     Use GET_RTX_CLASS instead of multiple GET_CODE calls whenever it
  3046.     makes sense.
  3047.     (read_dependence): New Function.  Returns one if two reads are
  3048.     dependent.  This can happen if both are volatile reads.
  3049.     (true_dependence, anti_dependence, output_dependence): Two volatile
  3050.     memory access are always dependent.
  3051.     (order_calls): Function deleted.  It was very short, it was only called
  3052.     once, and it no longer did what its name implied.  Its one call was
  3053.     replaced with the body of the function.
  3054.     (sched_analyze_1): Correctly handle stripping of SUBREGs, etc from
  3055.     the set dest.
  3056.     If the pending lists are longer than 32 when processing a memory
  3057.     write, then make this write depend on all previous and all future
  3058.     memory accesses so we can flush the pending list.  This is necessary
  3059.     because the algorithms used are O(N*N).
  3060.     (sched_analyze_2): For memory reads, check whether it is read
  3061.     dependent on any previous memory read (this can happen if both reads
  3062.     are volatile).
  3063.     (sched_analyze_insn): Replace call to order_calls with the body of
  3064.     that function.
  3065.     (sched_analyze): Don't clear last_memory_pending_flush for a non-const
  3066.     call, since any future call must still depend on all previous memory
  3067.     accesses.
  3068.     (sched_note_set): Correct handling of SUBREGs, etc.  For partial sets
  3069.     of a register, must treat this exactly the same way as flow.c, i.e.
  3070.     a partial set of a register does not kill the register.  Delete
  3071.     ifdefed out code which is obsolete.
  3072.     (attach_deaths): New argument SET_P, which indicates whether this is
  3073.     a set (if true) or a use (if false) of the rtx X.  Correct handling
  3074.     of REG_DEAD notes, to account for the new REG_UNUSED note.
  3075.     (attach_deaths_insn): Pass new additional parameter to attach_deaths.
  3076.     Always call attach_deaths for sets within a parallel.  Call
  3077.     attach_deaths for clobbers.
  3078.     (new_sometimes_live): Ifdef out code which should never be executed,
  3079.     and replaced with call to abort.
  3080.     (schedule_block): Now void.
  3081.     When processing block to find dead_regs, don't unlink REG_UNUSED notes,
  3082.     but must mark the indicated register as dead.
  3083.     (update_links): Completely rewritten to make more general.  Now handles
  3084.     all REG_NOTEs except REG_INC and REG_LABEL.  No longer makes simple
  3085.     assumptions about the form of instructions.  New argument orig_insn,
  3086.     which is the original unsplit insn.
  3087.     (schedule_insns): Delete unused volatilep code.  Pass new parameter
  3088.     to update_links.
  3089.  
  3090. Thu Apr 11 15:34:44 1991  Tom Wood  (wood at dg-rtp.dg.com)
  3091.  
  3092.     * out-m88k.c (pic_addressing_base_rtx): Use pic_offset_table_rtx
  3093.     instead.  Otherwise, PIC fails miserably for inline functions.
  3094.     (legitimize_address): Support -mbig-pic.
  3095.     (print_operand): Add `g' for printing #got_rel (for -mbig-pic).
  3096.     * tm-m88k.h (CONDITIONAL_REGISTER_USAGE): PIC_OFFSET_TABLE_REGNUM
  3097.     is used and is fixed for PIC.
  3098.     (GO_IF_LEGITIMATE_ADDRESS): Distinguish the -mbig-pic case.
  3099.     * m88k.md (SImode hi16/lo16): Use %g for -mbig-pic.
  3100.  
  3101. Wed Apr 10 21:53:32 1991  Jim Wilson  (wilson at cygnus.com)
  3102.  
  3103.     * unroll.c: Change global variable declarations to static.
  3104.     Four new global variables loop_iteration_var, loop_initial_value,
  3105.     loop_increment, and loop_final_value, used for communication between
  3106.     loop_iterations and precondition_loop_p.
  3107.     (unroll_loop): Before deleteing the insns in the original loop body,
  3108.     emit a label after the last insn to be deleted, to ensure that no
  3109.     delete_insn call will delete past that point.
  3110.     (precondition_loop_p): Use global loop_* variables setup by
  3111.     loop_iterations, instead of trying to calculate their values again.
  3112.     (copy_loop_body): Don't emit copies of the start_label.
  3113.     (approx_final_value): COMPARISON argument now passed as the pair
  3114.     COMPARISON_CODE and COMPARISON_VALUE.
  3115.     (find_splittable_regs): When completely unrolling a loop, and the
  3116.     initial value of a biv is a hard register or itself, then must
  3117.     create a new register to hold its initial value for splitting.
  3118.     (loop_iterations): Set the new global variables loop_*.
  3119.     If the comparison value is an invariant register, then search the insns
  3120.     before the loop to try to find a constant value for the register.
  3121.  
  3122. Wed Apr 10 16:02:16 1991  Tom Wood  (wood at dg-rtp.dg.com)
  3123.  
  3124.     * out-m88k.c (pic_addressing_base_rtx): A pseudo register coined
  3125.     for each function as needed in legitimize_address.
  3126.     (emit_move_sequence): Use legitimize_address instead of generating
  3127.     HIGH/LO_SUM.
  3128.     (legitimize_address): Rework, based on the sparc version, to
  3129.     implement PIC.
  3130.     (output_call): Use the #plt form when doing PIC.
  3131.     (m88k_layout_frame): The addressing base register is no longer
  3132.     fixed and r1 need not be saved for PIC.
  3133.     (output_prologue): Output instructions to setup the addressing
  3134.     base register if one is needed.
  3135.     (print_operand_address): Support the PIC case.
  3136.     * m88k.md (most patterns using hi16/lo16): Disable these for PIC.
  3137.     * tm-m88k.h (CONDITIONAL_REGISTER_USAGE): No longer needed.
  3138.     (ADDRESSING_BASE_REGNUM): Derived from pic_addressing_base_rtx.
  3139.     (GO_IF_LEGITIMATE_ADDRESS): Accept the PIC case.
  3140.     (LEGITIMIZE_ADDRESS): Use legitimize_address instead of HIGH/LO_SUM.
  3141.  
  3142.     * make-m88k, make-m88kdgux: Use SysV INSTALL = cp and for DG/UX,
  3143.     use the bison -l option to allow debugging in c-parse.tab.c.
  3144.  
  3145.     * From kenner@vlsi1.ultra.nyu.edu.
  3146.         * out-m88k.c: Include insn-config.h before conditions.h, which
  3147.         requires it.
  3148.         * xm-m88kdgux.h: Define SEPARATE_AUX_OUTPUT before including config.h.
  3149.     * tm-m88k.h: Declare MD functions only if SEPARATE_AUX_OUTPUT.
  3150.  
  3151.     * tm-m88k.h, tm-m88kdgux.h, tm-m88ksvr4.h: Rework TARGET_VERSION.
  3152.  
  3153. Wed Apr 10 13:02:07 1991  Brian Preble  (rassilon at geech.gnu.ai.mit.edu)
  3154.  
  3155.     * 
  3156.  
  3157. Wed Apr 10 08:19:02 1991  Richard Stallman  (rms at apple-gunkies)
  3158.  
  3159.     * caller-save.c (emit_mult_restore): Typo testing offset[regno] sign.
  3160.  
  3161.     * fold-const.c (target_isinf): Test real value for infinitude.
  3162.     * real.h (REAL_VALUE_ISINF): Use target_isinf.
  3163.  
  3164.     * configure: Change / to -- in value of `target' in Makefile.
  3165.  
  3166. Tue Apr  9 20:09:49 1991  James Van Artsdalen  (james at bigtex.cactus.org)
  3167.  
  3168.     * configure: Modify assignment to `target' in Makefile.
  3169.     (AIX target): Use correct config files.
  3170.     
  3171.     * make-aix386: New file.
  3172.  
  3173. Tue Apr  9 19:28:16 1991  Torbjorn Granlund  (tege at zevs.sics.se)
  3174.  
  3175.     * longlong.h (header):
  3176.     Modify definition of count_leading_zeros for input = 0.
  3177.     * (68020): Test for __NeXT__ too.
  3178.     * (68020 __umulsidi3, umul_ppmm, udiv_qrnnd):
  3179.     Use constraints "dmi", not "g" (avoid address registers).
  3180.     * (88000 add_ssaaa, sub_ddmmss): Use r modifier for output
  3181.     templates, use J, not I, as constraint for the carry-in insns
  3182.     * (at the end of the file): If UDIV_NEEDS_NORMALIZATION is not
  3183.     defined, define it as 0.
  3184.  
  3185. Tue Apr  9 19:14:34 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3186.  
  3187.     * function.c (optimize_bit_field): Fix typo.
  3188.  
  3189.     * cccp.c (do_define): Don't crash when a builtin macro is
  3190.     redefined.
  3191.  
  3192. Tue Apr  9 15:11:42 1991  Richard Stallman  (rms at apple-gunkies)
  3193.  
  3194.     * expr.c (move_by_pieces): Don't fail to compile if no movqi.
  3195.  
  3196.     * emit-rtl.c (get_last_insn_anywhere): Use first nonempty seq.
  3197.  
  3198.     * varasm.c (assemble_constructor): Fix typo.
  3199.  
  3200. Fri Apr  5 22:15:57 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3201.  
  3202.     * rs6000.md (extendqixi): Add CLOBBER to ASHIFTRT insn.
  3203.  
  3204.     * combine.c (simplify_shift_const): Shift operand of PLUS using
  3205.     correct mode.
  3206.     Correctly simplify outer_const when done.
  3207.  
  3208.     * reload.c (push_reload): Don't de-reference INLOC if it is 0.
  3209.  
  3210.     * expr.c (convert_to_mode): Call protect_from_queue.
  3211.  
  3212. Fri Apr  5 13:29:55 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3213.  
  3214.     * varasm.c (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
  3215.     Accept two arguments.
  3216.  
  3217. Fri Apr  5 08:45:18 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3218.  
  3219.     * expmed.c (expand_divmod): Convert OP1 to COMPUTE_MODE when we
  3220.     convert OP0.
  3221.  
  3222.     * combine.c (subst): Use gen_binary.
  3223.     (simplify_comparison): If we have a ZERO_EXTRACT from a constant
  3224.     with only one bit set, convert into comparison of position with
  3225.     location of bit in constant; this simplifies ((1 << x) & 1) == 0.
  3226.  
  3227.     * combine.c (gen_lowpart_for_combine): Copy code for CONST_DOUBLE
  3228.     from gen_lowpart instead of calling it; it will abort for certain
  3229.     floating-point cases, while we will just surround the object with
  3230.     a SUBREG.
  3231.  
  3232. Thu Apr  4 22:31:36 1991  Jim Wilson  (wilson at cygnus.com)
  3233.  
  3234.     * unroll.c (new file): Implements loop unrolling.  Completely
  3235.     unrolls small constant bounded loops.  Unrolls other constant
  3236.     bounded loops by an amount modulo the number of iterations so that
  3237.     only one exit test is needed.  Preconditions loops whose iteration
  3238.     count can be calculated at run time, so that only one exit test
  3239.     is needed.  Can also unroll any other loop by having multiple
  3240.     copies of the exit tests.  Tries to simplify addresses while
  3241.     unrolling.
  3242.  
  3243.     * tree.def: BLOCK trees have 4 fields, not 5.
  3244.  
  3245.     * toplev.c: Add new flag -dt to dump RTL after the second cse pass.
  3246.     Define two new flags, flag_unroll_loops and flag_unroll_all_loops,
  3247.     and add code to support their use for loop unrolling.  Print the
  3248.     exec time for the shorten-branch pass in the proper place, i.e.
  3249.     after delayed branch reorganization.
  3250.  
  3251.     * stmt.c (find_loop_tree_blocks): New function.  Creates a mapping
  3252.     between BLOCK trees and loops.  This info is needed when doing both
  3253.     loop unrolling and outputting debugger info.
  3254.     (unroll_block_trees): New function.  Makes COPIES copies of the block
  3255.     trees corresponding the loop indicated by LOOP_NUMBER, so that the
  3256.     BLOCK notes inside the loop will still match the BLOCK trees for
  3257.     the loop.
  3258.  
  3259.     * rtl.h: Document the new named pattern
  3260.     "decrement_and_branch_until_zero".  Add macros to access new
  3261.     field of inline_header rtx, which holds a pointer to the function's
  3262.     original DECL_INITIAL tree.
  3263.  
  3264.     * rtl.def: New entry for inline_header to hold a pointer to the
  3265.     function's original DECL_INITIAL tree.
  3266.  
  3267.     * loop.h (new file): Move many declarations from loop.c to the new
  3268.     file loop.h, and change some from static to extern, so that they
  3269.     can be shared with unroll.c.  Also globalize names for variables
  3270.     changed from static to extern.
  3271.  
  3272.     * loop.c: Move many declarations from loop.c to the new    file loop.h,
  3273.     and change some from static to extern, so that they can be shared
  3274.     with unroll.c.  Add misc comments to better explain the code.
  3275.     Change name of global arrays loop_start and loop_end to
  3276.     loop_number_loop_starts and loop_number_loop_ends so that they won't
  3277.     be confused with local loop_start and loop_end variables.
  3278.     New variables loop_number_exit_labels, loop_number_first_block,
  3279.     loop_number_last_block, loop_number_block_level, loop_n_iterations.
  3280.     Old_max_reg renamed to max_reg_before_loop.  Max_uid renamed to
  3281.     max_uid_for_loop.  Induct_var renamed to reg_iv_type.
  3282.     Induct_struct renamed to reg_iv_info.  Class_struct renamed to
  3283.     reg_biv_class.  Iv_list renamed to loop_iv_list.
  3284.     Rename (struct induction) field always to always_computable.
  3285.     Rename (struct induction) field family to next_iv.
  3286.     New (struct induction) field not_replaceable.
  3287.     (loop_opt): Add code to allocate some new arrays for unrolling
  3288.     support.  Add call to find_loop_tree_blocks to create the BLOCK tree
  3289.     to loop map needed when unrolling and outputting debugger info.
  3290.     (scan_loop): Fix setting of maybe_never of label/jump.  The old code
  3291.     always failed.
  3292.     (prescan_loop): Delete obsolete code.
  3293.     (find_and_verify_loops): Add code to initialize
  3294.     loop_number_exit_labels.
  3295.     (mark_loop_jump): Add code for keep chain of loop_number_exit_labels
  3296.     for each loop.
  3297.     (invariant_p): LABEL_REFs are not invariant when doing loop unrolling.
  3298.     Remove static from definition, so that it can be called from unroll.c.
  3299.     (strength_reduce): Change name of variable maybe_never to
  3300.     not_every_iteration, to help emphasize that it is not the same
  3301.     as the variable maybe_never in the code motion code.  Modify code
  3302.     that computes its value so that it will be false more often, resulting
  3303.     in better code.
  3304.     (strength_reduce): Added code to call the new loop unrolling
  3305.     functions, e.g. unroll_loop, loop_iterations, etc.
  3306.     (strength_reduce): New code to handle biv's and giv's which must
  3307.     be set to their final_value after the loop exits.
  3308.     (strength_reduce): Reversed giv's and biv's must have their values
  3309.     calculated differently.  Add new field reversed to struct induction,
  3310.     and code to check and use its value.
  3311.     (strength_reduce): Only check value of bl->nonneg for architectures
  3312.     that have a decrement_and_branch_until_zero instruction.
  3313.     (find_mem_givs): New argument loop_start.
  3314.     (record_giv): New argument loop_start.
  3315.     The always_computable field for DEST_ADDR givs is always set true.
  3316.     New code to check for case of spaghetti code, in which case the
  3317.     giv can never be considered replaceable.
  3318.     (check_final_value): New function. For givs which are not otherwise
  3319.     replaceable, try to calculate their final value, and then try
  3320.     to use this to make them replaceable.
  3321.     (update_giv_derive): Skip inner loop if giv is known to be underivable
  3322.     at the beginning.  Must set cant_derive if we pass an insn that
  3323.     modifies the giv's biv, and we can't calculate an adjustment.
  3324.     (emit_iv_add_mult): Remove static definition so that it is callable
  3325.     from unroll.c.
  3326.     (check_dbra_loop): Reversed biv's must be marked as such, so that
  3327.     they can be treated specially in the rest of loop.c.
  3328.     (final_biv_value): Moved to unroll.c, alongside the new function
  3329.     final_giv_value.  Extensively rewritten to work for most common
  3330.     cases.
  3331.     (update_reg_last_use): Verify that insns have a valid luid before
  3332.     trying to use it.  Don't perform any action if no value luid.
  3333.     (get_condition): Correct initial comment.
  3334.     (get_condition_for_loop): Remove static definition so it is callable
  3335.     from unroll.c.
  3336.  
  3337.     * integrate.h: Replace `tree' use in definition with
  3338.     `union tree_node *' so that tree.h does not have to be included when
  3339.     this file is included.    
  3340.  
  3341.     * integrate.c (initialize_for_inline): Pass additional argument,
  3342.     the DECL_INITIAL (fndecl) tree, to gen_inline_header_rtx.  Update
  3343.     and correct comment.
  3344.     (save_for_inline_copying): Copy the decl tree, so that virtual reg
  3345.     instantiation, and loop unrolling, won't affect the saved tree.
  3346.     (copy_decl_tree): New argument, functionbody, which distinguished
  3347.     between calls from save_for_inline_copying and calls from
  3348.     expand_inline_function.
  3349.     (copy_rtx_and_substitute): Return orig instead of aborting when
  3350.     inline_target is zero so that loop unrolling can use this code.
  3351.  
  3352.     * gcc.texinfo: Document the new optimization flags -funroll-loops
  3353.     and -funroll-all-loops, the new dump option -dt, and the new named
  3354.     pattern    "decrement_and_branch_until_zero".
  3355.  
  3356.     * flags.h: Define two new flags, flag_unroll_loops and
  3357.     flag_unroll_all_loops.
  3358.  
  3359.     * emit-rtl.c (gen_inline_header_rtx): New argument
  3360.     original_decl_initial.  Pass to gen_rtx call.
  3361.  
  3362.     * alliant.md, m68k.md: Name the pattern that uses the REG_NONNEG
  3363.     note to "decrement_and_branch_until_zero".
  3364.  
  3365.     * Makefile.in: Add source file unroll.c and header file loop.h to
  3366.     the cc1 dependencies.  Add *.cse2 to the list of files deleted by
  3367.         `make clean'.
  3368.  
  3369. Thu Apr  4 16:13:37 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3370.  
  3371.     * varasm.c (assemble_constructor, assemble_destructor): New functions.
  3372.     They use ASM_OUTPUT_CONSTRUCTOR and ASM_OUTPUT_DESTRUCTOR.
  3373.     * cplus-decl2.c (finish_file): Use them.
  3374.  
  3375.     * reload.c (find_reloads): Pass location as outloc for output reload.
  3376.  
  3377.     * objc-actions.c (objc_class_id, synth_module_prologue):
  3378.     Initialize new variable to hold identifier for "objc_class".
  3379.  
  3380.     * objc-actions.c (objc_comptypes): Allow assigning between types
  3381.     id and Class without warning.
  3382.  
  3383.     * c-typeck.c (warn_for_assignment): When there is a type mismatch
  3384.     in the hidden arguments of a message expression, don't print the
  3385.     argument number as 0 or -1.  Instead print the warning as would
  3386.     be done    for an explicit call to objc_msgSend (this should never
  3387.     happen, but just in case).
  3388.  
  3389.     * emit-rtl.c (gen_lowpart): Reverse #if for CONST_DOUBLE case.
  3390.  
  3391. Thu Apr  4 13:27:02 1991  Michael Meissner  (meissner at osf.org)
  3392.  
  3393.     * hard-reg-set.h (SET_HARD_REG_BIT, CLEAR_HARD_REG_BIT,
  3394.     TEST_HARD_REG_BIT): Use unsigned arithmetic to isolate the word and
  3395.     bit number, which produces better optimized code.
  3396.  
  3397. Thu Apr  4 07:34:17 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3398.  
  3399.     * reorg.c (relax_delay_slots): Avoid adjusting LABEL_NUSES if the
  3400.     insn is a conditional return.
  3401.  
  3402.     * reload1.c (reload): If we find that a replacement cannot be
  3403.     done and that replacement now enables a secondary replacement,
  3404.     this may disable a third replacement in some cases.
  3405.     (eliminate_regs, case SET): Don't stop after we find the first
  3406.     match when looking for modified registers.
  3407.  
  3408.     * combine.c (previous_num_undos): New var.
  3409.     (try_combine): Set it after each call to subst.
  3410.     When substituting I1 into I2, somtimes make a copy of PATTERN (i2).
  3411.     (gen_rtx_combine): Start at PREVIOUS_NUM_UNDOS.
  3412.  
  3413.     * combine.c (can_combine_p): Start check for volatile references
  3414.     after INSN, not at INSN.
  3415.  
  3416.     * combine.c (try_combine): When we find a split point, ensure
  3417.     that I2 is a register.  If it is of the wrong mode, change the
  3418.     mode if we can, just like we do with CCmode registers.
  3419.     (find_split_point): Don't split an extraction if it crosses the
  3420.     boundary given by the field (i.e., a byte boundary if QImode).
  3421.     Correct typo: Should generate LSHIFTRT, not LSHIFT.
  3422.     (subst): Correctly test to see if we can change the mode of
  3423.     a register for a MODE_CC comparison.
  3424.     (distribute_notes): If a NOTE references a pseudo-register,
  3425.     ensure it references the latest copy of that register.
  3426.     When scanning for last use, don't stop at CALL_INSNs.
  3427.  
  3428.     * combine.c (expand_compound_operation): Don't get confused about
  3429.     (zero_extend (asm_operands ..)) because of the VOIDmode ASM_OPERANDS.
  3430.     (simplify_and_const_int): Ensure we do computations in proper mode.
  3431.     Simplify ZERO_EXTRACT and ZERO_EXTEND when we have a PLUS.
  3432.     (significant_bits): Don't call get_last_value on a SUBREG, just REG.
  3433.     Correct significant bits for comparison operations.
  3434.     (simplify_shift_const): When VAROP is logical, use proper mode when
  3435.     computing shifted constant.
  3436.  
  3437.     * combine.c (gen_lowpart_for_combine): Call gen_lowpart if we have
  3438.     a CONST_DOUBLE.
  3439.  
  3440.     * genconfig.c (walk_insn_part, main): Write a definition
  3441.     for HAVE_lo_sum if a LO_SUM is present in the machine description.
  3442.  
  3443.     * combine.c (try_combine): If we have a PARALLEL of a SIGN_EXTEND
  3444.     and a load of memory, split it into a load and SUBREG assignment.
  3445.     (find_split_point): If we have LO_SUM for this machine,
  3446.     split (mem (symbol_ref ..)) using HIGH and LO_SUM.
  3447.     If we have operation with second operand constant, maybe we couldn't
  3448.     fit the constant in the insn, so try to split there.
  3449.     Move NOT to first operand so we'll try to split the other operand
  3450.     first.
  3451.     (subst): No reason to avoid making paradoxical SUBREGs and we miss
  3452.     some optimizations if we don't.
  3453.     Convert (lo_sum (high FOO) FOO) to FOO.
  3454.     Convert (C1 + (x + C2) to (C1 - C2) - x.
  3455.     Use distributive law in more places with logical operations.
  3456.     (apply_distributive_law): Properly distribute IOR over XOR.
  3457.     (simplify_shift_const): Simplify (ashift (plus ..) ...).
  3458.     (simplify_comparison): Add code to remove extraneous AND
  3459.     operations when comparing result of two comparisons on some machines.
  3460.     Ignore bits not applicable in our mode.
  3461.     Treat some SUBREGs as ZERO_EXTENDs.
  3462.     Convert equality comparison of AND with sign bit into LT or GE
  3463.     comparison.
  3464.     
  3465.     * combine.c (gen_binary, gen_unary): New functions.
  3466.     (apply_distributive_law, simplify_shift_const): Use gen_binary.
  3467.  
  3468. Wed Apr  3 16:15:17 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3469.  
  3470.     * Makefile.in (gnulib): Insert only .o files in combined archive.
  3471.     (gnulib1.portable): Use $(HPXT).
  3472.     * make-hp9k320g: Define HPXT.
  3473.  
  3474.     * From wilson@cygnus.com.
  3475.     * sched.c (schedule_block): Delete previously unused variable last_q.
  3476.     Correct handling of registers with multiple lifetimes within a single
  3477.     block, always save lifetime info, and clear the appropriate bit in
  3478.     old_live_regs.  Delete now unused variable sched_reg_n_sets.
  3479.  
  3480. Wed Apr  3 07:43:35 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3481.  
  3482.     * tm-romp.h (CONST_COSTS): All CONST_INTs are cost 0.  Symbolic
  3483.     values cost two insns.
  3484.  
  3485.     * function.c (fixup_var_refs_1): Correctly perform position
  3486.     computation for bit extracts; disallow mode-dependent addresses.
  3487.     (optimize_bit_field): Likewise.
  3488.     Remove explicit mention of HImode and QImode by calling mode_for_size.
  3489.     No need to check for offsettable_address_p; we call change_address
  3490.     and are not called after reload; don't call adj_offsettable_operand.
  3491.     * recog.c (validate_replace_rtx_1): Correct endian computation
  3492.     and don't change mode of a MEM with a mode-dependent address.
  3493.  
  3494.     * expmed.c (expand_divmod): Try to figure out what mode will be used
  3495.     and convert to that once at the beginning, rather than repeatedly,
  3496.     since we may be writing jumps.
  3497.  
  3498.     * vax.md ({zero,sign}_extract patterns): Field width is QImode, not
  3499.     SImode.
  3500.  
  3501. Tue Apr  2 08:42:23 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3502.  
  3503.     * cse.c (simplify_ternary_operation): Add argument for previous
  3504.     mode of operand 0.
  3505.     Don't do anything for extractions if bits don't fit in OP0_MODE.
  3506.     Use OP0_mode instead of mode of OP0 for endian correction.
  3507.     (fold_rtx): Pass new operand to simpllify_ternary operation.
  3508.     * integrate.c (subst_constants): Add extra arg to call to
  3509.     simplify_ternary_operation and call for rtx class 'b'.
  3510.     * combine.c (find_split_point): Don't split an extract when the
  3511.     bits are outside the mode of operand 0.
  3512.     (subst): Pass new parameter to simplify_ternary operation and call
  3513.     for rtx class 'b'.
  3514.     (subst, case ZERO_EXTRACT): Don't change the mode of a MEM
  3515.     if it is a mode-dependent address.
  3516.     Correctly do endian adjustments so they are correct for fields that
  3517.     go outside a byte boundary.
  3518.     (subst, case {ZERO,SIGN}_EXTRACT): Don't adjust MEM here for non-dest
  3519.     objects; already done in make_compound_operation.
  3520.     (make_compound_operation): Rework code that makes extracts and
  3521.     extends to correcty compute positions, taking into account the fact
  3522.     that field can cross byte boundaries.  Remove redundant adjustments.
  3523.     Use mode_dependent_address_p to validate changing modes of MEM.
  3524.     (simplify_shift_const): Check for mode-dependent address when
  3525.     changing mode of a MEM.
  3526.     (gen_lowpart_for_combine): Likewise.
  3527.  
  3528.     * expmed.c (expand_shift): Code to use extzv for logical right shift
  3529.     had numerous assumptions about specific modes and did not validate
  3530.     operands properly.
  3531.  
  3532.     * expr.c (expand_expr, case NOP_EXPR): If no target was specified,
  3533.     use convert_to_mode instead of convert_move; this may return a SUBREG.
  3534.  
  3535.     * expr.c (do_jump): Conversion isn't NOP if it narrows the object.
  3536.     If testing A & CONST and the result fits in a smaller mode, try
  3537.     the compare there.
  3538.  
  3539.     * cse.c (simplify_binary_operation): If eliminating reference to
  3540.     operand, verify    that it has no side effects.
  3541.     Add cases for "a | (~a)" and "a & (~a)".
  3542.  
  3543.     * recog.c (register_operand): Only call general_operand for
  3544.     (subreg (mem ...) X), not all SUBREGs.
  3545.  
  3546.     * jump.c (jump_optimize): Remove needless incrementing of LABEL_NUSES
  3547.     which can cause a dead label not to go away.
  3548.  
  3549. Mon Apr  1 19:08:40 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3550.  
  3551.     * cse.c (cse_insn): Add missing call to insert_regs.
  3552.  
  3553. Mon Apr  1 18:21:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3554.  
  3555.     * optabs.c (init_optabs): Change #if to #ifdef.
  3556.  
  3557.     * loop.c (check_dbra_loop): Take out Feb 24 change.
  3558.  
  3559. Sun Mar 31 22:43:39 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3560.  
  3561.     * final.c (insn_counter): New variable.
  3562.     (final_scan_insn): Increment it.
  3563.     (output_asm_insn): Use it for %=.
  3564.  
  3565. Sun Mar 31 22:16:31 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3566.  
  3567.     * out-a29k.c (output_prolog): Correctly write stack size in tag word.
  3568.  
  3569.     * out-a29k.c (srcb_operand): If QImode, any constant is OK since
  3570.     we only care about 8 bits.
  3571.     (print_operand): Add %Q for QImode srcb values.
  3572.     * a29k.md (QImode patterns): srcb's that accept constants should have
  3573.     'n' constraint, not 'I'; use %Q to output.
  3574.  
  3575.     * reload1.c (gen_input_reload): Properly generate reload when we are
  3576.     adding a pseudo and a hard register.
  3577.  
  3578.     * cse.c (simplify_unary_operation): Don't use ffs.
  3579.  
  3580. Sun Mar 31 20:59:52 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  3581.  
  3582.     * gnulib1.c (perform_ash{l,r}si3): Fix typo that had these
  3583.     performaces swapped.
  3584.  
  3585. Sun Mar 31 13:35:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3586.  
  3587.     * rtl.h (FIND_REG_INC_NOTE): New macro.
  3588.     * rtl.h (AUTO_INC_DEC): Define here.
  3589.     * flow.c (AUTO_INC_DEC): Not here.
  3590.     * combine.c (can_combine_p, try_combine): Use FIND_REG_INC_NOTE.
  3591.     Make other scans for REG_INC notes conditional on AUTO_INC_DEC.
  3592.     * final.c (final_scan_insn): Use FIND_REG_INC_NOTE.
  3593.     * jump.c (delete_jump): Likewise.
  3594.     * loop.c (get_condition): Likewise.
  3595.     * reload.c (find_reloads_address_1, find_equiv_reg): Likewise.
  3596.     * reload1.c (reload_as_needed): Likewise.
  3597.     * reorg.c (delete_scheduled_jump, mark_set_resources): Likewise.
  3598.     * global-alloc.c (global_conflicts): Likewise.
  3599.  
  3600.     * dbxout.c (dbxout_type): For integers, reals, and arrays,
  3601.     use actual type number of int or char, in case those are not 1 and 2.
  3602.  
  3603.     * toplev.c (compile_file): Take out last change (regarding lang_init).
  3604.  
  3605.     * emit-rtl.c (sequence_element_free_list): Change data type.
  3606.     (get_last_insn_anywhyere, add_insn_after): Finish last change.
  3607.  
  3608.     * expr.c (expand_builtin): Finish last change.
  3609.  
  3610. Sat Mar 30 15:16:16 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3611.  
  3612.     * function.h (struct sequence_stack): New data type.
  3613.     (sequence_stack): Declare variable.  Use new data type.
  3614.     * emit-rtl.c (get_last_insn_anywhere, add_insn_after): Adapt to that.
  3615.     (start_sequence, end_sequence, in_sequence): Likewise.
  3616.     (start_sequence): Allocate stack links as permanent.
  3617.     (init_emit_once): Init sequence_stack here.
  3618.     (init_emit): Not here.
  3619.     * function.c (push_temp_slots, pop_temp_slots):
  3620.     (expand_function_end): Use in_sequence.
  3621.     (fixup_var_refs): Use new data type.
  3622.     (put_var_into_stack): Don't declare sequence_stack.
  3623.  
  3624.     * function.c (expand_function_start):
  3625.     Trace static chain properly past first link.
  3626.  
  3627.     * ns32k.md (andcbhi3, andcbqi3): Constraint shouldn't say commutative.
  3628.  
  3629. Sat Mar 30 02:06:20 1991 North-Keys (erlkonig at apple-gunkies.gnu.ai.mit.edu)
  3630.  
  3631.     * c-decl.c (init_decl_processing): Fix typo `integer_tpe_node'.
  3632.     * dbxout.c (dbxout-symbol): Added char * declaration for `name'.
  3633.     * objc-actions.c (encode_array): Avoid returning a value.
  3634.  
  3635. Fri Mar 29 15:59:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3636.  
  3637.     * c-decl.c (init_decl_processing): Define __builtin_constant_p.
  3638.     * expr.c (expand_builtin): Implement it.
  3639.     * tree.h (enum built_in_function): New alternative.
  3640.  
  3641.     * toplev.c (compile_file): Move lang_init call after debugger init.
  3642.  
  3643.     * gcc.c (default_compilers): Define __cplusplus for C++ code.
  3644.  
  3645.     * c-decl.c (start_function): Use 0 for name of result decl.
  3646.     (value_identifier): Variable deleted.
  3647.  
  3648.     * dbxout.c (dbxout_type): Handle LANG_TYPE.
  3649.     (dbxout_symbol): Handle RESULT_DECL.
  3650.     Handle variables with constant values that are not output.
  3651.     Use the mangled name when appropriate.
  3652.     (dbxout_tags): Output equivalent typedef when appropriate.
  3653.     (dbxout_function): Output the DECL_RESULT if it has a name.
  3654.  
  3655.     * varasm.c (assemble_variable): Delete calls to set_current_gdbfile.
  3656.  
  3657. Thu Mar 28 16:14:13 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3658.  
  3659.     * gcc.c (main): Calculate basename_length to exclude last period.
  3660.  
  3661.     * optabs.c (expand_binop, expand_unop):
  3662.     When widening, don't keep CONST_INT beyond a single word.
  3663.  
  3664.     * tm-vax.h (CHECK_FLOAT_VALUE): Change float max to ...444e+38.
  3665.  
  3666.     * Makefile.in (gnulib1, gnulib2.portable):
  3667.     Make test of $$? normally succeed, not normally fail.
  3668.     (gnulib1): Don't use -e in second loop.  Test explicitly instead.
  3669.  
  3670.     * dbxout.c (lastfile): New static variable.
  3671.     (dbxout_init): Initialize lastfile.
  3672.     * final.c (lastfile): Deleted.
  3673.     (init_final): Don't set lastfile.
  3674.  
  3675.     * final.c (set_current_gdbfile): Function deleted.
  3676.     (output_source_line): Handling of GDB debugging info deleted.
  3677.     (final_start_function, final_end_function): Likewise.
  3678.  
  3679. Thu Mar 28 09:58:18 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  3680.  
  3681.     * cplus-decl.h (decl_context): Add missing declaration for BITFIELD.
  3682.  
  3683.     * tm-sparc.h (CC1_SPEC): Change to handle new interpretation of -O2.
  3684.     (OPTIMIZATION_OPTIONS): Use this macro to control default expensive
  3685.     optimizations.
  3686.     (MODES_TIABLE_P): Use GET_MODE_CLASS to simplify this macro.
  3687.     (FUNCTION_ARG,FUNCTION_ARG_PARTIAL_NREGS): Make sure TYPE is nonzero
  3688.     before we use it.
  3689.     (FUNCTION_BLOCK_PROFILER): Fix a bug in the asm code.
  3690.     (EXTRA_CONSTRAINT): For 'S' constraint, if OP is a register, make
  3691.     sure it's not a pseudo.  Also, change call to `memory_address_p' to
  3692.     `strict _memory_address_p'.  Both of these are for the strict cases.
  3693.     (SLOW_BYTE_ACCESS): Try going with this set 1.
  3694.     * sparc.md: Take advantage of new combiner to handle signed bitfield
  3695.     comparisons and signed sub-word comparisons.
  3696.     Added peepholes for doing subword memory tests and operations.
  3697.  
  3698. Thu Mar 28 09:43:30 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3699.  
  3700.     * emit-rtl.c (start_sequence, gen_sequence): Ensure we allocate rtl
  3701.     on saveable_obstack since we will be saving it and we may be called
  3702.     from an optimizer that will reuse allocated memory in current_obstack.
  3703.  
  3704. Wed Mar 27 18:46:27 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3705.  
  3706.     * toplev.c (main): Print version with -version, regardless of
  3707.     -quiet.
  3708.  
  3709.     * Makefile.in (gnulib, gnulib2.ready): Put `-' before `if'.
  3710.  
  3711.     * make-hp9k320, make-hp9k320g (CC, OLDCC): Delete -lsetjmp.
  3712.     Add -Wc,-Nw2000.
  3713.  
  3714.     * dbxout.c (dbxout_source_file): New name for fn moved from final.c.
  3715.     * final.c (output_source_file): Moved to dbxout.c.  Callers changed.
  3716.     (output_source_line): Call dbxout_source_file.
  3717.  
  3718. Wed Mar 27 11:09:13 1991  Micheal Tiemann  (tiemann at pogo.gnu.ai.mit.edu)
  3719.  
  3720.     * version.c: Bumped to version 1.92.
  3721.  
  3722.     * final.c (output_source_{file,line}): Fix bug in new handling of
  3723.     "Ltext".
  3724.  
  3725.     * cplus-cvt.c (build_up_reference): Handle BIND_EXPR.
  3726.  
  3727.     * Makefile.in (cplus-lex.o): depend on cplus-input.c.
  3728.     * cplus-input.c: New file.
  3729.  
  3730.     * cplus-method.c (do_inline_function_hair): Call a different
  3731.     `prepare_inline', and don't deal with pending_inlines here.
  3732.     * cplus-lex.c (do_pending_inlines): Deal with pending_inlines
  3733.     here...
  3734.     (reinit_parse_for_method): ...and here.
  3735.  
  3736.     * cplus-decl.c (grok_ctor_properties): Use TYPE_NAME_STRING where
  3737.     appropriate.  Also, don't assume that CURRENT_CLASS_TYPE is what we
  3738.     use for error message; use CTYPE instead.
  3739.  
  3740.     * cplus-type2.c (digest_init): Strip NON_LVALUE_EXPRs.
  3741.  
  3742.     * cplus-tree.c (__eprintf): Added this function from gnulib2 until
  3743.     gnulib configuration is worked out.
  3744.  
  3745.     * cplus-parse.y (member_init): Call do_member_init.  Previous code
  3746.     was wrong (using a goto to factor common code) because the parse
  3747.     stack was different in the two contexts.
  3748.     * cplus-init.c (do_member_init): New function.
  3749.  
  3750.     * cplus-typeck.c (build_compound_expr): Convert arrays to pointers.
  3751.     (build_c_cast): Warn about possible alignment problems.
  3752.  
  3753. Wed Mar 27 05:55:32 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3754.  
  3755.     * reload.c (find_reloads): Disallow a PLUS as an operand even if
  3756.     "g" is in the constraint; this is only valid for "p".
  3757.  
  3758. Tue Mar 26 06:46:48 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3759.  
  3760.     * local-alloc.c (block_alloc): Have insn numbers start at 1, not 2.
  3761.  
  3762.     * rtlanal.c (replace_regs): Move to here; add new parameter.
  3763.     * loop.c (replace_regs): Delete from here.
  3764.     (move_movables, strength_reduce): Pass new parameter to replace_regs.
  3765.     * jump.c (duplicate_loop_exit_test): Make new pseudos for pseudos
  3766.     used only in loop exit test; this prevents unnecessay sharing
  3767.     between code inside and outside of loop.
  3768.     * toplev.c (rest_of_compilation): Call reg_scan before jump.
  3769.  
  3770.     * combine.c (distribute_notes): If we are searching back for the last
  3771.     use of a register I3 and I2 no longer use and the last use is a SET
  3772.     of that register, place a REG_UNUSED note instead of a REG_DEAD note.
  3773.     No longer need handle REG_DEAD note for output of I3; it will now be
  3774.     a REG_UNUSED note.
  3775.  
  3776.     * combine.c (try_combine): If I3SRC is a register and I2 is a
  3777.     multi-output insn, see if we can replace one of the outputs with
  3778.     I3DEST.  If so, move LOG_LINKS pointing at the other outputs to
  3779.     now point to I3 instead of I2.
  3780.  
  3781.     * rtlanal.c (single_set): Return 0 if not an insn.
  3782.     Only ignore SET with unused output if it has no side effects.
  3783.     (side_effects_p): New function.
  3784.     * combine.c (can_combine_p): Only ignore SET with unused output if
  3785.     it has no side effect.
  3786.     Don't extend the life of a hard register.
  3787.     (try_combine): Always give up if I1 or I2 used reg inc'd in I3.
  3788.     (significant_bits): Return mode mask if mode wider than host int.
  3789.     Don't get confused by (zero_extend (const_int ..)) and similar where
  3790.     the inner mode is VOIDmode.
  3791.     Arithmetic operations now always have same modes on operands as
  3792.     on the result.
  3793.  
  3794.     * jump.c (jump_optimize): Set this_is_{simple,cond}jump at the start
  3795.     of loop, not in middle, and use consistently.
  3796.     Use can_reverse_comparison_p in case where we make scc insn.
  3797.     Don't use can_reverse_comparison_p when we call invert_jump.
  3798.     Use indirect_jump instead of indirect_exp.
  3799.     Check invert_jump's result before making any other changes; handle
  3800.     failure.
  3801.     Simplify code that looks for and deletes USE insns.
  3802.     (jump_back_p): Call can_reverse_comparison_p only if we have to
  3803.     reverse the comparison.
  3804.     (can_reverse_comparison_p): Accept comparison expression and insn
  3805.     it comes from.
  3806.     Rework to be more general now that we have MODE_CC and tighten
  3807.     up a bit.
  3808.     (invert_jump): Allow invert_exp and redirect_jump to fail.
  3809.     (invert_exp): Only invert jump, don't change target.
  3810.     If can reverse comparison code, try it using validate_change.
  3811.     If that doesn't work, swap the arms of the IF_THEN_ELSE.  If that
  3812.     doesn't work, return 0.
  3813.     (redirect_exp): Now static.
  3814.     * expr.c (do_jump_for_compare): Call invert_jump to invert jump
  3815.     to false label after emitting jump; if this fails, convert to
  3816.     jump around unconditional jump to false label.
  3817.     (do_store_flag): Set to 1 first, then branch, then set to 0.  This
  3818.     avoids inverting branches.
  3819.     * reorg.c (optimize_skip, relax_delay_slots): Always allow invert_jump
  3820.     to fail.
  3821.     * rtlanal.c (single_set): Return 0 if not INSN, CALL_INSN,
  3822.     or JUMP_INSN.
  3823.  
  3824.     * reload1.c (eliminate_regs): If any eliminable regs occur in a USE,
  3825.     eliminate them.
  3826.  
  3827. Tue Mar 26 00:09:18 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3828.  
  3829.     * c-decl.c (implicitly_declare): Always make implicit decl permanent.
  3830.  
  3831. Mon Mar 25 16:38:14 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3832.  
  3833.     * genextract.c (walk_rtx): Record operand numbers that are seen.
  3834.     (gen_insn): If there are gaps in operand numbers, make code to store
  3835.     something for the operands not used in this pattern.
  3836.     (main): Initialize data structures.
  3837.  
  3838.     * c-typeck.c (initializer_constant_valid_p):
  3839.     Always allow length-preserving conversions between integer types. 
  3840.  
  3841.     * regclass.c (reg_class_record): Return right away if operand is 0.
  3842.  
  3843.     * c-decl.c (duplicate_decls): Warn if declare fcn inline after calls.
  3844.  
  3845.     * reload.c (combine_reloads):
  3846.     Test reg_overlap_mentioned_p in both directions.
  3847.  
  3848. Mon Mar 25 15:05:29 1991  Tom Wood  (wood at dg-rtp.dg.com)
  3849.  
  3850.     * genoutput.c (output_epilogue): Choose a name for an unnamed
  3851.     pattern as an offset from the closest named pattern.  Define
  3852.     `insn_name_ptr' as a pointer to `insn_name' for use by print_rtx.
  3853.     * final.c (output_asm_insn): Use the pattern name chosen by
  3854.     genoutput and output the INSN_UID as well.
  3855.     * rtl.c (insn_name_ptr): Provide an alternate definition to avoid
  3856.     link errors when rtl.o is not linked with insn-output.o.
  3857.     (print_rtx): When printing the INSN_CODE field of an insn, print
  3858.     the name if it is available.
  3859.  
  3860. Mon Mar 25 09:39:43 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3861.  
  3862.     * regs.h (reg_first_use): Deleted.
  3863.     * rtl.h (REG_UNSET): Deleted.
  3864.     (REG_UNUSED): New note.
  3865.     * combine.c (combine_instructions): Delete loop fixing up
  3866.     reg_first_use.
  3867.     (can_combine_p): Ignore a branch of a PARALLEL if its output is
  3868.     never used.
  3869.     (move_deaths): Don't update reg_first_use.
  3870.     (distribute_notes): Don't handle REG_UNSET; add code for REG_UNUSED.
  3871.     * flow.c (reg_first_use): Deleted.
  3872.     (life_analysis): Restore code that marks vars live at start of function
  3873.     as globals.  These are registers that were never set.
  3874.     (allocate_for_life_analysis): Don't allocate reg_first_use.
  3875.     (propagate_block): Search for cc0-setting insn with prev_nonnote_insn.
  3876.     (mark_set_1): Don't set reg_first_use.
  3877.     If register is never used, make REG_UNUSED note, not REG_DEAD.
  3878.     (mark_used_regs): Don't set reg_first_use.
  3879.     * global-alloc.c (global-conflicts): Dead outputs are now denoted by
  3880.     REG_UNUSED notes, not REG_DEAD.
  3881.     * reload.c (find_dummy_reload): Delete test of REG_UNSET; add test
  3882.     of REG_UNUSED.
  3883.     (find_equiv_reg): Don't re-use an output marked as REG_UNUSED;
  3884.     we want these notes to be accurate; this would rarely win anyway.
  3885.     * reload1.c (emit_reload_insns): Test REG_UNUSED to see if an
  3886.     output won't be used any more.
  3887.     * reorg.c (mark_target_live_regs): Use REG_UNUSED notes to kill    
  3888.     registers dead after an insn.
  3889.     * rtl.c (reg_note_name): Delete REG_UNSET, add REG_UNUSED.
  3890.     * rtlanal.c (single_set): Ignore a SET whose output has a REG_UNUSED
  3891.     note.
  3892.     * sched.c (update_first_use): Deleted.
  3893.     (update_links): No need to call update_first_use.
  3894.  
  3895.     * local-alloc.c: Major changes to use REG_UNUSED notes, make
  3896.     handling of only-set registers more consistent, and allow
  3897.     two consecutive CLOBBERs to share a register.  Also, avoid loops
  3898.     over all register each basic block; eliminating these make local-alloc
  3899.     three times faster!
  3900.     Quantity numbers now start at zero.
  3901.     (qty_first_reg, reg_next_in_qty): New variables.
  3902.     (qty_clobber): No longer needed.
  3903.     (reg_qty): -1 if register cannot be allocated by local-alloc.
  3904.     Now undefined for hard registers.
  3905.     (reg_offset): Now char *.
  3906.     (call_seen): Deleted, never used.
  3907.     (regs_live_at): Now two entries per insn.
  3908.     (alloc_qty): Initialize chain of register in quantity.
  3909.     (local_alloc): Remove all per-block loops over registers.
  3910.     Only allocate qty_... vars for max_reg - FIRST_PSEUDO_REGISTER.
  3911.     Initialize reg_qty once per function.
  3912.     Don't initialize qty_... vars that are always set before use.
  3913.     (block_alloc): Delete insn_map, max_uid, and call_used.
  3914.     Insn numbers start at 1 and we have two entries in regs_live_at
  3915.     for each insn.
  3916.     Search for REG_NO_CONFLICT block when we see a CLOBBER insn; this
  3917.     avoids having already seen sets to the output register.
  3918.     Call wipe_dead_reg for anything in a REG_UNUSED note.
  3919.     Delete references to reg_first_use.
  3920.     Don't check for invalid birth and death here.
  3921.     Don't call qsort if we have 0 or 1 quantities.
  3922.     Find all registers for a quantity using reg_next_in_qty chain instead
  3923.     of looping over all pseudos.
  3924.     (combine_regs): Refine tests to agree with new conventions.  
  3925.     Never tie pseudos if SREG already has a quantity assigned.
  3926.     When updating size, use reg_next_in_qty instead of looping over
  3927.     all registers.
  3928.     (reg_is_set): Just call reg_is_born.  Where it is born depends on
  3929.     whether we have a CLOBBER or not.  Birth location is now twice
  3930.     the insn number.
  3931.     (reg_is_born): Handle case when a hard reg is born before the
  3932.     current insn.
  3933.     Show we don't know the death location.
  3934.     (wipe_dead_reg): Parameters are now just register and an in/out flag.
  3935.     Death locations are now twice the insn number.
  3936.     Support hard regs that die immediately after current insn.
  3937.     Don't make REG_UNSET notes.
  3938.     (find_free_reg): Validate BIRTH and DEATH here.
  3939.     We no longer have qty_clobber.
  3940.     (post_mark_life): Eliminate CLOBBER parameter.
  3941.     (no_conflict_p): Now passed CLOBBER at start of block.  Return 0 if
  3942.     can't find death note or if R1 is a hard register.
  3943.  
  3944.     * m68k.md (divsi3, udivsi3): Remove patterns.  Using divmodsi4 and
  3945.     udivmodsi4 produces better code.
  3946.     (divmodsi4, udivmodsi4): If remainder isn't needed, use divsl/divul
  3947.     instead of divsll/divull.
  3948.  
  3949.     * integrate.c (expand_inline_function): Remove change of March 20th.
  3950.     Instead, expand args in two passes.  First, expand all that go
  3951.     into registers.  Then do those in memory with store_expr.
  3952.  
  3953.     * integrate.c (initialize_for_inline): Put the original copy of the
  3954.     address into ARG_VECTOR; the new one will be modified.
  3955.  
  3956.     * reload.c (push_reload): Handle paradoxical SUBREGs on an output
  3957.     as well as an input.
  3958.  
  3959.     * flow.c (mark_label_ref): Don't blow up when X is 0.
  3960.  
  3961.     * combine.c (make_compound_operation): Fix typos; result of 
  3962.     exact_log2 is interesting if >=0.
  3963.  
  3964.     * a29k.md (store_multiple): Allow gen_store_multiple{_no,}_bug to fail;
  3965.     we fail if they do.
  3966.  
  3967.     * reorg.c (emit_delay_sequence): Record that we deleted a BARRIER
  3968.     and restore it precisely on those occaisions.
  3969.  
  3970. Sun Mar 24 21:19:55 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3971.  
  3972.     * gcc.c (xmalloc, xrealloc): Change error message.
  3973.     * toplev.c (various): Change error messages.
  3974.  
  3975.     * final.c (final_scan_insn): Handle ASM_OUTPUT_LOOP_ALIGN.
  3976.  
  3977.     * calls.c (emit_call_1): Pass number of bytes to pop to call_pop.
  3978.     * vax.md (call_pop, call_value_pop): Use that arg.
  3979.  
  3980. Sat Mar 23 23:28:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  3981.  
  3982.     * Makefile.in (version): Run awk, not gcc, to get this value.
  3983.  
  3984. Sat Mar 23 18:04:23 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  3985.  
  3986.     * cse.c (simplify_unary_operation): Add missing cases for ABS and FFS.
  3987.  
  3988.     * alliant.md: Eliminate unneeded patterns: HImode zero_extract, 
  3989.     (set (cc0 (subreg ...))), (set (cc0) (and ...)),
  3990.     (and (zero_extend ...) ...), shift right of 24 and 16.
  3991.     Use alternatives to select assembler template when possible.
  3992.     Use const_int_operand instead of immediate_operand when
  3993.     possible to avoid explicit test for CONST_INT.
  3994.     Write add-and-branch patterns with PLUS removed, the way combine
  3995.     produces them.
  3996.  
  3997.     * rtlanal.c (refers_to_regno_p): If X is a SUBREG of a hard
  3998.     register, treat it as if it were the appropriate register.
  3999.     CLOBBER doesn't refer to anything.
  4000.     
  4001.     * final.c (final_scan_insn): Use prev_nonnote_insn, not PREV_INSN,
  4002.     to find cc0-setting insn from cc0-using insn.
  4003.  
  4004.     * global-alloc.c (find_reg): Don't look for other registers to
  4005.     renumber unless we know that we are sharing registers.
  4006.  
  4007.     * emit-rtl.c (end_sequence): Fix typo that prevented speedup of
  4008.     Dec 26th from doing anything.
  4009.  
  4010.     * toplev.c (do_abort): New function, just calls abort.
  4011.     (main): Set lang_expand_expr to address of do_abort; abort might be
  4012.     a macro that is more than just a function name.
  4013.  
  4014.     * cse.c: (qty_... variables): Refined to be undefined for indices
  4015.     less than MAX_REG.  Thus, we need not intialize them at the start
  4016.     of a basic block and can instead inialize a quantity as we create it.
  4017.     (reg_{next,prev}_eqv): These variables will now be defined only when
  4018.     reg_qty[N] != N and hence need not be initialized every block either.
  4019.     (new_basic_block): Need not initialize reg_rtx for new block; the
  4020.     only time we can inherit values from previous blocks is for hard
  4021.     regs and it doesn't matter in that case.
  4022.  
  4023.     * c-parse.y (yylex): Avoid use of size_t; it may not be defined.
  4024.     Cast alloca to (char *).
  4025.  
  4026.     * out-romp.c (update_cc): cc_status.value[12] can also be a COMPARE,
  4027.     so use reg_overlap_mentioned_p to see if an insn that modifies a
  4028.     register invalidates cc0.
  4029.  
  4030.     * reorg.c (link_cc0_insns): If next insn is a SEQUENCE, the insn
  4031.     using cc0 is the first insn in the sequence.
  4032.     (mark_target_live_regs): Don't assume that a REG_DEAD note always
  4033.     refers to a register.
  4034.  
  4035. Sat Mar 23 15:35:59 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  4036.  
  4037.     * reload1.c (reload_reg_free_before_p):
  4038.     An input reload is use before an output or output address reload.
  4039.  
  4040.     * genoutput.c (validate_insn_alternatives): New function.
  4041.     Loop over insn's alternatives to find out how many
  4042.     alternatives the insn pattern is to support.  Verify that if
  4043.     any alternatives are specified for a given operand that the
  4044.     number of alternatives match the numer of alternatives for
  4045.     this insn.
  4046.     (gen_{insn,peephole,expand,split}): Call
  4047.     `validate_insn_alternatives' after scanning the insn.  This
  4048.     sets up the value N_ALTERNATIVES for the insn so that
  4049.     `process_template' can check that the number of alternitves
  4050.     given matches the number of asm choices for `@' constructs.
  4051.  
  4052. Sat Mar 23 08:09:57 1991  Michael Meissner  (meissner at osf.org)
  4053.  
  4054.     * dbxout.c (toplevel, dbxout_init): Instead of always using `Ltext'
  4055.     as the label at the beginning of the text region, properly localize
  4056.     it, so that machines which do not put leading underscores in front
  4057.     of external names do not have a problem if the user uses `Ltext'.
  4058.     (dbxout_init): Call text_section before putting out localized
  4059.     `Ltext', in case ASM_FILE_START put us into a different section.
  4060.  
  4061. Fri Mar 22 19:26:23 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4062.  
  4063.     * a29k.md (jumpfdec): Simplify pattern to match what combine will
  4064.     produce; remove reversed pattern.
  4065.     * out-a29k.c (gen_reg_operand): Speed up by not calling
  4066.     register_operand; check register number ourself.
  4067.  
  4068.     * out-romp.c (update_cc, case CC_COMPARE): Call CC_STATUS_INIT.
  4069.     * romp.md: In pattern that sets cc0 and copies a register to another
  4070.     register, allow the output to be in memory so that we don't get an
  4071.     output reload, which will cause problems.
  4072.  
  4073.     * varasm.c (assemble_variable): Ensure DECL_INITIAL is non-zero
  4074.     before we reference it; it might be zero if -fno-common.
  4075.  
  4076. Fri Mar 22 16:11:35 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  4077.  
  4078.     * toplev.c (abort): Don't declare if defined as macro.
  4079.  
  4080. Fri Mar 22 11:49:43 1991  Tom Wood  (wood at dg-rtp.dg.com)
  4081.  
  4082.     * m88k.md (bxxu): Don't attempt to use bcnd.
  4083.     (umulsi3, ashift/and): Remove these patterns.
  4084.     (dummy): This must be a define_expand.
  4085.     * out-m88k.c (m88k_handle_pragma_token): Handle #pragma weak.
  4086.     * tm-m88k.h, tm-m88kdgux.h, tm-m88ksvr4.h, tm-v88r32.h: Various
  4087.     changes to support SVR4, including support for #pragma weak.
  4088.     (SLOW_BYTE_ACCESS): Better code if this is true.
  4089.  
  4090. Thu Mar 21 09:15:47 1991  Tom Wood  (wood at gen-rtx)
  4091.  
  4092.     * c-parse.y (MULTIBYTE_CHARS): New macro.
  4093.     (init_lex): Change to the native locale.
  4094.     (yylex): Process wide character literals and wide character string
  4095.     literals using mbtowc and mbstowcs based on MULTIBYTE_CHARS.
  4096.  
  4097. Thu Mar 21 15:46:45 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4098.  
  4099.     * rtlanal.c (dead_or_set_p): A register is dead if it is assigned
  4100.     via a SUBREG that references the all the words in the register.
  4101.  
  4102.     * tm-vax.h (CONST_OK_FOR_LETTER_P): Define `I' to be constant zero.
  4103.     (CONST_DOUBLE_OK_FOR_LETTER_P): Define `G' to be floating zero.
  4104.     (CONST_COSTS): +/- 1 should be very cheap due to decl/inc/aob/sob.
  4105.     (PRINT_OPERAND): Add `P', `N', `H', and `B'.
  4106.     * vax.md: Rework many patterns to avoid C code for output template;
  4107.     use "@" construct whenever possible.
  4108.     Use INSN_DELETED_P.
  4109.     Remove extendsidi2; the supplied pattern does exactly what convert_move
  4110.     will do when the pattern is not present.
  4111.     Use constm1_rtx to check for constant of -1.
  4112.     Add mulsidi3 and related add-multiply pattern for emul insn.
  4113.     Use const_int_operand as predicate instead of checking for CONST_INT.
  4114.     Remove unneeded (set (pc) (if_then_else (ne (and ...) ...) ...))
  4115.     patterns.
  4116.     Merge jlbs and jbs and similarly for jlbc and jbc.
  4117.     Remove unneeded reverse branch patterns for above insns.
  4118.     Rewrite patterns for add-and-branch insns to take into account
  4119.     simplifications done by combine and remove reversed cases.
  4120.     Convert peepholes for optimizing extzv followed or preceeded by andl
  4121.     into patterns for a single insn.
  4122.  
  4123. Thu Mar 21 15:46:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  4124.  
  4125.     * toplev.c (abort): Declare it.
  4126.  
  4127. Thu Mar 21 08:16:12 1991  Michael Meissner  (meissner at osf.org)
  4128.  
  4129.     * va-mips.h (whole file): Replace with the 1.39 version of this
  4130.     file, which was a total rewrite of the 1.37.1 version.  Add
  4131.     primitive support for 2.00.
  4132.  
  4133. Wed Mar 20 18:31:42 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4134.  
  4135.     * jump.c (duplicate_loop_exit_test): Make copy of contents of
  4136.     register note; if it was a REG_EQUAL note, it might have been an
  4137.     arbitrary expression and sharing it can cause problems in cse.
  4138.  
  4139.     * rtl.def (UMULT): Remove unsigned multiply code.
  4140.     * combine.c (subst, significant_bits): Remove code UMULT and
  4141.     support for indicating widening multiply with different modes
  4142.     on the MULT operation vs. its operands.
  4143.     * cse.c    (simplify_binary_operation): Remove support for widening
  4144.     multiply.
  4145.     (rtx_code, exp_equiv_p, simplify_binary_operation, cse_insn): Remove
  4146.     code UMULT.
  4147.     * function.c (instantiate_virtual_regs_1): Likewise.
  4148.     * reload1.c (eliminate_regs): Likewise.
  4149.     * local-alloc.c (block_alloc): Likewise; replace with GET_RTX_CLASS.
  4150.     * loop.c (simplify_giv_expr, expr_benefit): Remove code UMULT
  4151.     and support for widening multiply.
  4152.     * optabs.c (init_optabs): Set code of widening multiply tables
  4153.     to UNKNOWN.
  4154.  
  4155.     * a29k.md (mulsidi2, umulsidi2): Rewrite using SIGN_EXTEND and
  4156.     ZERO_EXTEND.  Also fix typo in SUBREG_WORD when splitting.
  4157.     * tm-alliant.h, tm-m68k.h (NOTICE_UPDATE_CC): Remove code UMULT.
  4158.     * alliant.md, m68.md (mulhisi3, umulhisi3): Rewrite using
  4159.     SIGN_EXTEND and ZERO_EXTEND.
  4160.     (divhisi3, udivhisi3, modhisi3, umodhisi3): Rewrite using TRUNCATE.
  4161.     * alliant.md, ns32k.md (umulsi3, umulhi3, umulqi3): Remove unneeded
  4162.     patterns that use UMULT.
  4163.     * ns32k.md (umulsidi3): Rewrite using ZERO_EXTEND.
  4164.  
  4165.     * tm-alliant.h (NOTICE_UPDATE_CC): MOD and (trunc (mod ...))
  4166.     clobber CC.
  4167.     * alliant.md (mod*, umod*): No longer need CC_STATUS_INIT.
  4168.  
  4169.     * recog.c: Include insn-attr.h.
  4170.     (general_operand): If we have insn scheduling, don't allow paradoxical
  4171.     SUBREGs since they can prevent scheduling memory references; they
  4172.     aren't helpful on RISCs anyway and can cause poor register allocation.
  4173.     * Makefile.in (recog.o): Includes insn-attr.h.
  4174.  
  4175.     * cse.c (COST): A register only in NO_REGS isn't a specially-cheap reg.
  4176.     (simplify_unary_operation, case {ZERO,SIGN}_EXTEND): If OP_MODE was
  4177.     given as VOIDmode, use MODE; allow mode size of HOST_BITS_PER_INT.
  4178.     (cse_insn): Don't make SET_SRC equal SET_DEST if doing so will cause
  4179.     two registers to be live containing the same value.
  4180.     (cse_end_of_basic_block): Count SETs in CALL_INSNs and JUMP_INSNs.
  4181.  
  4182. Wed Mar 20 15:40:48 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  4183.  
  4184.     * gcc.c (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): New macros.
  4185.     (md_exec_prefix, md_startfile_prefix): New variables.
  4186.     (process_command): Put those prefixes on the paths.
  4187.  
  4188.     * toplev.c (main): Use abort, not fancy_abort.
  4189.  
  4190.     * integrate.c (expand_inline_function): Use emit_block_move
  4191.     to copy BLKmode parm value.  Save size and alignment for this.
  4192.  
  4193.     * gnulib2.c (__builtin_saveregs)[MIPS]: Go to text section.
  4194.  
  4195.     * final.c (final_scan_insn): Don't go to text after jump-tab label.
  4196.  
  4197. Tue Mar 19 21:27:09 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4198.  
  4199.     * tm-a29k.h (SETUP_INCOMING_VARARGS): Always write registers to    
  4200.     0(ap), no matter how many named args are present.
  4201.  
  4202.     * combine.c (subst): In IF_THEN_ELSE, canonicalize to put the (pc)
  4203.     in the second operand if we can reverse the comparison.
  4204.     (significant_bits): Support TRUNCATE and SIGN_EXTEND.
  4205.  
  4206.     * tm-romp.h (CC_UNSIGNED): New flag for cc_status.
  4207.     * out-romp.c (update_cc, case CC_COMPARE): Record the operands of the
  4208.     compare and mark whether the test will be signed or unsigned.
  4209.     (restore_compare_p): New function.
  4210.     * romp.md (conditional branch and return patterns): Use new
  4211.     restore_compare_p to see if we need to tell final to reinclude
  4212.     deleted compare insn.
  4213.  
  4214.     * output.h (const_int_operand): Define.
  4215.     * recog.c (const_int_operand): New function.
  4216.     * out-a29k.c, out-romp.c, out-rs6000.c (const_int_operand): Remove from
  4217.     these.
  4218.  
  4219.     * tree.c (rtl_in_saveable_obstack): New function.
  4220.     * varasm.c (immed_double_const, immed_real_const_1): Ensure that things
  4221.     that get placed on the chain are always put into saveable_obstack.
  4222.  
  4223. Tue Mar 19 17:21:30 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  4224.  
  4225.     * stddef.h (wchar_t): New typedef.
  4226.  
  4227.     * out-sparc.c (output_block_move): Handle NO_UNDERSCORES syntax.
  4228.  
  4229.     * tm-pbd.h, xm-pbd.h: New files.
  4230.  
  4231.     * toplev.c (report_error_function): Don't crash if between functions.
  4232.  
  4233. Tue Mar 19 12:58:13 1991  Michael Tiemann  (tiemann at cygnus.com)
  4234.  
  4235.     * sched.c (memrefs_conflict_p): C was being used as offset for X,
  4236.     not for Y.  Flipping + and - in offset uses cleared up this problem.
  4237.     ({true,anti,output}_dependence): Add declaration for INSN.
  4238.     (order_calls): Interface changed; now returns void.  All callers
  4239.     changed.
  4240.     (sched_analyze_{1,2}): Make dependence between calls and
  4241.     call-clobbered registers explicit.
  4242.     (sched_analyze): Track last_function_call_not_const.
  4243.     (sched_note_set): New parameter DEATH says whether X is marked for
  4244.     death.  Also, look through SUBREGs and extractions.
  4245.     (rank_for_schedule): Stabilize for qsort.
  4246.     (attach_deaths): We should not end up with more REG_DEAD notes than
  4247.     we started with, so abort if we run out early.
  4248.     (attach_deaths_insn): Handle more complicated cases of registers
  4249.     dying in insns.
  4250.     (unlink_notes): Work from back-to-front instead of front-to-back.
  4251.     (new_sometimes_live): Fix code that looks for an element already in
  4252.     the table.
  4253.     (schedule_block): New variable TAIL_PRIORITY  used to help determine
  4254.     max IPC of scheduled code.  Also, for now we analyze (schedule) all
  4255.     blocks, even ones which won't benfit from scheduling.  This is
  4256.     necessary to keep register live info correct, but has the
  4257.     disadvantage of screwing *all* debug info, not just for the blocks
  4258.     that were scheduled.
  4259.     (update_links): Fix complicated code that was to be a simple
  4260.     head-cons to be a simple head-cons.
  4261.     (schedule_insns): Update REG_LIVE_LENGTH and REG_N_CALLS_CROSSED
  4262.     after scheduling.
  4263.  
  4264.     * sparc.md (cmpdf): Define an expand pattern for this.    (Dropped by
  4265.     mistake when converted from old-style to new-style condition codes).
  4266.  
  4267.     * out-sparc.c (singlemove_string): Catch case where `sethi' can be
  4268.     used instead of `mov'.
  4269.  
  4270.     * gcc.texinfo (Optimize Options): Add documentation about the
  4271.     `-finline' option (actually, the `-fno-inline' option).
  4272.  
  4273.     * out-sparc.c (output_block_move): Use `rtx_alloc' instead of
  4274.     `gen_rtx' to cons a CONST_INT whose INTVAL we can change.
  4275.  
  4276.     * toplev.c (main): Recognize all -O strings (i.e. -O3, -O69), not
  4277.     just -O and -O2.
  4278.  
  4279. Mon Mar 18 22:30:21 1991  Richard Stallman  (rms@mole.ai.mit.edu)
  4280.  
  4281.     * expr.c (expand_expr): For TRUTH_ANDIF_EXPR, don't use hard target
  4282.     if not optimizing.
  4283.  
  4284.     * combine.c: Fix some comments; reorder the variable declarations.
  4285.  
  4286. Mon Mar 18 12:07:03 1991  Matthew Self    (mself@next.com)
  4287.  
  4288.     * tm-next.h (WORD_SWITCH_TAKES_ARG):  Return number of args taken.
  4289.  
  4290.     * tm-next.h (CPLUSPLUS):  Deleted (obsolete).
  4291.  
  4292.     * out-next.c (flag_no_mach_text_sections, handle_pragma):
  4293.     Handle #pragma CC_NO_MACH_TEXT_SECTIONS.
  4294.  
  4295. Mon Mar 18 12:12:13 1991  Richard Stallman  (rms at goldman)
  4296.  
  4297.     * cplus-pt.c: Renamed from cplus-template.c.
  4298.     * Makefile.in (cplus-pt.o): New target.
  4299.  
  4300.     * c-typeck.c (initializer_constant_valid_p):
  4301.     Allow casts that change width only for explicit values.
  4302.     * tree.c (really_constant_p): New function.
  4303.     * expr.c (expand_expr): Handle MINUS_EXPR with EXPAND_SUM.
  4304.  
  4305.     * tm-m68k.h (FUNCTION_EXTRA_EPILOGUE): Don't normally define this.
  4306.     * out-m68k.c (use_return_insn): Don't look at FUNCTION_EXTRA_EPILOGUE.
  4307.  
  4308.     * out-sparc.c (normal_comp_operator): Replace comparison_code_p.
  4309.  
  4310. Sun Mar 17 22:53:25 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4311.  
  4312.     * m68k.md: Delete patterns now converted by combine to simpler
  4313.     patterns or otherwise obsolete.     Specifically:    ZERO_EXTRACT from
  4314.     an HImode object, setting cc0 to SUBREG or AND, umulhi3, umulsi3,
  4315.     AND of a ZERO_EXTRACT, shifts of 24 and 16 from MEM, and patterns with
  4316.     constants as first operand of comparison operator.
  4317.     Remove COMPARE except as a SET_SRC.
  4318.  
  4319.     * alliant.md, tahoe.md, rs6000.md: Remove COMPARE except as a SET_SRC.
  4320.  
  4321.     * flags.h (flag_combine_regs): Deleted.
  4322.     * toplev.c: Likewise.
  4323.     * tm-a29k.h, tm-romp.h, tm-rs6000.h (OVERRIDE_OPTIONS): No longer
  4324.     turn on flag_combine_regs.
  4325.  
  4326.     * tm-romp.h, tm-rs6000.h (SLOW_BYTE_ACCESS): Set to 1.
  4327.  
  4328.     * Makefile.in (combine.o): Include insn-codes.h and insn-attr.h.
  4329.  
  4330.     * combine.c: Major rework to support many more simplifications in
  4331.     a more regular manner and support combining three insns into two.
  4332.     The most significant changes are the following:
  4333.     (subst): Remove simplifications involving ZERO_EXTRACT, SIGN_EXTRACT,
  4334.     ZERO_EXTEND, SIGN_EXTEND, AND, and shifts.
  4335.     Call new routines below; in the case of comparisons, handle call
  4336.     find_next_use if we need to change the comparison code or the
  4337.     particular MODE_CC mode required.
  4338.     No need to ever change ASHIFT to MULT here.
  4339.     (expand_compound_operation): New function to convert
  4340.     {ZERO,SIGN}_{EXTRACT,EXTEND} into the appropriate pair of shifts.
  4341.     (make_compound_operation): New function to make
  4342.     {ZERO,SIGN}_{EXTRACT,EXTEND} operations from shifts and ANDs.
  4343.     If we are on a machine (like a Vax) that has only arithmetic shifts,
  4344.     convert logical to arithmetic shifts when it doesn't matter 
  4345.     which shift is used (simplify_shift_const canonicalizes to
  4346.     logical shifts).
  4347.     If inside an address, convert ASHIFT to MULT.
  4348.     (significant_bits): New function to determine which bits of
  4349.     a value are known to be zero.
  4350.     (simplify_and_const_int): Use significant_bits.
  4351.     Call expand_compound_operation when required.
  4352.     Handle AND of an ASHIFTRT with a constant.
  4353.     Don't make ZERO_{EXTEND,EXTRACT} here.
  4354.     (simplify_shift_const): New function to simplify a shift of an
  4355.     an object by a constant integer.
  4356.     (gen_lowpart_for_combine): When applied to a comparison operator,
  4357.     return comparison operator in requested mode.
  4358.     (simplify_set_cc0_and): Deleted.
  4359.     (try_combine): No longer call simplify_set_cc0_and.
  4360.     (reversible_comparison_p): New function.
  4361.     (simplify_comparison): New function.
  4362.  
  4363.     (combine_instructions): Allocate and initialize new vars
  4364.     reg_last_set_{table_tick,label,invalid}.
  4365.     (update_table_tick, record_value_for_reg): New functions.
  4366.     (get_last_value_validate, get_last_value): New functions.
  4367.     (record_dead_and_set_regs): Call record_value_for_reg.
  4368.  
  4369.     (find_split_point): New function to locate a place where a complex
  4370.     pattern can be split into two insns.
  4371.     (try_combine): If we are combining three insns and can't recognize the
  4372.     new pattern, try to split it.
  4373.     Call new functions below to update insn status.
  4374.     Return insn at which to continue scan.
  4375.     (adjacent_insns_p, add_links, remove_links): Deleted.
  4376.     (add_incs, add_no_conflicts, remove_death, move_deaths_2): Deleted.
  4377.     (move_deaths): Generalize to include movements in both directions.
  4378.     Update reg_first_use when we make an earlier use.
  4379.     (distribute_notes, distribute_links): New functions.
  4380.     (combine_instructions): No longer need check for LOG_LINKS
  4381.     pointing at a NOTE.
  4382.     Rescan from location indicated by try_combine, if any, when
  4383.     combining three insns.
  4384.     Update reg_first_use if we moved a use to a later insn.
  4385.  
  4386.     (try_distrib): Deleted.
  4387.     (apply_distributive_law): New function, contains code from old
  4388.     try_distrib.
  4389.     (subst): Call apply_distributive_law for applicable operations.
  4390.     Try to apply associative law.
  4391.     (combine_instructions): No longer call try_distrib.
  4392.     (dump_combine_stats, dump_combine_total_stats, combine_instructions):
  4393.     No longer count distributer statistics.
  4394.  
  4395.     (can_combine_p): New function to see if I2 or I1 is combinable.
  4396.     Be more precise about when we can combine insns involving cc0.
  4397.     Eliminate -fcombine-regs; always do it.
  4398.     (try_combine): 
  4399.     Call can_combine_p to validate I2 and I1.
  4400.     If -fexpensive-optimizations, try to simplify I1 or I2.
  4401.     Handle (set (foo) (const_int 0)) followed by a STRICT_LOW_PART
  4402.     assignment to FOO as a ZERO_EXTEND.
  4403.     (subst): Quit very early if X is a root node (like PC0).
  4404.     Remove most canonicalizations done in first switch statement; now
  4405.     done elsewhere.
  4406.     Call simplify_{unary,binary,ternary}_operation.
  4407.     Add cases involving logical and arithmetic operations applied
  4408.     to comparison operators or values with only one significant bit.
  4409.     Add more cases involving ABS since comparisons returning values
  4410.     can be done with ABS.
  4411.     Avoid generating (const (const ...) ...).
  4412.     Convert (xmult (x_extend ...) ...) to a widening multiply.
  4413.  
  4414.     (gen_rtx_combine): New function to search for an operation in
  4415.     undobuf.  Many callers to gen_rtx changed to call this function.
  4416.     (copy_substitutions): Only copy a substitution if it was placed into
  4417.     more than one location.
  4418.  
  4419. Sun Mar 17 17:26:09 1991  Richard Stallman  (rms@mole.ai.mit.edu)
  4420.  
  4421.     * c-common.c (shorten_compare): Warn for (unsigned char) == -1.
  4422.  
  4423.     * final.c (final_scan_insn): Set debug_insn before first output.
  4424.     (output_asm_insn): Clear it here.
  4425.  
  4426.     * expr.c (do_jump): Don't try to split non-integers.
  4427.  
  4428.     * fixincludes (dnetdb.h): Fix missing semi in nodeent.
  4429.     (rusers.h): Code to fix this file was duplicated.
  4430.  
  4431.     * toplev.c (decl_printable_name): Now given an extra arg.
  4432.     (decl_name): Accept that arg.
  4433.     (announce_function, report_error_function): Pass that arg.
  4434.     (error_with_decl, warning_with_decl): Likewise.
  4435.  
  4436.     * dbxout.c (getwd) [USG]: Define as macro.
  4437.  
  4438.     * c-decl.c (init_decl_processing): Indicate byte alignment for void.
  4439.  
  4440.     * expr.c (do_jump_by_parts_*): Compute nwords from compare arg.
  4441.     Pass 0 as size and alignment to compare_from_rtx.
  4442.     (do_jump_by_parts_greater): Compare high word first.
  4443.     Handle unsigned compares properly.
  4444.     Fix logic for dropping through versus failing.
  4445.  
  4446.     * expr.c (expand_builtin): Change cmpstrsi4 to cmpstrsi as in optabs.c.
  4447.  
  4448.     * c-common.c (truthvalue_conversion): Handle ptr vs int in MINUS_EXPR.
  4449.  
  4450. Sun Mar 17 15:43:48 1991  Matthew Self    (mself@next.com)
  4451.  
  4452.     Allow multiple return points in some framless functions (2/2/91):
  4453.  
  4454.     * m68k.md (return):  New insn pattern for rts (and rtd).
  4455.  
  4456.     * tm-m68k.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE,
  4457.     USE_RETURN_INSN):    Call new functions to avoid giant macros
  4458.     which are hard to edit.
  4459.  
  4460.     * out-m68k.c (output_function_prologue,
  4461.     output_function_epilogue):  New functions.
  4462.  
  4463.     * out-m68k.c (use_return_insn):     New function.    Determines
  4464.     whether the epilogue will consist of a single insn.  Some
  4465.     code was duplicated from output_function_epilogue.  There
  4466.     should be probably a new layout routine to do this common
  4467.     work.  Also #include "flags.h".
  4468.  
  4469.     *out-m68k.c (output_function_epilogue):     Don't output
  4470.     anything if the epilogue was output as RTL.  We detect this
  4471.     by the barrier insn which is always placed after a return
  4472.     insn.  This machine-independent test should probably be moved
  4473.     back into final.c and removed from out-sparc.c and out-m88k.c.
  4474.  
  4475.     * out-next.c:  Don't #include "flags.h".
  4476.  
  4477. Sun Mar 17 00:07:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4478.  
  4479.     * genemit.c (gen_exp): Support constm1_rtx.
  4480.     * genrecog.c (add_to_sequence): Likewise.
  4481.  
  4482. Sat Mar 16 17:26:58 1991  Richard Stallman  (rms@mole.ai.mit.edu)
  4483.  
  4484.     * c-lang.c (maybe_building_objc_message_expr): New dummy function.
  4485.     * c-typeck.c (warn_for_assignment): Use it.
  4486.  
  4487.     * toplev.c (compile_file): Write out all static consts that are used.
  4488.  
  4489. Sat Mar 16 14:08:12 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4490.  
  4491.     * integrate.c (subst_constants): Don't replace registers in USE or
  4492.     CLOBBER expressions.
  4493.  
  4494.     * genattrtab.c (main): Properly set up a default DEFINE_ASM_ATTRIBUTES.
  4495.  
  4496.     * cse.c (cse_insn): Correctly check for a hash table element equal to
  4497.     the destination of a SET.
  4498.  
  4499. Fri Mar 15 16:55:32 1991  Ron Guilmette (rfg at pepper.ncd.com)
  4500.  
  4501.     * Makefile.in (OBJS): Added dwarfout.o to list of things to be
  4502.     built.
  4503.  
  4504.     * Makefile.in (dwarfout.o): Added this rule.
  4505.  
  4506.     * dwarfout.c (FT_*_long_long): Added default definitions for all of
  4507.     these extended fundamental type codes to cater to plain vanilla
  4508.     <dwarf.h> file which do not define codes for these fundamental types.
  4509.  
  4510.     * dwarfout.c (TREE_UID): Added a local definition of this macro
  4511.     because gcc v2 no longer provides a definition for it and because
  4512.     dwarfout.c needs some way of getting a unique numeric code for each
  4513.     type.
  4514.  
  4515.     * dwarfout.c (CLASSTYPE_*): Added some local default definitions
  4516.     for these macros in order to get around the fact that they are
  4517.     currently defined only in cplus-tree.h (and rms wants dwarfout.c
  4518.     to be language independent).
  4519.  
  4520.     * dwarfout.c (BITFIELD_OFFSET_*): Added some local macros to help
  4521.     compute various quantities relating to bitfield offsets.
  4522.  
  4523.     * dwarfout.c (location_attribute): Changed code which outputs location
  4524.     attributes for bitfield so that it uses gcc2 macros.
  4525.  
  4526.     * dwarfout.c (byte_size_attribute): Changed code which outputs the
  4527.     byte_size attribute so that it no longer uses the obsolete
  4528.     DECL_SIZE_UNIT macro (from gcc1).
  4529.  
  4530.     * dwarfout.c:  Replaced all uses of the obsolete macro TREE_PACKED
  4531.     to uses of the new gcc2 macro DECL_BIT_FIELD.
  4532.  
  4533.     * dwarfout.c (deriv_list_attribute): Fixed typo "decl" => "type".
  4534.  
  4535.     * dwarfout.c (output_dies_for_type): Replaced bogus reference to the
  4536.     non-existant routine "output_member_function_type_die" with a proper
  4537.     reference to the routine "output_subroutine_type_die".
  4538.  
  4539.     * dwarfout.c (output_symbols_for_block): Fixed calling error which
  4540.     was introduced by rms.
  4541.  
  4542.     * dwarfout.c: Replaced all uses of the obsolete macro STMT_SUBBLOCKS
  4543.     with uses of the new gcc2 macro BLOCK_SUBBLOCKS.
  4544.  
  4545.     * dwarfout.c (output_symbol): Removed reference to TAG_DECL.  The
  4546.     use of TAG_DECLs was an early idea which didn't work out.
  4547.  
  4548.     * dwarfout.c: (dwarfout_init): Changed name from dwarfout_initialize
  4549.     because rms failed to do so when he changed the name in the call.
  4550.  
  4551. Fri Mar 15 17:22:14 1991  Richard Stallman  (rms@mole.ai.mit.edu)
  4552.  
  4553.     * c-decl.c (pushdecl): Add `%s' to some error messages.
  4554.  
  4555.     * sparc.md: Add extra assembler alternative in last change.
  4556.  
  4557.     * cse.c (simplify_unary_operation, simplify_binary_operation):
  4558.     Remove error checks that rejected SFmode.
  4559.  
  4560.     * expr.c (get_pointer_alignment): Don't lose on casts from integer
  4561.     to pointer.
  4562.  
  4563. Fri Mar 15 07:57:19 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4564.  
  4565.     * c-decl.c (pushdecl): Fix typo in previous change.
  4566.  
  4567.     * cse.c (simplify_{unary,binary}_operation): Fix usage of
  4568.     REAL_VALUE_FROM_CONST_DOUBLE in recent change.
  4569.  
  4570. Thu Mar 14 18:56:53 1991  Richard Stallman  (rms@mole.ai.mit.edu)
  4571.  
  4572.     * c-decl.c (pushdecl): Warn if mismatch with implicit decl.
  4573.  
  4574.     * final.c (final_start_function): Handle NON_SAVING_SETJMP.
  4575.     Include hard-reg-set.h.
  4576.     * function.c (setjmp_protect, setjmp_protect_args): Likewise.
  4577.     (expand_function_end): Call those if NON_SAVING_SETJMP.
  4578.  
  4579. Thu Mar 14 14:40:45 1991  James Wilson    (wilson at cygnus.com)
  4580.  
  4581.     * reload1.c (order_regs_for_reload): When REG_ALLOC_ORDER is defined,
  4582.     use that definition only to order regs, do not try to put call
  4583.     used regs first.  This eliminates the benefits of defining the macro
  4584.     in the first place.
  4585.  
  4586.     * real.h: New macros for real arithmetic, REAL_VALUE_FIX_TRUNCATE,
  4587.     REAL_VALUE_UNSIGNED_FIX_TRUNCATE, REAL_VALUE_FIX,
  4588.     REAL_VALUE_UNSIGNED_FIX.
  4589.  
  4590.     * cse.c (simplify_unary_operation): Added code to simplify floating
  4591.     point rtx.  Now simplifies UNSIGNED_FLOAT, ABS, FLOAT_TRUNCATE,
  4592.     FLOAT_EXTEND, FIX, and UNSIGNED_FIX.  Add aborts to default case
  4593.     of switches.
  4594.     (simplify_binary_operation): Added code to simplify floating point
  4595.     rtx.  Now simplifies PLUS, MINUS, MULT, and DIV.  Add aborts to
  4596.     default case of switches.
  4597.     (*): Always use REAL_VALUE_TYPE and REAL_VALUE_FROM_CONST_DOUBLE
  4598.     when extracting a floating point number from a CONST_DOUBLE.
  4599.  
  4600. Thu Mar 14 14:40:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4601.  
  4602.     * expr.c (get_pointer_alignment): Update ALIGN for NOP_EXPR.
  4603.  
  4604.     * c-decl.c (builtin_function): New arg LIBRARY_NAME.
  4605.     (initialize_decl_processing): Pass that argument.
  4606.  
  4607.     * c-decl.c (grokdeclarator): Handle C_TYPE_FIELDS_VOLATILE.
  4608.     (finish_struct): Likewise.
  4609.     * c-tree.h (C_TYPE_FIELDS_VOLATILE): Define it.
  4610.  
  4611.     * Makefile.in (gnulib1, gnulib2.portable): Test $$? after compilation.
  4612.  
  4613.     * c-typeck.c (check_format): Discard multiple NOP_EXPR levels.
  4614.  
  4615.     * objc-actions.c (build_message_expr, build_selector_expr,
  4616.     build_encode_expr, get_class_ivars, start_class):  Finding
  4617.     Objective-C code in c source files is now a fatal error.
  4618.     (They should recompile with -lang-objc.)
  4619.  
  4620.     * objc-actions.c (gen_method_decl):  Don't crash for syntax
  4621.     error in method declaration: -bar: x, y
  4622.     (encode_array):     Treat an undimensioned array the same as a pointer.
  4623.  
  4624. Thu Mar 14 07:39:30 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4625.  
  4626.     * reorg.c (try_merge_delay_insns): Previous fix had effect of 
  4627.     disabling this function.  Rework to take into account things
  4628.     needed, instead of set.     This is still somewhat of a kludge.
  4629.  
  4630.     * recog.c (apply_change_group): An insn consisting of just a USE
  4631.     or CLOBBER is always valid, but recog_memoized returns a -1 for it.
  4632.  
  4633.     * genattrtab.c: Count all definitions as well as counting insns; use
  4634.     definition # in error message.
  4635.     Most functions that accepted insn_code now accept insn_index as well
  4636.     and similarly for structures containing insn_code.
  4637.  
  4638.     * reorg.c (try_merge_delay_insns): If not an annulling branch, take 
  4639.     into account things set in the delay slot.  This prevents merging
  4640.     two increments into one.
  4641.  
  4642.     * reorg.c (dbr_schedule): Fix typo in printing statistics.
  4643.  
  4644. Thu Mar 14 02:11:56 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4645.  
  4646.     * genemit.c, genoutput.c, genrecog.c: Count all definitions
  4647.     as well as counting insns; use # of definition in error messages.
  4648.  
  4649.     * toplev.c (pipe_closed, float_signal): Give it an explicit arg.
  4650.     * cplus-decl.c (sigsegv): Likewise.
  4651.     * cccp.c (pipe_closed): Likewise.
  4652.  
  4653.     * cccp.c: Delete trigraph from comment.
  4654.  
  4655.     * Makefile.in (realclean): Delete objc parser files.
  4656.  
  4657.     * assert.h (__assert for __GNUC__): Don't return value of abort.
  4658.  
  4659. Wed Mar 13 16:12:54 1991  Richard Stallman  (rms at churchy.ai.mit.edu)
  4660.  
  4661.     * expr.c (do_jump_by_parts_greater): Don't lose if labels are 0.
  4662.  
  4663.     * cplus-edsel.c: New name for cplus-cadillac.c.
  4664.     * Makefile.in (cplus-edsel.o): Fix the compilation rule.
  4665.  
  4666. Wed Mar 13 06:47:53 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4667.  
  4668.     * reorg.c (mark_set_resources): Any registers mentioned in REG_INC
  4669.     notes are set by an INSN.
  4670.  
  4671.     * flags.h (flag_expensive_optimizations): Add new flag.
  4672.     * toplev.c: Support -fexpensive-optimizations and turn on for -O2.
  4673.     * stmt.c (preserve_subexpressions_p): Use flag_expensive_optimizations
  4674.     instead of testing for -O2 explicitly.
  4675.  
  4676.     * expr.h (operand_subword): Add missing declaration.
  4677.  
  4678.     * reload1.c (eliminate_regs): Handle INSN_LIST (found in REG_NOTES).
  4679.  
  4680.     * tm-i386.h (RETURN_POPS_ARGS): Don't call aggregate_type_p with 
  4681.     IDENTIFIER_NODE.
  4682.  
  4683. Wed Mar 13 00:00:29 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4684.  
  4685.     * optabs.c (expand_binop, expand_unop): If wordwise, make target non0.
  4686.  
  4687. Tue Mar 12 15:24:09 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4688.  
  4689.     * fixincludes: Quote the # in an echo.
  4690.     * fixincludes: Fix typos handling size_t and ptrdiff_t.
  4691.     * fixincludes (sys/file.h): Fix incorrect conditional in Ultrix.
  4692.  
  4693.     * c-typeck.c (initializer_constant_valid_p): Allow NON_LVALUE_EXPR.
  4694.     Return a tree that indicates the relocation.
  4695.     All callers changed.
  4696.  
  4697.     * jump.c (jump_optimize): Rerecognize jump insn after inverting it.
  4698.  
  4699.     * expr.c (do_jump):
  4700.     Use can_compare_p on the operand mode, not the comparison's mode.
  4701.  
  4702.     * reload.c (subst_reloads): Fix dumb error in last change.
  4703.  
  4704.     * expr.c (do_jump_by_parts_equality*): Fix logic errors.
  4705.  
  4706. Mon Mar 11 14:27:40 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4707.  
  4708.     * reload.c (subst_reloads): Don't make subregs, just new regs.
  4709.  
  4710.     * expr.c (do_jump_by_parts_equality, do_jump_by_parts_greater):
  4711.     (do_jump_for_compare, do_jump_by_parts_equality_rtx): New functions.
  4712.     (do_jump): Use them to handle wide values.
  4713.     * optabs.c (can_compare_p): New function.
  4714.  
  4715.     * reload1.c (emit_reload_insns): Don't make subreg around RELOADREG;
  4716.     just make a new REG.
  4717.  
  4718.     * cse.c, varasm.c: Fix typos.
  4719.  
  4720.     * sparc.md (move SI to reg_or_nonsymb_mem_operand):
  4721.     Separate third alternative into two alternatives.
  4722.     * tm-sparc.h (PREFERRED_RELOAD_CLASS): Return CLASS as given.
  4723.  
  4724.     * optabs.c (operand_subword): Fix typo.
  4725.  
  4726.     * longlong.h (__umulsidi3): Return .ll field.
  4727.  
  4728. Mon Mar 11 11:43:21 1991  Jeffrey A. Law  (law at mole.ai.mit.edu)
  4729.  
  4730.     * make-hp9k2bsd: New file.
  4731.     * configure (hp9k200-bsd): Use it.
  4732.  
  4733. Mon Mar 11 07:08:12 1991  Michael Tiemann  (tiemann at cygnus.com)
  4734.  
  4735.     * cplus-lex.c (check_newline): Clear TREE_INT_CST_HIGH once instead
  4736.     of clearing TREE_INT_CST_LOW twice.
  4737.  
  4738. Mon Mar 11 06:51:52 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4739.  
  4740.     * flow.c (mark_used_regs): If we are going to use a later
  4741.     register to auto-increment, make sure it really is a REG.
  4742.     In the case above, count any calls crossed by the new register.
  4743.  
  4744.     * global-alloc.c (global_conflicts): Mark registers modified by
  4745.     virtue of a REG_INC note as modified in the insn to make conflicts.
  4746.     (mark_reg_store): Accept SETTER value of 0.
  4747.  
  4748. Sun Mar 10 16:56:25 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4749.  
  4750.     * optabs.c (operand_subword): New function to get one word of operand.
  4751.     (expand_binop, expand_unop): Use it for word at a time case.
  4752.  
  4753.     * configure (a29-bsd*): Renamed from a29-sysv*.
  4754.  
  4755.     * expr.c (emit_library_call): Handle GNULIB_NEEDS_DOUBLE.
  4756.     * tm-i860.h (GNULIB_NEEDS_DOUBLE): Define it.
  4757.  
  4758.     * tm-harris.h (ASM_FILE_START): Output a .file.
  4759.  
  4760.     * reload1.c (constraint_accepts_reg_p): Understand reg classes.
  4761.  
  4762. Sun Mar 10 06:58:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4763.  
  4764.     * expr.c (move_by_pieces, move_by_pieces_ninsns, emit_push_insn):
  4765.     If SLOW_UNALIGNED_ACCESS is defined, respect alignment even if
  4766.     STRICT_ALIGNMENT is not defined.
  4767.     * tm-a29k.h (SLOW_UNALIGNED_ACCESS): Define this.
  4768.  
  4769. Sun Mar 10 02:57:40 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4770.  
  4771.     * cccp.c (handle_directive): If pass_thru and -C, print the
  4772.     input before removing comments from it.
  4773.  
  4774. Sat Mar     9 21:18:48 1991  Torbjorn Granlund  (tege at musta.nada.kth.se)
  4775.  
  4776.     * gnulib2.c (div_qrnnd, __umulsidi3, lowpart, highpart, B): Move
  4777.     to longlong.h.
  4778.     (udiv_qrnnd): New name of div_qrnnd.  Rewrite to work correctly.
  4779.     (file header): Remove obsolete comment about internal format.
  4780.     (bits): Remove this function.  count_leading_zeros in longlong.h
  4781.     is similar.
  4782.     (__udivdi3): Use count_leading_zeros instead of bits.
  4783.     (__udivdi3): Use umul_ppmm instead of __umulsidi3, as this makes
  4784.     better code.
  4785.  
  4786. Sat Mar     9 18:02:47 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4787.  
  4788.     * jump.c (jump_optimize): Avoid looking at PATTERN of NOTE
  4789.     or CODE_LABEL.
  4790.  
  4791.     * reload1.c (reg_is_output_reload, count_for_*groups): Use
  4792.     HARD_REG_SET instead of array to avoid bzero calls.
  4793.     (reload_reg_used*): Likewise.
  4794.  
  4795.     * emit-rtl.c (gen_rtx, init_emit_once): Pre-compute CONST_INTs
  4796.     from -64 to 64 to save space.
  4797.  
  4798. Sat Mar     9 14:28:37 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4799.  
  4800.     * reload1.c (choose_reload_regs): Fix typo in last change.
  4801.  
  4802. Sat Mar     9 01:03:01 1991  Michael Tiemann  (tiemann at cygnus.com)
  4803.  
  4804.     * cplus-decl.c (pushtag): Don't call `pushdecl' for nested type if
  4805.     the type is already defined.
  4806.  
  4807. Fri Mar     8 17:24:20 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4808.  
  4809.     * ns32k.md, vax.md (right shift patterns): When generating a right
  4810.     shift, use xSHIFTRT but use (neg x) as the shift count to
  4811.     more accurately represent what is supported by the machine.
  4812.  
  4813.     * expmed.c (emit_store_flag): Can't narrow result of scc insn before
  4814.     normalizing.
  4815.  
  4816. Fri Mar     8 12:56:41 1991  Michael Tiemann  (tiemann at cygnus.com)
  4817.  
  4818.     * cplus-class.c (pushclass): Set CURRENT_FUNCTION_DECL to
  4819.     appropriate value so that pushtag does the right thing for tags
  4820.     pushed into scope.
  4821.  
  4822. Fri Mar     8 02:47:53 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4823.  
  4824.     * gcc.c (delete_temp_files): Delete only ordinary files.
  4825.  
  4826.     * tree.c, cplus-tree.c (TYPE_HASH): 777777 was supposed to be octal.
  4827.  
  4828.     * reload1.c (choose_reload_regs): Properly ensure EQUIV
  4829.     is free and of the desired class.
  4830.     When a reload may be a group, mark all its regs in use.
  4831.  
  4832.     * reload.c (push_reload): Don't call reg_overlap_mentioned_p
  4833.     unless IN is a REG or MEM.
  4834.  
  4835.     * c-common.c, cplus-search.c, cplus-class.c (NULL):
  4836.     Undef before defining.
  4837.  
  4838.     * sdbout.c (sdbout_one_type): Don't temporarily clear KNOWN_TYPE_TAG.
  4839.  
  4840. Thu Mar     7 10:53:32 1991  Tom Wood  (wood at dg-rtp.dg.com
  4841.  
  4842.     * toplev.c (main): Add -dp: annotate the assembly with a comment
  4843.     describing the pattern and alternative used.  Also, make -dm work
  4844.     for USG systems.
  4845.     * genoutput.c (output_epilogue): Output the array `insn_name'.
  4846.     * final.c (debug_insn, final_scan_insn): Record the value of the
  4847.     last insn processed by final_scan_insn.
  4848.     (output_asm_insn): Annotate the assembly output.
  4849.     (ASM_COMMENT_START): Provide a default value.
  4850.     * tm-att386.h, tm-bsd386.h, tm-sun386.h (ASM_COMMENT_START):
  4851.     Specify "/".
  4852.  
  4853. Thu Mar     7 06:15:04 1991  Michael Tiemann  (tiemann at cygnus.com)
  4854.  
  4855.     * cplus-class.c (propagate_basetype_offsets): Check ASSOC_TYPE in
  4856.     addition to return value from assoc value before aborting.   ???
  4857.     should figure out why assocs are not shared.
  4858.  
  4859. Wed Mar     6 16:29:37 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4860.  
  4861.     * c-decl.c (NULL): Undef before defining.
  4862.  
  4863.     * cccp.c (do_include): Allocate file name permanently.
  4864.  
  4865. Wed Mar     6 09:06:39 1991  Tom Wood  (wood at dg-rtp.dg.com)
  4866.  
  4867.     * m88k.md (and/ashift): Added for the new combine.c (ashift/and
  4868.     works with the previous version).
  4869.     (bcnd insns): Use bcnd to test for sign and zero.
  4870.     (muldf3, divdf3): Use new method to deal with a power of two.
  4871.     (andsi3, iorsi3, xorsi3): Split into two insns for some constants.
  4872.     (call, call_value): Deal properly with a CONST_INT address.
  4873.     * out-m88k.c (call_address_operand): Don't allow CONST_INT.
  4874.     (uses_arg_area_p): New function for -moptimize-arg-area.
  4875.     * tm-m88k.h (TARGET_SWITCHES): Delete -mpic in favor of -fpic.
  4876.     Add -moptimize-arg-area and -mno-optimize-arg-area.
  4877.  
  4878. Wed Mar     6 00:07:09 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4879.  
  4880.     * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Takes input and output args.
  4881.     * integrate.c (copy_for_inline, copy_rtx_and_substitute):
  4882.     (restore_constants): Calls changed.
  4883.  
  4884. Tue Mar     5 23:06:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4885.  
  4886.     * stmt.c (fixup_gotos): Handle jumping to end of rtl.
  4887.  
  4888.     * c-decl.c (store_parm_decls): If -traditional,
  4889.     allow unsigned int in prototype in place of int.
  4890.  
  4891.     * cplus-cadillac.c: Delete all but the stubs.
  4892.  
  4893. Tue Mar     5 16:59:18 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4894.  
  4895.     * jump.c (jump_optimize): Handle case of only NOTE insns after
  4896.     NOTE_INSN_LOOP_BEG.
  4897.     (duplicate_loop_exit_test): Return 0 when we hit a block
  4898.     start or end, rather than quitting loop and getting confused.
  4899.  
  4900.     * integrate.c (subst_constants): Correctly move constants to
  4901.     second operand of commutative operations.
  4902.  
  4903.     * jump.c (comparison_code_p): Deleted.
  4904.     * combine.c (subst): Use GET_RTX_CLASS instead of comparison_code_p.
  4905.     * cse.c (find_comparison_args): Likewise.
  4906.     * recog.c (comparison_operator): Likewise.
  4907.     * loop.c (get_condition): Likewise.
  4908.  
  4909. Tue Mar     5 14:21:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4910.  
  4911.     * cse.c (fold_rtx): When checking for constant pool addresses,
  4912.     handle addresses constructed from LO_SUM.
  4913.  
  4914.     * recog.c (constrain_operands): If before reload, `m' and `o'
  4915.     accept all that could be reloaded to fit those constraints.
  4916.  
  4917.     * reload1.c (gen_input_reload): Return the first insn emitted by
  4918.     this function, instead of the last insn emitted.
  4919.  
  4920.     * stmt.c (expand_end_loop): When move exit test to loop bottom,
  4921.     also move a preceeding NOTE_INSN_LOOP_CONT note if it exists.
  4922.  
  4923.     * gcc.c (process_command): Check for running out of args after option.
  4924.  
  4925.     * out-mips.c, out-romp.c: Test BYTES_BIG_ENDIAN with #if.
  4926.     * tm-i860.h (*_BIG_ENDIAN): Define as 0.
  4927.     * tm-mips-news.h (BYTES_BIG_ENDIAN, WORDS_BIG_ENDIAN): Deleted.
  4928.     (DECSTATION): Deleted.
  4929.  
  4930.     * tm-mips.h: Test WORDS_BIG_ENDIAN with #if.
  4931.  
  4932.     * tm-mips.h, tm-sparc.h, tm-spur.h (CONST_DOUBLE_OK_FOR_LETTER_P):
  4933.     Use CONST_DOUBLE_LOW and CONST_DOUBLE_HIGH.
  4934.  
  4935.     * real.h: dconst0, dconst1, dconstm1 are declared twice.
  4936.     Eliminate the second redundant declaration.
  4937.  
  4938.     * cse.c (FIXED_REGNO_P): Exclude OVERLAPPING_REGNO_P registers.
  4939.  
  4940.     * cccp.c (path_include): Handle empty names in path.
  4941.  
  4942.     * final.c: Use gvarargs.h, not varargs.h
  4943.  
  4944.     * configure (i860, i860-bsd): Handle +gas.
  4945.     * tm-i860g.h, tm-i860bsdg.h: New files.
  4946.  
  4947. Mon Mar     4 22:41:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4948.  
  4949.     * cse.c (simplify_unary_operation): When making a real const, use MODE.
  4950.  
  4951. Mon Mar     4 21:35:47 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  4952.  
  4953.     * cse.c (cse_end_of_basic_block): Correctly handle case where
  4954.     we find a "new" branch to follow.
  4955.     (cse_end_of_basic_block, cse_main, cse_basic_block): PATH_SIZE
  4956.     is now actual size, not size - 1.
  4957.  
  4958. Mon Mar     4 06:44:27 1991  Michael Tiemann  (tiemann at cygnus.com)
  4959.  
  4960.     * cplus-decl.c (poplevel): Change test for whether to clobber the
  4961.     DECL_CONTEXT of local variables.  Now we won't clobber context for
  4962.     any nested types.
  4963.  
  4964. Mon Mar     4 00:39:11 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4965.  
  4966.     * jump.c (jump_optimize): When deleting x=y after y=x,
  4967.     don't delete more than one death note, and don't delete any
  4968.     unless we really do delete x=y.
  4969.  
  4970.     * cccp.c (main): Support -lang-objc++.
  4971.     Eliminate compilation parameter CPLUSPLUS.
  4972.  
  4973.     * cccp.c (main): Handle leading or trailing space in `predefs'.
  4974.  
  4975.     * fixincludes: Fix typos handling size_t and ptrdiff_t.
  4976.  
  4977. Sun Mar     3 16:41:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  4978.  
  4979.     * cccp.c (main): Handle multiple spaces, and tabs, in `predefs'.
  4980.     * gcc.c (do_spec_1):  Allow extra whitespace in CPP_PREDEFINES.
  4981.     Also transform -Dfoo=bar into -D__foo__=bar correctly.
  4982.  
  4983.     * varasm.c (assemble_zeros): Use ASM_BYTE if defined.
  4984.  
  4985.     * reload1.c (reload): Only special-case a spill reg alone in a class
  4986.     if there is non-group need for that class.  Be careful not to count
  4987.     a reg in the usual place if it was counted in the special case.
  4988.  
  4989.     * reload1.c (order_regs_for_reload): Make fixed regs and
  4990.     eliminable regs twice as bad as explicitly mentioned regs.
  4991.  
  4992.     * reload1.c (choose_reload_regs): Fix typos in last change.
  4993.  
  4994.     * c-decl.c (init_decl_processing):
  4995.     Return type of memcpy varies if -traditional.
  4996.     (ptr_ftype_ptr_cptr_sizet): Global var deleted.
  4997.  
  4998.     * reload1.c (emit_reload_insns): When updating reg_reloaded_contents,
  4999.     first always clear, then maybe store nonzero value.
  5000.  
  5001. Sun Mar     3 16:12:17 1991  Ken Raeburn  (raeburn at watch.com)
  5002.  
  5003.     * cplus-template.c (mangle_class_name_for_template): Add two
  5004.     leading underscores, to avoid conflicts with programmer's names.
  5005.  
  5006.     * cplus-tree.h (struct lang_identifier): New field `template'
  5007.     points to template info from which this identifier was
  5008.     constructed.
  5009.  
  5010.     * cplus-template.c (current_template_expansion,
  5011.     current_template_name): Variables deleted.
  5012.  
  5013.     * cplus-template.c (lookup_template_class): Top half of old
  5014.     instantiate_template; returns the id_node.
  5015.     (instantiate_template): Takes the id_node as argument now.
  5016.     * cplus-parse.y (template rules): Use separate rule for checking
  5017.     whether expansion is required.    For base classes, always try it;
  5018.     else do it only if `{' is not next token.
  5019.     (template_type_name): New nonterminal for template class name
  5020.     without expansion.
  5021.     (template_type): Includes expansion, if needed.
  5022.  
  5023.     * cplus-input.c (input_from_saved_text): Deleted.
  5024.     * cplus-template.c (instantiate_template): Call feed_input directly.
  5025.  
  5026.     * cplus-parse.y (base_class_visibility_list): Now type <itype>,
  5027.     cast to tree in base_class action.
  5028.  
  5029. Sun Mar     3 07:46:55 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5030.  
  5031.     * expr.c (do_store_flag): Consider A & single-bit as cheap.
  5032.  
  5033.     * fold-const.c (operand_equal_p): If ARG0 and ARG1 are the same
  5034.     SAVE_EXPR, they are equal.
  5035.  
  5036.     * function.c (fixup_var_refs_1): Move mispositioned code in
  5037.     (set (zero_extract ...) ...) case; fix incorrect indentation.
  5038.  
  5039. Sun Mar     3 01:11:46 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5040.  
  5041.     * cccp.c (include_defaults, cplusplus_include_defaults):
  5042.     Use STANDARD_INCLUDE_DIR.
  5043.     (STANDARD_INCLUDE_DIR): Define by default as /use/include.
  5044.     * tm-mips.h (STANDARD_INCLUDE_DIR): Define, if MIPS_BSD43.
  5045.     (CPP_SPEC): Don't do -I to handle -ZSYSV, -ZBSD43.
  5046.  
  5047. Sat Mar     2 17:20:57 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5048.  
  5049.     * expr.c (expand_expr, case COND_EXPR): Remove unneeded calls to
  5050.     safe_from_p in A ? A : FOO cases.
  5051.  
  5052. Sat Mar     2 16:14:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5053.  
  5054.     * reload1.c (choose_reload_regs): Support subreg as reload_override_in.
  5055.     Likewise reload_reg_rtx.  Just don't use REGNO on them.
  5056.     (emit_reload_insns): Handle subreg as OLDEQUIV.
  5057.  
  5058.     * reload1.c (delete_output_reload): Pass the output reload insn,
  5059.     not a spill reg index.    Call in emit_reload_insns changed.
  5060.     (emit_reload_insns): Don't actually update spill_reg_store
  5061.     till after all reload insns have been made.
  5062.  
  5063.     * reload.c (push_reload): If existing reload has a reload reg,
  5064.     make sure it fits the class of this reload.
  5065.  
  5066.     * stmt.c (fixup_gotos): Fix typo in last change.
  5067.  
  5068.     * reload1.c (choose_reload_regs): Don't use equiv reg
  5069.     that is clobbered in this insn.
  5070.  
  5071. Sat Mar     2 12:19:19 1991  Michael Tiemann  (tiemann at cygnus.com)
  5072.  
  5073.     * cplus-dem.c (optable): Add op for `operator,'.
  5074.  
  5075.     * toplev.c (main): Clear WARN_INLINE if FLAG_NO_INLINE is nonzero.
  5076.  
  5077.     * cplus-typeck.c (c_expand_return): Perform conversion to reference
  5078.     in time that we can warn about the return of more non-lvalues.
  5079.     Also, fix what appeared to be bugs in the code dealing with
  5080.     WHATS_RETURNED.
  5081.  
  5082. Sat Mar     2 00:11:18 1991  Ken Raeburn  (raeburn at watch.com)
  5083.  
  5084.     * cplus-parse.y (base_class): Base class may be a template class.
  5085.     Split off non-visibility portion into base_class.1.
  5086.  
  5087.     * cplus-parse.y: Replaced PUBLIC, PRIVATE, PROTECTED with a single
  5088.     terminal VISSPEC, with <itype> value, to simplify parser slightly.
  5089.     * cplus-parse.h (enum rid): Added values for VISSPEC terminal.
  5090.     * cplus-lex.c (is_reserved_word): Changed token types to VISSPEC,
  5091.     rid values as appropriate.
  5092.     (yylex): For VISSPEC, set itype value rather than ttype.
  5093.  
  5094. Fri Mar     1 21:50:23 1991  Ken Raeburn  (raeburn at watch.com)
  5095.  
  5096.     * cplus-parse.y (.set_base_init): Discarded `preserve' code, which
  5097.     was doing nothing.
  5098.  
  5099. Fri Mar     1 19:01:25 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5100.  
  5101.     * reorg.c (redundant_insn_p): Rename second arg to TARGET.
  5102.     Handle the case where TARGET is a SEQUENCE.
  5103.     (mark_target_live_regs): Don't get confused by registers conditionally
  5104.     set in a JUMP_INSN when looking for regs set before used.
  5105.  
  5106. Thu Feb 28 17:25:59 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5107.  
  5108.     * loop.c (check_dbra_loop): Replace code that thinks it knows
  5109.     exactly what the RTL looks like (and gets it wrong) with call
  5110.     to get_condition_for_loop.
  5111.  
  5112. Thu Feb 28 16:35:21 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5113.  
  5114.     * c-typeck.c (build_compound_expr): Convert array to pointer.
  5115.  
  5116. Wed Feb 27 15:46:54 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5117.  
  5118.     * gnulib1.c (FLOAT_ARG_TYPE, FLOATIFY): New macros.
  5119.     (__*sf*): Use them for `float' args.
  5120.  
  5121.     * stmt.c (expand_end_case):
  5122.     Test value of HAVE_casesi and HAVE_tablejump at runtime.
  5123.  
  5124.     * stmt.c (fixup_gotos): Check that jump into bindings
  5125.     really comes from before the start of the bindings.
  5126.     Use TREE_REGDECL to indicate error message printed.
  5127.  
  5128. Wed Feb 27 15:01:51 1991  Ken Raeburn  (raeburn at watch.com)
  5129.  
  5130.     * cplus-template.c (end_template_decl): Store correct name in new
  5131.     decl.  Use pushdecl, not pushtag.
  5132.     (instantiate_template): Use identifier's global value, not its
  5133.     type.  Pass back both template and new class in token value.
  5134.     * cplus-lex.c (identifier_type): Templates now have type
  5135.     TEMPLATE_DECL, not TYPE_DECL wrapped around a TEMPLATE_DECL.
  5136.  
  5137. Wed Feb 27 06:27:45 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5138.  
  5139.     * loop.c (replace_regs): Don't make nested SUBREGs.
  5140.  
  5141.     * reload.c (push_reload): SUBREG_LOC applies only to INLOC, not OUTLOC.
  5142.  
  5143.     * cse.c (simplify_binary_operation): Simplify A&A, A|A, and A^A.
  5144.  
  5145.     * reload.c (find_reloads_address_1): Correctly handle (post_inc (mem)).
  5146.  
  5147. Tue Feb 26 21:49:15 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5148.  
  5149.     * expmed.c (store_bit_field, extract_bit_field):  Calls to
  5150.     get_best_mode were passing alignment in bytes rather than
  5151.     alignment in bits.
  5152.  
  5153.     * flags.h (flag_pedantic_errors): Declare it.
  5154.  
  5155.     * c-tree.h (C_TYPEDEF_EXPLICITLY_SIGNED): New flag.
  5156.     * c-decl.c (grokdeclarator): Record that flag in new typedefs.
  5157.     Check it when determining signedness of bitfields.
  5158.  
  5159.     * expr.c (expand_expr): In A ? A : B, make output safe from A and B.
  5160.  
  5161.     * reload.c (find_reloads_address, find_reloads_address_1):
  5162.     Reload any reg that appears in a clobber in the same insn.
  5163.     (regno_clobbered_p): New function.
  5164.  
  5165. Tue Feb 26 21:41:43 1991  Michael Tiemann  (tiemann at cygnus.com)
  5166.  
  5167.     * expr.c (expand_expr): Add missing arg to exapnd_exit_loop in
  5168.     EXIT_EXPR case.
  5169.  
  5170. Tue Feb 26 14:35:47 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5171.  
  5172.     * c-decl.c (grokdeclarator): Check pedantic error last.
  5173.  
  5174.     * tm-i386.h (STRUCT_VALUE, STRUCT_VALUE_INCOMING): Value is 0.
  5175.     (RETURN_POPS_ARGS): Pop the structure return pointer here.
  5176.     * out-i386.c (function_epilogue):
  5177.     current_function_pops_args says how many args to pop.
  5178.  
  5179.     * tm-i386.h (CC_Z_IN_NOT_C): New cc flag.
  5180.     * i386.md (je and jne patterns): Handle this flag.
  5181.     (pattern using bt insns): Set the flag.
  5182.     Output test insn instead if bit number is constant.
  5183.     (insv): Changed constraint.
  5184.  
  5185.     * tm-i386.h (enum reg_class): Define ABCI_REGS.
  5186.     (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Support ABCI_REGS.
  5187.     Fix the contents for ABC_REGS.
  5188.     (REG_CLASS_FROM_LETTER): Define `x' for ABCI_REGS.
  5189.     * i386.md (divsi3, udivsi3): Use `xm' for operand 2 constraint.
  5190.     (divhi3, udivhi3, divmod*, udivmod*): Likewise.
  5191.  
  5192.     * cccp.c (pedwarn): Declare as void.
  5193.  
  5194. Tue Feb 26 06:41:34 1991  Michael Tiemann  (tiemann at cygnus.com)
  5195.  
  5196.     * tree.h (IDENTIFIER_VIRTUAL_P): New macro for IDENTIFIER_NODE.
  5197.     Nonzero means that this identifier is used by a function declared
  5198.     virtual.
  5199.     * cplus-decl.c (grokfndecl): Set IDENTIFIER_VIRTUAL_P instead of
  5200.     DECL_VIRTUAL_P.
  5201.     * cplus-search.c (get_first_matching_virtual): Test
  5202.     IDENTIFIER_VIRTUAL_P instead of DECL_VIRTUAL_P.
  5203.  
  5204.     * cplus-decl.c (pushtag): Handle classes which are nested in
  5205.     function scope (as opposed to class scope).
  5206.     (lookup_nested_type): Ditto.
  5207.     * cplus-method.c (build_overload_nested_name): Ditto.
  5208.  
  5209.     * cplus-decl.c (grokdeclarator): Only globalize non-nested classes
  5210.     declared in class scope (i.e., don't globalize in function scope).
  5211.  
  5212. Tue Feb 26 06:11:37 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5213.  
  5214.     * a29k.md (storem): Fix typo in operand number.
  5215.  
  5216.     * expr.c (do_store_flag): Add missing cast required for some compilers.
  5217.  
  5218.     * tm-a29k.h (REG_CLASS_*, REGNO_REG_CLASS): Add new class Q_REGS
  5219.     and constraint letter `q' for the Q register.  Requested by tege.
  5220.  
  5221.     * tm-a29k.h (PRINT_OPERAND_ADDRESS): Allow short constant as address.
  5222.  
  5223. Mon Feb 25 20:46:43 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5224.  
  5225.     * expr.c (expand_expr): In handling A : A ? FOO, use safe_from_p
  5226.     against FOO.  Fix many incorrect operand refs in A : FOO ? A.
  5227.  
  5228.     * sdbout.c (plain_type_1): Record type name only if using forward refs.
  5229.  
  5230.     * reload.c (find_reloads): Mark those RELOAD_OTHER reloads
  5231.     that are used for output addresses, for choose_reload_regs.
  5232.  
  5233.     * integrate.c (copy_rtx_and_substitute):
  5234.     Copy REG_USERVAR_P from original regs to new regs.
  5235.  
  5236.     * c-typeck.c (digest_init): Handle STRING_CST before same-type case.
  5237.  
  5238. Mon Feb 25 13:31:51 1991  Michael Tiemann  (tiemann at cygnus.com)
  5239.  
  5240.     * cplus-decl.c (grokdeclarator): Handle the identification of
  5241.     constructors declared in nested scope.
  5242.  
  5243. Mon Feb 25 06:27:28 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5244.  
  5245.     * reorg.c (next_insn_no_annul): New function.
  5246.     (mark_set_resources, mark_target_live_regs): Don't count insns from
  5247.     the target of a branch if the branch is annulling.
  5248.  
  5249.     * expmed.c (emit_store_flag): Get new register for target if
  5250.     preserve_subexpressions_p returns nonzero.
  5251.     Convert to desired mode, then normalize, instead of doing it
  5252.     the other way around; this allows better combining.
  5253.  
  5254. Sun Feb 24 20:07:02 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5255.  
  5256.     * cse.c (find_comparison_args): Fix indentation and misplaced paren.
  5257.  
  5258.     * Makefile.in (install-headers): Remove extraneous parens from
  5259.     uses of shelllibsubdir.
  5260.  
  5261. Sun Feb 24 15:49:42 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5262.  
  5263.     * loop.c (check_dbra_loop): Win if loop biv is used only for counting.
  5264.  
  5265.     * cccp.c (struct definition): Record file and line.
  5266.     (create_definition): Store that information.
  5267.     (do_define): Identify location of previous definition.
  5268.     (pedwarn_with_file_and_line): New function.
  5269.  
  5270. Sat Feb 23 13:36:13 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5271.  
  5272.     * c-decl.c (grokdeclarator): Error for `signed void', etc.
  5273.     Warning for `signed my_int', and only if pedantic.
  5274.  
  5275.     * toplev.c (warn_cast_align): New flag, with -W option.
  5276.     * c-typeck.c (build_c_cast): Warn if target alignment increases.
  5277.  
  5278. Sat Feb 23 10:22:03 1991  Michael Tiemann  (tiemann at cygnus.com)
  5279.  
  5280.     * cplus-type2.c (store_init_value): Global variables must be
  5281.     specially initialized in PIC under SunOS.
  5282.  
  5283.     * cplus-dbxout.c (dbxout_tags): Test that the tag's value has not
  5284.     been cleared before trying to use it as a type.     This happens when a
  5285.     class starts out looking like a nested class, but turns out to be a
  5286.     reference to an implicitly defined global class.
  5287.  
  5288. Sat Feb 23 06:16:44 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5289.  
  5290.     * jump.c (true_regnum): If given a pseudo not assigned a hard reg,
  5291.     return the pseudo register number.
  5292.  
  5293.     * out-rs6000.c (update_cc): Remove CC_REVERSE and CC_NONNEG.
  5294.     * rs6000.md (define_attr "cc"): Remove reverse.
  5295.     (cmpsi): Only allow second arg to be a constant.
  5296.     Remove some unneeded comparison patterns.
  5297.  
  5298.     * rs6000.md (misc logical patterns): Only add CLOBBER for MQ
  5299.     when we really clobber it; we used to do so in more cases to
  5300.     work around a since-fixed restriction in combine.c
  5301.  
  5302.     * rs6000.md (extend*): Use DEFINE_EXPAND instead of a pattern
  5303.     that generates two insns.  Remove (sign_extend (ashift ..) ...)
  5304.     and similar patterns; no longer neeed.
  5305.  
  5306.     * rs6000.md (fma instruction): Add missing single-precision case.
  5307.  
  5308.     * out-rs6000.c (print_operand, case 's' and 'S'): Truncate to low-order
  5309.     5 bits.
  5310.  
  5311.     * out-rs6000.c (output_prolog, output_epilog): Correct code to handle
  5312.     large stack frames; used 65535 instead of 32767 and had a typo.
  5313.  
  5314.     * tm-romp.h (CC_IN_NOT_TB): Deleted.
  5315.     * out-romp.c (update_cc): No longer need CC_REVERSE, CC_NONNEG, or
  5316.     CC_NOTTBIT.
  5317.     (print_operand): Remove use of CC_IN_NOT_TB.
  5318.     * romp.md (define_attr "cc"): Remove reverse,nonneg, and nottbit.
  5319.     (mttbi): Remove redundant pattern.
  5320.     (cmpsi): First arg can only be register_operand.
  5321.     Remove some unneeded COMPARE patterns.
  5322.     
  5323.     * romp.md (movhi): Use zero-extend, not sign-extend load.
  5324.  
  5325.     * out-romp.c: (float_conversion): Allow CONST_INT as operand.
  5326.  
  5327.     * out-romp.c (first_reg_to_save): Ensure we save r14 if we use it.
  5328.  
  5329.     * a29k.md (divsf3): Fix typo in name; was divds3.
  5330.  
  5331.     * tm-a29k.h: Add new -mno-storem-bug and TARGET_NO_STOREM_BUG.
  5332.     (TARGET_SWITCHES): -m29050 turns on -mno-storem-bug.
  5333.     * a29k.md: (store_multiple_bug): New pattern to work around chip bug.
  5334.     (store_multiple_no_bug): New name for original pattern.
  5335.     (store_multiple): Choose depending on TARGET_NO_STOREM_BUG.
  5336.     (storem patterns): Two cases, with and without bug.
  5337.  
  5338.     * a29k.md (extend*): Don't define single insn for sign_extend.
  5339.     Instead, use DEFINE_EXPAND.  Delete DEFINE_SPLITs for the old patterns.
  5340.  
  5341.     * a29k.md (jumpfdec pattern): Fix typo.
  5342.  
  5343.     * tm-a29k.h, tm-romp.h, tm-rs6000.h (CC1_SPEC): Remove optimization
  5344.     selections.
  5345.     (OPTIMIZATION_OPTIONS): Turn off insn scheduling by default until
  5346.     it is fixed.
  5347.  
  5348.     * tm-a29k.h, tm-romp.h, tm-rs6000.h (SETUP_INCOMING_VARARGS):
  5349.     Correctly handle the case of the special argument being other than
  5350.     the first arg.
  5351.  
  5352.     * tm-a29k.h (GO_IF_LEGITIMATE_ADDRESS): A tiny constant (< 255)
  5353.     is also a valid address.
  5354.  
  5355.     * tm-a29k.h, tm-romp.h, tm-rs6000.h (BYTE_LOADS_ZERO_EXTEND): Add to
  5356.     support combine.c in development.
  5357.  
  5358.     * jump.c (jump_optimize, can_reverse_comparison_p, delete_jump):
  5359.     Consistently allow NOTEs between the set and use of CC0.
  5360.     * reorg.c (delete_scheduled_jump): Likewise.
  5361.  
  5362.     * expmed.c (emit_store_flag): Pass in UNSIGNEDP; can't derive it from
  5363.     comparison code.
  5364.     * expr.c (do_store_flag): Add UNSIGNEDP arg to emit_store_flag call.
  5365.     * jump.c (jump_optimize): Likewise.
  5366.     * optabs.c (expand_binop): Likewise.
  5367.  
  5368.     * local-alloc.c (requires_inout_p): New function.
  5369.     (block_alloc): Use high-priority preferences if we have a hard
  5370.     register used in an insn that requires the same register for
  5371.     input as for the output.
  5372.     (combine_regs): Rename argument COPY to MAY_SAVE_COPY.
  5373.  
  5374.     * cse.c (simplify_binary_operation, case MULT): Convert multiply
  5375.     by power of two to shift.
  5376.     (cse_insn): Don't share rtx obtained from the hash table; copy it.
  5377.  
  5378. Sat Feb 23 00:27:26 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5379.  
  5380.     * rtlanal.c (dead_or_set_p): Don't check for REG_INC.
  5381.  
  5382.     * reload.c (push_reload): (subreg:m1 (reg:m2 ...) ...) with M1 wider
  5383.     than M2 is also a paradoxical SUBREG.
  5384.  
  5385. Fri Feb 22 14:43:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5386.  
  5387.     * reload1.c (possible_group_p): Add missing forward declaration.
  5388.  
  5389.     * reload1.c (eliminate_regs, case PLUS): Ensure we handle the
  5390.     case of (plus reg1 reg2) where REG1 is eliminable and REG2 is
  5391.     psuedo that didn't get a hard reg and has reg_equiv_constant nonzero.
  5392.     (choose_reload_regs): If reload_needed_for_multiple,
  5393.     the reload can't be input-only or output-only.
  5394.     (emit_reload_regs): Avoid regno_dead_p.
  5395.     * combine.c (regno_dead_p): Function deleted.
  5396.  
  5397.     * Makefile.in (maketest): Finish renaming config to configure.
  5398.  
  5399.     * gcc.c (lookup_compiler): Create a new entry to represent
  5400.     the result of searching for an alias entry.
  5401.  
  5402.     * reload.c (combine_reloads): Swap args to reg_overlap_mentioned_p.
  5403.  
  5404. Fri Feb 22 09:40:50 1991  Michael Tiemann  (tiemann at cygnus.com)
  5405.  
  5406.     * cplus-parse.y (base_class_list): Re-fix precedence so we can use MI.
  5407.  
  5408.     * cplus-except.c (init_exception_processing): Push exception ctors
  5409.     and dtors into scope so they can be inlined.
  5410.  
  5411. Fri Feb 22 08:03:47 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5412.  
  5413.     * genemit.c (output_init_mov_optab): New function.
  5414.     (main): Have insn-emit.c include insn-codes.h.
  5415.     Call output_init_mov_optab.
  5416.     * optabs.c (gen_move_insn): Handle moving MODE_CC modes; we may have
  5417.     to find a different mode to do this in.
  5418.     (init_optabs): Try to initialize CCmode in mov_optab; if we have
  5419.     EXTRA_CC_MODES, call init_mov_optab.
  5420.     * Makefile.in (insn-emit.o): Now depends on insn-codes.h.
  5421.  
  5422.     * rtl.h (get_last_insn_anywhere): Add missing declaration.
  5423.  
  5424.     * stmt.c: Now includes hard-reg-set.h (for n_non_fixed_regs).
  5425.     (preserve_subexpressions_p): Renamed from inside_loop.
  5426.     Always return true if optimize >= 2; always return false if
  5427.     optimize == 0.    If optimize == 1, only return true if we aren't
  5428.     very far into a loop instead of whenever we are in any loop.
  5429.     * Makefile.in (stmt.o): Now includes hard-reg-set.h.
  5430.     * expr.c (expand_expr): Use preserve_subexpressions_p instead of
  5431.     inside_loop.
  5432.     Only set TARGET to SUBTARGET if TARGET isn't a pseudo register.
  5433.     (expand_expr, case REAL_CST): Don't call force_reg; now done in
  5434.     expand_binop, if required.
  5435.     * optabs.c (expand_binop, expand_twoval_binop, emit_cmp_insn):
  5436.     If arg is expensive constant and preserve_subexpressions_p is true,
  5437.     force it into a register.
  5438.     * out-sparc.c (emit_move_sequence): Call preserve_subexpressions_p
  5439.     instead of inside_loop.
  5440.  
  5441.     * reload1.c (eliminate_regs, case SUBREG): Correct test for paradoxical
  5442.     SUBREG.
  5443.  
  5444.     * varasm.c (output_constant_pool): If entry refers to a deleted label,
  5445.     write a zero instead of the undefined label.
  5446.  
  5447. Fri Feb 22 02:49:24 1991  Ken Raeburn  (raeburn at watch.com)
  5448.  
  5449.     * Reversed all changes dated 20 February.
  5450.     * cplus-template.c (pending_template_expansion): New function;
  5451.     given template name, returns class name of expansion in progress.
  5452.     * cplus-parse.y (PTYPENAME -> typespec): Call it.
  5453.     ('~' PTYPENAME -> notype_declarator): Ditto.
  5454.  
  5455. Thu Feb 21 15:17:13 1991  Craig Burley    (burley at geech.ai.mit.edu)
  5456.  
  5457.     * c-common.c (check_case_value): If value is NULL_TREE, return it
  5458.     without any further checking.
  5459.  
  5460.     * stmt.c (pushcase_range): If value1 is NULL_TREE, substitute
  5461.     minimum value for the type, if value2 is NULL_TREE, substitute
  5462.     maximum value for the type, from then on assume both are not NULL_TREE.
  5463.     These changes appear to provide minimal support for case ranges.
  5464.  
  5465.     * c-typeck.c (digest_init): For explicit array element initializer
  5466.     case, change check against max value of domain so index may equal it.
  5467.     For array element initialization, give next initializer a chance to
  5468.     override the choice of next index before falling out of loop because
  5469.     next index is out of range.  For structure initialization, give next
  5470.     initializer a similar chance before falling out of loop because no
  5471.     more fields exist.
  5472.  
  5473.     * reload1.c (possible_group_p): Needed a forward decl (static).
  5474.  
  5475. Thu Feb 21 14:37:01 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5476.  
  5477.     * c-decl.c (grokdeclarator):
  5478.     Don't make bitfield type unsigned if comes from typedef.
  5479.  
  5480.     * reload1.c (reload): Don't require INITIAL_FRAME_POINTER_OFFSET
  5481.     if cannot eliminate the frame pointer.
  5482.  
  5483.     * i860.md (cbranch, inverse_cbranch): Use eq to test cc0.
  5484.     (negated branch patterns): New patterns.
  5485.  
  5486.     * tm-i860.h (INITIALIZE_TRAMPOLINE): Use size_int, not build_int.
  5487.  
  5488.     * reload1.c (reload): Save and restore notes around find_reloads.
  5489.  
  5490.     * tm-sun2os4.h (LINK_SPEC): New macro.
  5491.     * tm-sun386i.h (LINK_SPEC): Undef before redefining.
  5492.  
  5493.     * cccp.c (do_include): Check for -2, not -1, as value of lookup_import.
  5494.  
  5495.     * c-parse.y (initlist): Fix typo.
  5496.  
  5497. Mon Feb 18 02:50:38 1991  Michael Tiemann  (tiemann at cygnus.com)
  5498.  
  5499.     * cplus-decl.c (grokdeclarator): Try to come up with better magic
  5500.     for implicitly globalizing classes implicitly declared in class
  5501.     scope.
  5502.  
  5503. Sun Feb 17 09:27:38 1991  Michael Tiemann  (tiemann at cygnus.com)
  5504.  
  5505.     * cplus-tree.c (virtual_offset): New function.    Returns the offset
  5506.     of a baseclass that is virtual or comes from a virtual baseclass, or
  5507.     NULL if there is no such baseclass.
  5508.     * cplus-class.c (modify_vtable_entries): Call this function instead
  5509.     of `virtual_member'.  `virtual_member' can return the wrong thing if
  5510.     we try to use it for an offset computation of a baseclass which is
  5511.     not strictly a virtual baseclass.
  5512.  
  5513. Sat Feb 16 06:21:03 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5514.  
  5515.     * recog.c (validate_replace_rtx_1): Use correct rtx_code for the
  5516.     new operation when commuting operands.
  5517.     Generalize to commute operands on comparison operation.
  5518.  
  5519. Fri Feb 15 23:01:24 1991  Richard Stallman  (rms at geech.ai.mit.edu)
  5520.  
  5521.     * c-parse.y (initlist): Finish changing `case N:' to `[N]'.
  5522.  
  5523.     * combine.c (try_combine): Update reg_first_use.  Flush useless links.
  5524.  
  5525. Thu Feb 14 17:06:44 1991  Ken Raeburn  (raeburn at watch.com)
  5526.  
  5527.     * cplus-parse.y (template_parm): New derivation from `class ID',
  5528.     for consistent return of `identifier_node' nodes with `class A :
  5529.     B' case.
  5530.     * cplus-template (end_template_parm_list): Nothing to strip off of
  5531.     identifier_nodes now.
  5532.     (process_template_parm): Strip off one level of tree_list,
  5533.     discarding (for now) the required base class.  Don't need to run
  5534.     through grok* any more.
  5535.  
  5536. Sun Feb 10 19:23:21 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5537.  
  5538.     * gcc.c (main, process_command, default_compilers): Fix typos.
  5539.  
  5540. Sat Feb     9 15:06:43 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5541.  
  5542.     * gcc.c (process_command): Handle separate args for -B, -b, -V.
  5543.  
  5544.     * gcc.c (lookup_compiler): New function.  Handles alias entries.
  5545.     (main): Call that.
  5546.     (default_compilers): Make all real suffixes into alias entries.
  5547.     (infiles): Now a vector of structures, containing specified language.
  5548.     (process_command): Handle -x to specify language.
  5549.     (main): Use specified language if any.
  5550.  
  5551. Fri Feb     8 18:31:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5552.  
  5553.     * fold-const.c (fold): Set TREE_USED when create COMPOUND_EXPR.
  5554.     * stmt.c (warn_if_unused_value): Don't warn if TREE_USED.
  5555.     * c-typeck.c (build_unary_op): Handle multiple casts inside ++.
  5556.  
  5557. Fri Feb     8 07:37:24 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5558.  
  5559.     * real.h (dconst2): New variable.
  5560.     * emit-rtl.c (init_emit_once): Initialize dconst2.
  5561.     * tree.c (real_twop): New function.
  5562.     * cse.c (simplify_unary_operation): Fold FLOAT, FLOAT_EXTEND, and
  5563.     FLOAT_TRUNCATE.
  5564.     (simplify_binary_operation): Convert x*2 to x+x.
  5565.     (cse_insn): Handle case where constant equivalent is in table.
  5566.     Fix minor bug with merging src_related_elt.
  5567.     * fold-const.c (fold): If commutative operation, move a constant
  5568.     first operand to the second operand.
  5569.     Remove tests of constants as first operand for commutative operations.
  5570.     Convert x*2 to x+x.
  5571.  
  5572. Fri Feb     8 03:07:34 1991  Ken Raeburn  (raeburn at watch.com)
  5573.  
  5574.     * cplus-ptree.c (print_lang_decl): Corrected argument list.  Print
  5575.     address of template info for TEMPLATE_DECL nodes.
  5576.  
  5577.     * cplus-decl.c (set_current_level_tags_transparency): New
  5578.     function, for altering tag-transparency of a context.
  5579.  
  5580.     * cplus-parse.y (PRE_PARSED_METHOD_DEF): Was unused; now gone.
  5581.     (template_instantiation): Handle $-references correctly.  Generate
  5582.     a class_head-like value for LC actions to operate on.
  5583.     (maybe_base_class_list): New non-terminal: colon and base class
  5584.     list, or empty.
  5585.     (named_class_head): Use it.
  5586.     (unnamed_class_head): Use '{', not LC.
  5587.     (class_head): If template_instantiation found, use its value.
  5588.     (template_arg): Apply groktypename to typename args.
  5589.  
  5590.     * cplus-template.c (template_text_obstack): Deleted, just use
  5591.     permanent_obstack instead.
  5592.     (init_template): Deleted; callers changed.
  5593.     (current_template_info): New variable: pointer to last-saved
  5594.     template info record.
  5595.     (end_template_decl): Use DECL_NAME, DECL_ARGUMENTS,
  5596.     DECL_LANG_SPECIFIC, rather than TREE_OPERANDs.    Save most of
  5597.     template info here.
  5598.     (reinit_parse_for_template): Only save text here, in
  5599.     already-allocated template info record.
  5600.     (mangle_class_name_for_template): New function.
  5601.     (instantiate_template): Finally written.
  5602.  
  5603. Thu Feb     7 22:06:56 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5604.  
  5605.     * tm-i386v4.h (ASM_OUTPUT_COMMON): Specify rounding in the output.
  5606.     (ASM_OUTPUT_LOCAL): Use .local and .comm.
  5607.  
  5608.     * tm-news.h (FUNCTION_PROLOGUE): Correct syntax of link insn.
  5609.     (PRINT_OPERAND_ADDRESS): Use period, not colon, before index reg width.
  5610.  
  5611.     * stmt.c (pushcase, pushcase_range):
  5612.     Don't warn for code before first `case' if there is a label on it.
  5613.  
  5614. Thu Feb     7 06:23:10 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5615.  
  5616.     * integrate.c (initialize_for_inline): Accept COPY argument.
  5617.     Only copy parameter DECL_RTL if COPY non-zero; in that case,
  5618.     also replace DECL_RTL with copy.  All callers changed.
  5619.     (copy_decl_rtls): New function.
  5620.     (save_for_inline_copying): Use copy_decl_rtls to copy MEM DECL_RTLs
  5621.     in the function.
  5622.     Copy address of pseudos if they are a MEM.
  5623.  
  5624. Wed Feb     6 19:19:25 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5625.  
  5626.     * c-typeck.c (build_binary_op_nodefault): No warn for RSHIFT by 0.
  5627.  
  5628. Wed Feb     6 17:37:23 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5629.  
  5630.     * function.c (fixup_var_refs_1):  Accept a location in rtx instead
  5631.     of an rtx.
  5632.     Unless -fforce-mem, if an insn is valid with MEM, leave it alone.
  5633.     Rework ZERO_ and SIGN_EXTRACT cases to properly do adjustments
  5634.     and generalize to support other than QImode MEMs.
  5635.     (fixup_var_refs_insns): Change call to fixup_var_refs_1.
  5636.  
  5637. Wed Feb     6 08:14:21 1991  Tom Wood  (wood at dg-rtp.dg.com)
  5638.  
  5639.     * m88k.md (cmp): Use reg_or_0_operand to avoid swapped compares.
  5640.     (call patterns): Put use of r1 in a parallel construct.
  5641.     (multiply and divide by a power of two): Now just multiply.  The
  5642.     new combiner will change divide by a power of two into multiply.
  5643.     (movhi, movqi): Use zero-extend load.
  5644.     * tm-m88k.h (BYTE_LOADS_ZERO_EXTEND): Use it.
  5645.     (H constraint): Changed to mean one or two.
  5646.     * out-m88k.c: Use the proper includes for non-USG systems.
  5647.     * xm-m88k.h: Include tm.h at the end.    
  5648.  
  5649. Wed Feb     6 02:24:38 1991  Michael Tiemann  (tiemann at cygnus.com)
  5650.  
  5651.     * cplus-decl.c (pushtag): Don't try to nest classes from non-C++
  5652.     language scopes.
  5653.  
  5654. Wed Feb     6 01:33:16 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5655.  
  5656.     * cse.c (simplify_binary_operation): Don't change div into mult.
  5657.  
  5658. Tue Feb     5 10:59:53 1991  Ken Raeburn  (raeburn at watch.com)
  5659.  
  5660.     * cplus-parse.y (template_instantiation): Supply base class list
  5661.     and use guts of class declaration.  Untested; will have to be
  5662.     fixed up to deal with template context manipulations.
  5663.  
  5664. Tue Feb     5 00:52:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5665.  
  5666.     * c-common.c (combine_strings): Finish fixing wide strings.
  5667.  
  5668.     * reload1.c (possible_group_p): New subroutine.
  5669.     (reload): Don't kill last group when looking for a non-group.
  5670.  
  5671.     * expmed.c (expand_divmod): If emit cmp insn, force op0 into reg.
  5672.  
  5673.     * objc-parse.y (init_lex, yylex): max_wide now measured in chars. 
  5674.     (yylex): Treat \r as whitespace if traditional.
  5675.  
  5676.     * toplev.c (compile_file): Add missing arg for dbxout_finish.
  5677.  
  5678.     * objc-actions.c (lang_finish): New dummy function.
  5679.  
  5680.     * calls.c (expand_call): Recognize other names for setjmp-like fns.
  5681.  
  5682.     * gcc.c (main): Use obstack_init, not gcc_obstack_init.
  5683.  
  5684.     * varasm.c (assemble_zeros): New function.
  5685.     All calls to ASM_OUTPUT_SKIP elsewhere now use this function.
  5686.     Handle ASM_NO_SKIP_IN_TEXT.
  5687.     * toplev.c (compile_file): Use assemble_zeros.
  5688.     * final.c (end_final): Likewise.
  5689.     * tm-3b1.h, tm-att386.h, tm-mot3300.h (ASM_NO_SKIP_IN_TEXT):
  5690.     Define as 1.
  5691.     * tm-3b1.h (ASM_OUTPUT_SKIP): Don't deal with outputting zeros.
  5692.  
  5693. Mon Feb     4 20:37:33 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5694.  
  5695.     * m68k.md: Use %$ and %& where appropriate.
  5696.     (special float_truncate pattern): New, for 68040.
  5697.     (68881 DF multiply recognizers): Avoid fscale if 68040. 
  5698.     (68881 SF multiply recognizers): Avoid fsglmul if 68040.
  5699.  
  5700.     * tm-next.h (SECTION_FUNCTION): Simplify; remove last arg. 
  5701.     (EXTRA_SECTION_FUNCTIONS): Rewrite to go with that change. 
  5702.  
  5703. Mon Feb     4 18:22:54 1991  Richard Kenner  (kenner at vlsi1.ultra.nyu.edu)
  5704.  
  5705.     * reorg.c (link_cc0_isns): New function.
  5706.     (fill_simple_delay_slots, fill_slots_from_thread): Call it.
  5707.     (fill_slots_from_thread): Don't make REG_CC_STATUS notes.
  5708.     (delete_scheduled_jump): Use REG_CC_SETTER instead of REG_CC_STATUS.
  5709.     Correctly locate compare insn in CC0 case.
  5710.     (steal_delay_list_from_target): Don't steal an insn that sets cc0;
  5711.     we can't safely copy it.
  5712.     (fill_slots_from_thread): Can't put insn that sets CC0 in delay slot
  5713.     if we don't own its thread; this would otherwise require copying it.
  5714.     (relax_delay_slots): Don't collapse jump to next insn if it has a
  5715.     cc0-setting insn in a delay slot.
  5716.  
  5717.     * reorg.c (update_block): Accept location to place USE marker; use if
  5718.     INSN is in a delay slot.
  5719.     (mark_target_live_regs): Handle the case where we deleted the start
  5720.     of the basic block that was previously used for a target.
  5721.     Ignore insns with INSN_FROM_TARGET_P.
  5722.     (optimize_skip, try_merge_delay_insns, fill_simple_delay_slots):
  5723.     Pass new argument to update_block.
  5724.     (try_merge_delay_insns, redundant_insn_p): Clear INSN_FROM_TARGET_P
  5725.     to show that this insn will be used in both paths of the branch.
  5726.     (try_merge_delay_insns): Add calls to update_block for insns deleted
  5727.     from delay slots.
  5728.  
  5729.     * reorg.c (mostly_true_jump): If no jumps between target and end of
  5730.     function, predict as false.
  5731.     If comparison == 0, predict false; != 0, predict true.
  5732.  
  5733.     * reorg.c (steal_delay_list_from_{target,fallthrough}):
  5734.     Ignore redundant insn even if it can't be placed in our delay slot.
  5735.     (fill_slots_from_thread): Likewise.
  5736.     Ensure we don't call redundant_insn_p on any insns that conflict
  5737.     with what we need and set.
  5738.  
  5739.     * reorg.c (fill_eager_delay_slots): Pick up new value of JUMP_LABEL;
  5740.     it may have been changed by first call to fill_slots_from_thread.
  5741.  
  5742.     * rtl.h (REG_TAIL_CALL): Deleted; never documented or used.
  5743.     (REG_CC_SETTER, REG_CC_USER): Replacements for REG_CC_STATUS.
  5744.     * rtl.c (reg_note_name): New names.
  5745.     * final.c (final_scan_insn): Replace REG_CC_STATUS with REG_CC_SETTER;
  5746.     now only one insn.
  5747.     * emit-rtl.c (next_cc0_user, prev_cc0_setter): Use REG_CC_SETTER and
  5748.     REG_CC_USER.
  5749.  
  5750.     * cplus-cadillac.c, cplus-class.c, cplus-decl.c, cplus-lex.c:
  5751.     Replace obstack_init with gcc_obstack_init.
  5752.     * cplus-search.c, flow.c, gcc.c, loop.c, reload1.c: Likewise.
  5753.     * reorg.c, stmt.c: Likewise.
  5754.  
  5755.     * reload1.c (eliminate_regs, case ASM_OPERANDS): Fix typo when making
  5756.     new ASM_OPERANDS.
  5757.  
  5758.     * recog.c: Now includes insn-flags.h and insn-codes.h.
  5759.     (validate_replace_rtx_1): If replacing the source of a ZERO_ or
  5760.     SIGN_EXTRACT with a MEM, try to put the MEM in the mode to be used for
  5761.     the MEM.
  5762.     * Makefile.in (recog.o): Depends on insn-flags.h and insn-codes.h.
  5763.  
  5764. Mon Feb     4 17:39:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5765.  
  5766.     * c-typeck.c (digest_init): Error if init array with another array.
  5767.  
  5768. Mon Feb     4 04:58:20 1991  Ken Raeburn  (raeburn at watch.com)
  5769.  
  5770.     * cplus-tree.def (TEMPLATE_DECL): New node type.
  5771.     (TEMPLATE_PARM_IDX): New node type; like integer, with an extra
  5772.     field.
  5773.  
  5774.     * cplus-method.c (check_text_len): Fix up error message to be more
  5775.     correct.  Moved function before new_text_len so that the latter
  5776.     can call it and inlining can work.
  5777.     (new_text_len): Call check_text_len.
  5778.  
  5779.     * cplus-method.c (build_overload_name): No longer static.
  5780.  
  5781.     * cplus-class.c (unuse_fields): Now static.
  5782.     (popclass): Use a temporary when building C_C_D.
  5783.  
  5784.     * cplus-decl.c (lookup_tag): Don't complain about type mismatch if
  5785.     the tag found is for a template.
  5786.  
  5787.     * cplus-lex.c: New lookup tables, for new "template" keyword.
  5788.     (reinit_lang_specific): Call init_template.
  5789.     (init_lex): Ditto.
  5790.     (file_from_saved_text): Renamed from input_from_saved_text.
  5791.  
  5792.     * cplus-lex.c (identifier_type): New function; returns primary
  5793.     type (IDENTIFIER, TYPENAME, PTYPENAME) indicated by token name.     A
  5794.     PTYPENAME is returned for (TYPE_DECL (TEMPLATE_DECL ...)) nodes.
  5795.     (see_typename): Call it.
  5796.  
  5797.     * cplus-lex.c (yylex): In handling identifiers, use subset of
  5798.     TYPENAME code for PTYPENAME tokens.
  5799.  
  5800.     * cplus-template.c: New file.
  5801.     (begin_template_parm_list): Push new scope and switch to permanent
  5802.     obstack.
  5803.     (end_template_parm_list): Return parameter list as a tree vector.
  5804.     (end_template_decl): Save away new TEMPLATE_DECL node.
  5805.     (process_template_parm): Build up tree list of template
  5806.     parameters.
  5807.     (instantiate_template): For now, just complain.
  5808.     (init_template): Set up template obstack.
  5809.     (reinit_parse_for_template): Gobble up class definition text and
  5810.     save it away.
  5811.  
  5812.     * cplus-parse.y (template_header, template_parm_list): Call above
  5813.     routines.
  5814.     (datadef): Put template declarations here, instead of in
  5815.     class_head.
  5816.     (named_class_head_sans_basetype, named_class_head,
  5817.     unnamed_class_head): Break up old class_head derivations.
  5818.     (class_head): Now any of the above, plus template types with or
  5819.     without instantiation.
  5820.     (template_type): Call instantiate_template.
  5821.     (template_arg_list): Build up list of args.
  5822.  
  5823.     * cplus-tree.h (lang_type): Add TEMPLATE field.     Also add macro
  5824.     TYPE_TEMPLATE.
  5825.  
  5826. Sun Feb     3 21:16:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5827.  
  5828.     * tm-m68k.h (PRINT_OPERAND): Handle `&' and `$'.
  5829.     (PRINT_OPERAND_PUNCT_VALID): They are valid.
  5830.  
  5831.     * out-next.c (handle_pragma): Unread the newline.
  5832.  
  5833.     * toplev.c (main): Warn if meaningless optimizations are requested.
  5834.     Don't enable options by default that would get warnings.
  5835.  
  5836.     * m68k.md (extend QI to HI): Typo in clr insn.
  5837.  
  5838.     * c-common.c (combine_strings): Decrement LEN properly when copying.
  5839.     * c-parse.y (init_lex, yylex): max_wide now measured in chars. 
  5840.  
  5841.     * tree.c (gcc_obstack_init): Fix typo in forward decl.
  5842.  
  5843. Sat Feb     2 09:24:56 1991  Michael Tiemann  (tiemann at cygnus.com)
  5844.  
  5845.     * cplus-decl.c (poplevel): Change DECL_CONTEXT of decls only of
  5846.     their context is CURRENT_FUNCTION_DECL.
  5847.  
  5848. Fri Feb     1 13:46:07 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  5849.  
  5850.     * print-tree.c (print_node): Don't print chain for `c' and `x' nodes.
  5851.  
  5852.     * loop.c (record_excess_regs): Moved here.
  5853.  
  5854. See file ChangeLog.2.
  5855.  
  5856. Local Variables:
  5857. mode: indented-text
  5858. left-margin: 8
  5859. fill-column: 76
  5860. version-control: never
  5861. End:
  5862.