OSDN Git Service

* gimplify.c (mostly_copy_tree_r): Don't attempt to copy decls.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4bb13bf..5196058 100644 (file)
@@ -1,5 +1,152 @@
+2004-05-21  Richard Henderson  <rth@redhat.com>
+
+       * gimplify.c (mostly_copy_tree_r): Don't attempt to copy decls.
+       (copy_if_shared_r): Don't copy decls, types, constants, BINDs.
+       Don't mark VA_ARG_EXPRs volatile here.
+       (gimplify_modify_expr): Unshare TYPE_SIZE_UNIT.
+
+2004-05-21  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (tree-dump.o): Depend on tree-iterator.h.
+       * tree-dump.c (dequeue_and_dump): Dump STATEMENT_LISTs.
+
+2004-05-21  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (fold, fold_relational_hi_lo,
+       nondestructive_fold_binary_to_constant,
+       fold_read_from_constant_string): Use fold_convert instead of convert.
+       * builtins.c (simplify_builtin, simplify_builtin_strstr,
+       simplify_builtin_strchr, simplify_builtin_strrchr,
+       simplify_builtin_strpbrk): Use fold_convert instead of convert.
+
+2004-05-21  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-flow-inline.h (num_immediate_uses): Don't abort if DF
+       is NULL.
+
+2004-05-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): If SPARC_BI_ARCH,
+       override sparc.h definition.
+
+2004-05-20  Roger Sayle  <roger@eyesopen.com>
+
+       * tree.c (array_type_nelts, save_expr, substitute_in_expr,
+       get_unwidened, get_narrower): Replace build with build2.
+       * fold-const.c (negate_expr, associate_trees, size_binop,
+       fold_convert, eval_subst, omit_one_operand, invert_truthvalue,
+       pedantic_omit_one_operand, distribute_bit_expr,
+       make_bit_field_ref, optimize_bit_field_compare,
+       decode_field_reference, range_binop, make_range,
+       build_range_check, fold_range_test, fold_truthop,
+       optimize_minmax_comparison, extract_muldiv_1, 
+       fold_binary_op_with_conditional_arg, fold_mathfn_compare,
+       fold_inf_compare, fold_single_bit_test, fold,
+       fold_relational_hi_lo, nondestructive_fold_binary_to_constant):
+       Likewise replace build with either build2 or build3.
+
+2004-05-20  Paul Brook  <paul@codesourcery.com>
+
+       * unwind-dw2-fde.c (get_cie_encoding): Handle dwarf3 CIE format.
+       * unwind-dw2.c (extract_cie_info): Ditto.
+       (_Unwind_FrameState): Change retaddr_column to word type.
+
+2004-05-20  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/3074
+       * fold-const.c (strip_compound_expr): Delete function.
+       (count_cond): Delete function.
+       (fold_binary_op_with_conditional_arg): Only perform transformations
+       "a + (b?c:d) -> b ? a+c : a+d" and "(b?c:d) + a -> b ? c+a : d+a"
+       when a is constant.  This greatly simplifies this routine.
+
+       * tree.c (saved_expr_p): Delete function.
+       * tree.h (saved_expr_p): Delete function prototype.
+
+2004-05-20  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * common.opt (ftree-loop-optimize): Remove.
+
+2004-05-20  Daniel Jacobowitz  <dan@debian.org>
+
+       * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET)
+       (NM_FOR_TARGET): Use := and $(shell).
+       (mainversion): Remove unused variable.
+
+2004-05-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * reorg.c (delete_from_delay_slot): If we have a barrier after the
+       sequence containing the insn to be deleted, always reemit it.
+
+2004-05-20  Richard Henderson  <rth@redhat.com>
+
+       PR 15454
+       * tree-nested.c (get_chain_decl): Create a PARM_DECL by hand.
+       * function.c (expand_function_start): Expand static_chain_decl by hand.
+       * gimplify.c (create_tmp_var_name): Export.
+       * tree-gimple.h (create_tmp_var_name): Declare.
+
+2004-05-20  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * rs6000.c (print_operand) <case 'z'>: Call
+       mark_decl_referenced before assemble_name.
+
+2004-05-20  Zack Weinberg  <zack@codesourcery.com>
+
+       * cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node)
+       (cgraph_varpool_hash_node, eq_cgraph_varpool_node)
+       (cgraph_varpool_node): Hash on the pointer to the decl, not
+       the DECL_UID.  Fixes 64-bit bootstrap failure.
+
+2004-05-20  Richard Earnshaw <rearnsha@arm.com>
+
+       * arm.md (ite_ne_zeroextractsi, ite_ne_zeroextractsi_shifted): Ensure
+       we don't earlyclobber operands used in the second insn.
+
+2004-05-20  Steven Bosscher  <stevenb@suse.de>
+
+       * tree-mudflap.c: Formatting fixes.
+
+2004-05-20  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * Makefile.in (GTFILES): Add $(srcdir)/reload.h.
+       * gengtype.c (open_base_files): Include reload.h in ifiles.
+       * reload.h (reg_equiv_memory_loc_varray): Declare.
+       * reload1.c (reg_equiv_memory_loc_varray): New variable.
+       (init_reload): Initialize it.
+       (reload): Instead of freeing reg_equiv_memory_loc, 'grow'
+       reg_equiv_memory_loc_varray to size 0.
+       * ra.c (reg_alloc): Allocate reg_equiv_memory_loc by
+       growing reg_equiv_memory_loc_varray to the desired size.
+       * passes.c (rest_of_handle_old_regalloc): Likewise.
+       * reload.c: Amend comment on calling init_reload.
+
+2004-05-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Replace 'tramp'
+       with 'TRAMP' in the body of the macro definition.
+
+2004-05-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/15383
+       * config/ia64/ia64.c (ia64_expand_compare): Don't check
+       TARGET_HPUX for TFmode compare. Abort if op0 is in TFmode and
+       cmptf_libfunc isn't set.
+       (ia64_init_libfuncs): Rename TFmode libfuncs using the HPUX
+       conventions.
+       (ia64_sysv4_init_libfuncs): New.
+
+       * config/ia64/sysv4.h (TARGET_INIT_LIBFUNCS): New. Defined as
+       ia64_sysv4_init_libfuncs.
+
+2004-05-20  Falk Hueffner  <falk@debian.org>
+
+       PR other/15526
+       * libgcc2.c (__mulvsi3): Fix overflow test.
+
 2004-05-19  Andrew Pinski  <pinskia@physics.uc.edu>
 
+       PR c/14171
        * reg-stack.c (nan): Rename to ...
        (not_a_num): Here.
        (reg_to_stack): Rename nan to not_a_num.