1. 06 Mar, 2005 3 commits
  2. 05 Mar, 2005 27 commits
  3. 04 Mar, 2005 10 commits
    • basic-block.h (rediscover_loops_after_threading): Declare. · d38ffc55
         * basic-block.h (rediscover_loops_after_threading): Declare.
              * tree-ssa-dom.c: Include cfgloop.h.
              (tree_ssa_dominator_optimize): Discover loops and some basic
              properties.  Remove forwarder blocks recreated by loop header
              canonicalization.  Also mark backedges in the CFG.
              * tree-ssa-threadupdate.c: Include cfgloop.h
              (rediscover_loops_after_threading): Define.
              (struct local_info): New field, JUMP_THREADED.
              (prune_undesirable_thread_requests): New function.
              (redirect_edges): Clear EDGE_ABNORMAL.  If edges were threaded
              then record that fact for the callers of redirct_edges.
              (thread_block): If BB has incoming backedges, then call
              prune_undesirable_thraed_requests.    Note when we are
              going to have to rediscover loop information.  Return a
              boolean indicating if any jumps were threaded.
              (thread_through_all_blocks): Bubble up boolean indicating
              if any jumps were threaded.
              * Makefile.in (tree-ssa-dom.o): Depend on cfgloop.h
              (tree-ssa-threadupdate.o): Similarly.
      
      From-SVN: r95903
      Jeff Law committed
    • re PR fortran/19673 (pointer function with RESULT specified returns pointer to… · 3852e8b8
      re PR fortran/19673 (pointer function with RESULT specified returns pointer to "ptr" rather than "*ptr")
      
      fortran/
      PR fortran/19673
      * trans-expr.c (gfc_conv_function_call): Correctly dereference
      argument from a pointer function also if it has a result clause.
      
      testsuite/
      PR fortran/19673
      * gfortran.dg/func_result_1.f90: New test.
      
      From-SVN: r95901
      Tobias Schlüter committed
    • tr.po: Update. · a873fcb4
      	* tr.po: Update.
      	* vi.po: New file.
      
      From-SVN: r95898
      Joseph Myers committed
    • fold-const.c (fold_ternary): Unroll the "for" loop to extract operands. · 3ea2c264
      	* fold-const.c (fold_ternary): Unroll the "for" loop to
      	extract operands.
      
      From-SVN: r95895
      Kazu Hirata committed
    • unwind-dw2-fde-glibc.c (struct unw_eh_callback_data.check_cache): New field. · b120f3b7
      2005-03-04  Andrew Haley  <aph@redhat.com>
      
              * unwind-dw2-fde-glibc.c (struct
              unw_eh_callback_data.check_cache): New field.
              (frame_hdr_cache): New.
              (_Unwind_IteratePhdrCallback): Add ext_dl_phdr_info.
              Cache frame header info.
      
      From-SVN: r95894
      Andrew Haley committed
    • * expr.c (gfc_copy_shape_excluding): Change && to ||. · 37e860a2
      From-SVN: r95891
      Steven G. Kargl committed
    • re PR java/18362 (internal compiler error: in size_binop, at fold-const.c:1598) · 7235c300
      2005-03-04  Andrew Haley  <aph@redhat.com>
      
              PR java/18362
              * class.c (set_method_index): Don't set method_index if it is
              NULL_TREE.
              (layout_class_method): Don't complain about "non-static method foo
              overrides static method" in the case of indirect dispatch.
      
      From-SVN: r95888
      Andrew Haley committed
    • re PR preprocessor/20282 (gcc4 can not bootstrap itself anymore) · 73096711
      	PR bootstrap/20282
      	PR bootstrap/20305
      	* macro.c (replace_args, cpp_get_token): Copy whole
      	cpp_token_u instead of just cpp_string field from it.
      
      From-SVN: r95887
      Jakub Jelinek committed
    • * rtl.h (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions) · 7445392c
      	(print_c_condition): Declare.
      	* read-rtl.c (ptr_loc): New structure.
      	(ptr_locs, ptr_loc_obstack, joined_conditions)
      	(joined_conditions_obstack): New variables.
      	(leading_ptr_hash, leading_ptr_eq_p, set_rtx_ptr_loc)
      	(get_rtx_ptr_loc, copy_rtx_ptr_loc, print_rtx_ptr_loc)
      	(join_c_conditions, print_c_condition): New functions.
      	(apply_macro_to_string): Associate the new string with the same
      	source location as the old one.
      	(add_condition_to_string): Use join_c_conditions.
      	(read_string): Use set_rtx_ptr_loc to record a filename and line
      	number for the string.
      	(read_rtx): Initialize the new variables above.
      	* genattrtab.c (write_test_expr, write_attr_value): Use
      	print_c_condition.
      	* genconditions.c (write_header): Don't define MAYBE_EVAL.  Move its
      	comment above the GCC_VERSION check.
      	(write_one_condition): Use print_rtx_ptr_loc and print_c_condition.
      	Inline the definition of MAYBE_EVAL.
      	* genemit.c (gen_expand, gen_split): Use print_rtx_ptr_loc.
      	* genoutput.c (process_template): Likewise.
      	* genpreds.c (write_predicate_subfunction): Likewise.
      	(write_predicate_expr): Use print_c_condition.
      	* genrecog.c (write_cond): Likewise.
      	* gensupport.c (process_rtx): Use join_c_conditions to join the
      	conditions of a define_insn_and_split.  Record a source location
      	for the string after the "&&".
      	(alter_test_for_insn): Use join_c_conditions.
      
      From-SVN: r95883
      Richard Sandiford committed
    • revert: re PR tree-optimization/15784 (fold misses binary optimization) · 93516733
      2005-03-04  Andrew Pinski  <pinskia@physics.uc.edu>
      
              Revert for now:
              2005-03-03  James A. Morrison  <phython@gcc.gnu.org>
              PR tree-optimization/15784
              * fold-const.c (fold): Fold ~A + 1 to -1.  Fold -A - 1
              and -1 - A to ~A.
      
      From-SVN: r95880
      Andrew Pinski committed