OSDN Git Service

* config/darwin-c.c (add_framework): Copy the directory name as it
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1acb8eb..558e3a4 100644 (file)
@@ -1,3 +1,165 @@
+2004-05-05  Mike Stump  <mrs@apple.com>
+
+       * config/darwin-c.c (add_framework): Copy the directory name as it
+       can be freed later.  Also, ensure we always allocate enough room
+       for the cached framework information.
+       (find_subframework_header): Keep track of the directory where the
+       subframework header was found.
+       (framework_construct_pathname): Speed up by not trying to re-add a
+       framework.
+       * cppfiles.c (search_path_exhausted): Arrange for the missing
+       header callback to be able to set the directory where the header
+       was found.
+       (cpp_get_dir): Add.
+       * cpplib.h (missing_header_cb): Add a parameter.
+       (cpp_get_dir): Add.
+
+2004-05-03  Mike Stump  <mrs@apple.com>
+
+       * doc/invoke.texi (Directory Options): Document -iquote.
+       * doc/cpp.texi: Likewise.
+       * doc/cppopts.texi: Likewise.
+       * c-opts.c (c_common_missing_argument): Add -iquote processing.
+       (c_common_handle_option): Likewise.
+       * c.opt (iquote): Add.
+       * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote.
+       * c-incpath.c (merge_include_chains): Update comment to use -iquote.
+
+       * c-opts.c (case OPT_I): Deprecate -I- support.
+       * doc/invoke.texi: Likewise.
+       * doc/cpp.texi: Likewise.
+       * doc/cppopts.texi: Likewise.
+
+2004-05-05  Steven Bosscher  <stevenb@suse.de>
+
+       * basic-block.h (free_basic_block_vars): Update prototype.
+       * flow.c (free_basic_block_vars): Remove the keep_head_end_p
+       argument.
+       (life_analysis): Update call.
+       * ifcvt.c (if_convert): Likewise.
+       * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise.
+       * passes.c (rest_of_handle_final): Likewise.
+       (rest_of_compilation): Likewise.
+       * config/sh/sh.c (sh_output_mi_thunk): Likewise.
+
+       * emit-rtl.c (next_real_insn): Use INSN_P.
+       (prev_real_insn): Likewise.
+
+2004-05-05  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.md: Update the madd define_split for new mflo/mfhi
+       representation.
+
+2004-05-05  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/rs6000/rs6000.c (build_opaque_vector_type):
+       New function.
+       (rs6000_init_builtins): Use it.
+
+2004-05-04  Bernard Giroud  <bgiroud2@free.fr>
+
+       * gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New.
+       (func_table): Change type from char ** to vms_func_ref.
+       (write_rtnbeg):  Update to reflect func_table change.  Use
+       fde->funcdef_number instead of rtnnum in output.
+       (write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise.
+
+2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
+           Richard Henderson  <rth@redhat.com>
+
+       PR target/14899
+
+       * c-common.c (vector_types_convertible_p): New function.
+       * c-typeck.c (comptypes): Recurse on vector types.
+       (convert_for_assignment): Use vector_types_convertible_p.
+       (digest_init): Use vector_types_convertible_p to check
+       validness of constant vector initializers; otherwise treat
+       them as scalars.
+       * tree.c (make_or_reuse_type): New.
+       (build_common_tree_nodes): Use it.
+       * cp/call.c (standard_conversion): Likewise.
+       * cp/typeck.c (comptypes): Recurse on vector types.
+       (convert_for_assignment): Use vector_types_convertible_p.
+
+2004-05-04  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/mips/mips.c (override_options): Default to no
+       generation of branch-likely operations when tuning for
+       CPUs where they tend to have a negative performance impact
+       (e.g., SB-1).
+
+2004-05-04  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * expr.c (store_constructor_field): Don't call store_constructor
+       if bitsize is not a multiple of a byte.
+
+2004-05-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       * reload1.c (inherit_piecemeal_p): New function.
+       (emit_reload_insns): When reloading a group of hard registers, use
+       inherit_piecemeal_p to decide whether the values of individual hard
+       registers can be inherited.
+
+2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
+       * config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
+       * config/t-linux (LIB2ADDEHDEP): Likewise.
+
+2004-05-04  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/crti.asm: Push an even number of registers.
+       * config/arm/crtn.asm: And restore them.  Load via sp.
+
+2004-05-04  Paolo Bonzini  <bonzini@gnu.org>
+
+       * ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
+       Collect overhead information.
+       (ggc_alloc_stat): New name of ggc_alloc.  Add MEM_STAT_DECL
+       parameter and pass it through.
+       (ggc_alloc_typed_stat): New name of ggc_alloc_typed.  Add
+       MEM_STAT_DECL parameter and pass it through.
+       (ggc_alloc_zone_stat): New name of ggc_alloc_zone.  Add
+       MEM_STAT_DECL parameter and pass it through.
+
+2004-05-03  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.
+
+       * config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.
+
+       * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
+       rs6000_hard_regno_nregs.
+
+2004-05-03  Eric Christopher  <echristo@redhat.com>
+
+       * config/s390/s390.c (s390_emit_prologue): Call unspec tpf
+       prologue insn instead of setting up call.
+       (s390_emit_epilogue): Ditto.
+       * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
+       (define_constants): Add numbers for above patterns.
+
+2004-05-03  Eric Christopher  <echristo@redhat.com>
+
+       * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
+       * config/s390/s390.c (s390_conditional_register_usage): ...here.
+       * config/s390/s390-protos.h: Prototype.
+
+2004-05-03  Joe Buck <jbuck@welsh-buck.org>
+
+       * cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
+       assignment.
+
+2004-05-03  Eric Christopher  <echristo@redhat.com>
+
+       * config/mips/mips.md: Fix branch length attribute definition.
+
+2004-05-03  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config.gcc: Remove --enable-altivec support.
+
+       * config/rs6000/altivec-defs.h: Remove.
+
 2004-05-03  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
        * dwarf2out.c (dwarf2out_imported_module_or_decl): Use
        force_type_die for CONST_DECL.
 
-2004-05-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
-            Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+2004-05-03  Eric Botcazou  <ebotcazou@libertysurf.fr>
+           Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
        tm-dwarf2.h to tm_file.
        * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
 
 2004-05-01  Ulrich Weigand  <uweigand@de.ibm.com>
-       
+
        PR middle-end/15054
-       * expr.c (expand_expr_real): Do not call preserve_temp_slots 
+       * expr.c (expand_expr_real): Do not call preserve_temp_slots
        on a TARGET_EXPR temp.
        * function.c (assign_stack_temp_for_type): Set 'keep' flag for
        TARGET_EXPR temp slots.
        * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define.
 
 2004-04-30  Brian Ford  <ford@vss.fsi.com>
-            DJ Delorie  <dj@redhat.com>
-
-        * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
-        (DWARF2_DEBUGGING_INFO): Define to enable.
-        (DBX_REGISTER_NUMBER): Define to use the svr4 register map for
-        DWARF2.
-        * configure.ac (Target-specific assembler checks)
-        <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
-        relocs.
-        * configure: Regenerate.
-        * config.in: Likewise.
-
-        * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
-        (ASM_OUPUT_DWARF_OFFSET): Define.
+           DJ Delorie  <dj@redhat.com>
+
+       * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
+       (DWARF2_DEBUGGING_INFO): Define to enable.
+       (DBX_REGISTER_NUMBER): Define to use the svr4 register map for
+       DWARF2.
+       * configure.ac (Target-specific assembler checks)
+       <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
+       relocs.
+       * configure: Regenerate.
+       * config.in: Likewise.
+
+       * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
+       (ASM_OUPUT_DWARF_OFFSET): Define.
 
 2004-04-29  Andreas Krebbel  <krebbel1@de.ibm.com>