i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
[gcc.git] / gcc / ChangeLog
index 4ca7cf5996bec619417e675edbc18c0025f4fe0f..28386135d3bb97bf222b167025585a595cd9d13a 100644 (file)
@@ -1,7 +1,207 @@
+2004-11-24  Ben Elliston  <bje@au.ibm.com>
+
+       * config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
+       * config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
+       * config/i386/i386-protos.h (i386_dwarf_output_addr_const):
+       Likewise.
+       
+2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
+
+       * tree-inline.c (copy_body_r): Explicitly copy a constant if the
+       type will be remapped.
+
+2004-11-24  Steven Bosscher  <stevenb@suse.de>
+
+       * c-opts.c (c_common_post_options): Don't clear
+       flag_inline_functions.
+       * dojump.c (clear_pending_stack_adjust): Remove check on
+       flag_inline_functions, it's always true.
+       * config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
+       that can never trigger.
+       * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
+       flag_inline_trees, now that flag_inline_functions is never
+       cleared.
+       * config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
+       flag_inline_functions at optimization levels greater than
+       or equal to 3.  This is already done by default.
+
+2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
+       instead to find the PHI argument.  Do not take I as an
+       argument.
+       (eliminate_phi): Adjust the call to eliminate_build.  Do not
+       take I as an argument.
+       (rewrite_trees): Adjust the call to eliminate_phi.
+
+2004-11-24  Richard Sandiford  <rsandifo@redhat.com>
+
+       * optabs.h (force_expand_binop): Declare.
+       * optabs.c (force_expand_binop): Export.
+       * stmt.c (shift_return_value): Delete.
+       (expand_return): Don't call it.
+       * expr.h (shift_return_value): Declare.
+       * calls.c (shift_returned_value): Delete in favor of...
+       (shift_return_value): ...this new function.  Leave the caller to check
+       for non-BLKmode values passed in the msb of a register.  Take said mode
+       and a shift direction as argument.  Operate on the hard function value,
+       not a pseudo.
+       (expand_call): Adjust accordingly.
+       * function.c (expand_function_start): If a non-BLKmode return value
+       is padded at the last significant end of the return register, use the
+       return value's natural mode for the DECL_RESULT, not the mode of the
+       padded register.
+       (expand_function_end): Shift the same sort of return values left by
+       the appropriate amount.
+
+2004-11-24  Matt Austern  <austern@apple.com>
+
+       * recog.c (recog_memoized_1): Remove.
+       * recog.h (recog_memoized_1): Remove declaration.
+       (recog_memoized): Change from macro to inline function.
+       
+2004-11-24  Devang Patel  <dpatel@apple.com>
+
+       PR/18555
+       * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add isysroot.
+       * config/darwin-c.c (darwin_register_frameworks): Use sysroot.
+
+2004-11-24  Devang Patel  <dpatel@apple.com>
+
+       * gcc.c (process_command): Supply -v to linker.
+       
+2004-11-24  David Edelsohn  <edelsohn@gnu.org>
+           Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_return_in_memory): Allow Altivec
+       vector modes without ALTIVEC_ABI.  Use GCC vector instead of
+       synthetic vector.
+       (rs6000_pass_by_reference): Split conditional into pieces.  Use
+       GCC vector instead of synthetic vector.
+
+2004-11-24  Aldy Hernandez  <aldyh@redhat.com>
+
+       * tree.c (recompute_tree_invarant_for_addr_expr): The address of a
+       thread-local variable is invariant.
+
+2004-11-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
+       Handle TYPE_REF_CAN_ALIAS_ALL.
+       (print_declaration): Print array dimensions like dump_generic_node.
+
+       * fold-const.c (operand_equal_p): Remove kludge allowing ARG0 and
+       ARG1 to be null; instead define OP_SAME and OP_SAME_NULL and use them.
+
+2004-11-24  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * bitmap.c (INLINE): Do not define.
+       (bitmap_elem_to_freelist, bitmap_element_free,
+       bitmap_element_allocate, bitmap_clear, bitmap_element_zerop,
+       bitmap_element_link, bitmap_find_bit): Use inline keyword/macro.
+
+2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-dom.c (cprop_into_successor_phis): Remove code to
+       find the index of a PHI argument.  Use e->dest_idx instead.
+       Replace hint with index.
+
+       * tree-ssa-dom.c (cprop_into_successor_phis): Replace index
+       with indx.
+
+2004-11-24  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-ssa-alias.c (merge_pointed_to_info): Fix comment
+       regarding PT_MALLOC.
+
+2004-11-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/i386.c (optimization_options): Use
+       SUBTARGET_OPTIMIZATION_OPTIONS.
+       * config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
+       (TARGET_SUBTARGET_DEFAULT): Don't include
+       MASK_OMIT_LEAF_FRAME_POINTER.
+
+2004-11-24  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE): 
+       Define to false.
+
+2004-11-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/t-sol2-10 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES):
+       Use amd64 instead of 64.
+
+2004-11-24  Mark Mitchell  <mark@codesourcery.com>
+            Joseph Myers  <joseph@codesourcery.com>
+
+       * crtstuff.c (IN_LIBGCC2): Define it.
+       (EH_FRAME_SECTION_CONST): Check EH_TABLES_CAN_BE_READ_ONLY
+       instead of HAVE_LD_RO_RW_SECTION_MIXING.
+       * defaults.h (EH_TABLES_CAN_BE_READ_ONLY): New macro.
+       * dwarf2out.c (named_section_eh_frame_section): Check
+       EH_TABLES_CAN_BE_READ_ONLY.
+       * except.c (default_exception_section): Likewise.
+       * config/i386/sol2.h (EH_TABLES_CAN_BE_READ_ONLY): Define.
+       * doc/tm.texi (EH_TABLES_CAN_BE_READ_ONLY): Document.
+
+2004-11-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-pre.c (phi_translate): Use find_edge to find the
+       index of a PHI argument.
+
+       * tree-ssa-loop-manip.c (lv_adjust_loop_header_phi): Use
+       find_edge to find the index of a PHI argument.
+
+2004-11-24  Steven Bosscher  <stevenb@suse.de>
+
+       * expr.c (expand_expr_real_1): Remove cases for EXIT_BLOCK_EXPR 
+       and LABELED_BLOCK_EXPR.
+       * gimplify.c (gimplify_labeled_block_expr): Remove.
+       (gimplify_exit_block_expr): Remove.
+       (gimplify_expr): Don't call them.
+       * tree-inline.c (copy_body_r): Don't handle EXIT_BLOCK_EXPR
+       and LABELED_BLOCK_EXPR.
+       (estimate_num_insns_1): Likewise.
+       (walk_tree): Likewise.
+       * tree-pretty-print.c (dump_generic_node): Don't handle
+       EXIT_BLOCK_EXPR and LABELED_BLOCK_EXPR.
+       * tree.def (EXIT_BLOCK_EXPR): Moved to java-tree.def.
+       (LABELED_BLOCK_EXPR): Likewise.
+       * tree.h (LABELED_BLOCK_LABEL): Moved to java-tree.h.
+       (LABELED_BLOCK_BODY): Likewise.
+       (EXIT_BLOCK_LABELED_BLOCK): Likewise.
+       (EXIT_BLOCK_RETURN): Removed.
+
+2004-11-24  Steven Bosscher  <stevenb@suse.de>
+
+       * cfgrtl.c (rtl_delete_block): Fix comment.
+       * emit-rtl.c (remove_unnecessary_notes): Die if we see BLOCK_BEG
+       or BLOCK_END insn notes.
+       * jump.c (squeeze_notes): Likewise.
+       * haifa-sched.c (reemit_notes): Don't "re-emit" EH_REGION_BEG and
+       EH_REGION_END notes, we never have them to begin with.
+       * sched-deps.c (sched_analyze_insn): When updating loop notes,
+       verify that we have indeed only recorded loop notes.
+       (sched_analyze): Die if we see EH_REGION_BEG or EH_REGION_END notes.
+       Only record loop notes.
+
+       * cfgexpand.c (tree_expand_cfg): Fix comment.
+
+       * passes.c (rest_of_compilation): Don't do a second call to
+       convert_from_eh_region_ranges from here, it's already called
+       from cfgexpand.c.
+       * except.c (resolve_fixup_regions): Remove.
+       (remove_fixup_regions): Remove.
+       (convert_from_eh_region_ranges_1): Remove.
+       (convert_from_eh_region_ranges): Remove the case where EH is
+       not already lowered at the tree level.  We always lower there.
+
 2004-11-24  Paolo Bonzini  <bonzini@gnu.org>
 
        PR c++/16882
-
        * tree.c (make_vector_type): Move qualifiers to the vector type,
        use the inner type's main variant and build a main variant for
        the vector type if necessary.
        (record_jump_cond): Use it instead of gen_lowpart.
 
 2004-11-23  Daniel Jacobowitz  <dan@codesourcery.com>
-            Joseph Myers  <joseph@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
 
        * config/sol2-c.c (solaris_register_pragmas): Use
        c_register_pragma_with_expansion.
        (idx_find_step): Replace uses of EXEC_BINARY with calls to
        fold_binary_to_constant.
 
+2004-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * sbitmap.c (sbitmap_union_of_preds): Remove redundant
+       initialisation of 'e'.
+
 2004-11-22  Roger Sayle  <roger@eyesopen.com>
 
        * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.