1. 29 Aug, 1999 11 commits
    • Fix possible aliasing problems · f592f509
      From-SVN: r28963
      Bernd Schmidt committed
    • jump.c (delete_prior_computation): Also check calls to constant functions. · 6f1661e5
              * jump.c (delete_prior_computation): Also check calls
              to constant functions.  Don't bother checking for a
              REG_UNUSED note before adding it.
              (delete_computation): Handle multi-word hard registers
              when synthesizing missing REG_DEAD notes for a register
              which is both set and used by an insn.
      
      From-SVN: r28962
      John Wehle committed
    • loop.c (this_loop_info): New variable. · 3c748bb6
              * loop.c (this_loop_info): New variable.
              (loop_has_call, loop_has_volatile, loop_has_tablejump,
              loop_continue, loops_enclosed): Replace with fields in this_loop_info.
              All uses updated.
              (prescan_loop, strength_reduce): New argument loop_info.  All callers
              updated.
              (scan_loop): New variable loop_info, initialise to address of
              this_loop_info.
              (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
              Delete variable loop_has_multiple_exit targets and replace with
              field in this_loop_info.
              (find_and_verify_loops): Rename this_loop to this_loop_num.
              (strength_reduce): Delete loop_iteration_info.  Replace variable
              loop_info with function argument of same name.
              (insert_bct): Rework test for loop being completely unrolled.
      
              * loop.h (struct loop_info): New fields num, loops_enclosed,
              has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
              has_indirect_jump, and cont.  Redefine use of unroll_number.
              (loop_unroll_number): Delete.
      
              * unroll.c (unroll_loop): Store loop unroll count in unroll_number
              field of loop_info.
              (loop_iterations): Delete variable vtop and instead use
              loop_info->vtop computed in prescan_loop.
      
      From-SVN: r28961
      Michael Hayes committed
    • configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate filenames. · 090164c0
              * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
              filenames.
              * configure: Rebuilt.
      
      From-SVN: r28959
      William Bader committed
    • Daily bump. · 4cc46f1c
      From-SVN: r28958
      Jeff Law committed
    • jump.c (jump_optimize_1): Do not delete assignments to internal_arg_pointer. · af37f0dd
      
              * jump.c (jump_optimize_1): Do not delete assignments to
              internal_arg_pointer.
              * cse.c (delete_trivially_dead_insns): Always consider a set of
              the internal_arg_pointer live.
      
      From-SVN: r28957
      Jeffrey A Law committed
    • cp-tree.h (strip_array_types): New function. · 27778b73
      	* cp-tree.h (strip_array_types): New function.
      	* decl.c (maybe_deduce_size_from_array_init): New function, split
      	out from cp_finish_decl.
      	(layout_var_decl): Likewise.
      	(maybe_commonize_var): Likewise.
      	(maybe_inject_for_scope_var): Likewise.
      	(initialize_local_var): Likewise.
      	(build_cleanup_on_safe_obstack): Likewise.
      	(check_initializer): Likewise.
      	(make_rtl_for_nonlocal_decl): Likewise.
      	(cp_finish_decl): Use them.
      	* typeck.c (strip_array_types): New function.
      
      From-SVN: r28956
      Mark Mitchell committed
    • Fix typo in ChangeLog entry · b87478f8
      From-SVN: r28951
      Mark Mitchell committed
    • cp-tree.def (LABEL_STMT): New tree node. · b5434ee0
      	* cp-tree.def (LABEL_STMT): New tree node.
      	(LABEL_STMT_LABEL): New macro.
      	(shadow_label): Remove.
      	(declare_local_label): New function.
      	(finish_label_decl): Likewise.
      	* decl.c (make_label_decl): New function, split out from
      	lookup_label.
      	(shadowed_labels): Remove.
      	(binding_level): Add shadowed_labels.
      	(clear_binding_level): Remove.
      	(push_binding_level): Just bzero the new binding level.
      	(pushlevel): Fix indentation.
      	(pop_label): New function.
      	(pop_labels): Likewise, split out from poplevel.
      	(poplevel): Pop local labels.  Use pop_labels.
      	(maybe_push_to_top_level): Don't clear shadowed_labels.
      	(lookup_label): Use make_label_decl.
      	(shadow_label): Remove.
      	(declare_local_label): New function.
      	(define_label): Simplify.
      	(start_function): Don't clear shadowed_labels.
      	(cp_function): Remove shadowed_labels.
      	(push_cp_function_context): Don't save shadowed_labels.
      	(pop_cp_function_context): Don't restore it.
      	* dump.c (dequeue_and_dump): Handle LABEL_STMT.
      	* parse.y (label_decl): Use finish_label_decl.
      	* pt.c (tsubst_expr): Handle LABEL_STMTs, and local label
      	declarations.
      	* semantics.c (finish_label_stmt): Add a LABEL_STMT when
      	building_stmt_tree.
      	(finish_label_decl): New function.
      	(expand_stmt): Handle LABEL_STMTs and local label declarations.
      
      From-SVN: r28950
      Mark Mitchell committed
  2. 28 Aug, 1999 7 commits
    • flow.c (flow_delete_insn_chain): Rename from delete_insn_chain. · 5aabad00
              * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
              (update_life_info) [REG_WAS_0]: Search the original insns rather
              than the new insns for the note.  Fix typos finding note_dest.
              If no dest found, discard the note rather than abort.
              [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
              (replace_insns): Remove the old insn list after update_life_info
              not before.
      
      From-SVN: r28946
      Richard Henderson committed
    • haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling sched_analyze_insn. · 87373fba
              * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
              sched_analyze_insn.
              (sched_analyze_1): Let add_dependence care for not adding dups.
              (sched_analyze_2): Likewise.
              (add_branch_dependences): Likewise.
      
      From-SVN: r28945
      Richard Henderson committed
    • Mumit Khan <khan@xraylith.wisc.edu> · 8e260ba4
              * i386/winnt.c (export_list): New type.
              (exports_head): Rename to
              (export_head):  this.
              (i386_pe_record_exported_symbol): Add is_data flag.
              (i386_pe_asm_file_end): Emit directive for exported variables.
              * i386/cygwin.h (i386_pe_record_exported_symbol): Update
              prototype.
              * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
              (ASM_DECLARE_OBJECT_NAME): Likewise.
              (ASM_DECLARE_FUNCTION_NAME): Likewise.
              * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
      
      From-SVN: r28944
      Mumit Khan committed
    • cp-tree.def (LABEL_STMT): New tree node. · acef433b
      	* cp-tree.def (LABEL_STMT): New tree node.
      	(LABEL_STMT_LABEL): New macro.
      	(shadow_label): Remove.
      	(declare_local_label): New function.
      	(finish_label_decl): Likewise.
      	* decl.c (make_label_decl): New function, split out from
      	lookup_label.
      	(shadowed_labels): Remove.
      	(binding_level): Add shadowed_labels.
      	(clear_binding_level): Remove.
      	(push_binding_level): Just bzero the new binding level.
      	(pushlevel): Fix indentation.
      	(pop_label): New function.
      	(pop_labels): Likewise, split out from poplevel.
      	(poplevel): Pop local labels.  Use pop_labels.
      	(maybe_push_to_top_level): Don't clear shadowed_labels.
      	(lookup_label): Use make_label_decl.
      	(shadow_label): Remove.
      	(declare_local_label): New function.
      	(define_label): Simplify.
      	(start_function): Don't clear shadowed_labels.
      	(cp_function): Remove shadowed_labels.
      	(push_cp_function_context): Don't save shadowed_labels.
      	(pop_cp_function_context): Don't restore it.
      	* dump.c (dequeue_and_dump): Handle LABEL_STMT.
      	* parse.y (label_decl): Use finish_label_decl.
      	* pt.c (tsubst_expr): Handle LABEL_STMTs, and local label
      	declarations.
      	* semantics.c (finish_label_stmt): Add a LABEL_STMT when
      	building_stmt_tree.
      	(finish_label_decl): New function.
      	(expand_stmt): Handle LABEL_STMTs and local label declarations.
      
      From-SVN: r28943
      Mark Mitchell committed
    • Daily bump. · 79101920
      From-SVN: r28942
      Jeff Law committed
    • * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers. · 4741f6ad
      From-SVN: r28941
      Jeffrey A Law committed
    • gjavah.c, [...]: Do not use C++ style comments in C code. · 5f9ee695
              * gjavah.c, jcf-write.c, verify.c: Do not use C++ style
              comments in C code.
      
      From-SVN: r28940
      Jeffrey A Law committed
  3. 27 Aug, 1999 22 commits