OSDN Git Service

2005-02-28 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e3e54f8..915ec58 100644 (file)
@@ -1,3 +1,105 @@
+2005-03-31  Paolo Bonzini  <bonzini@gnu.org>
+
+       * gcc/configure.ac (TL_AC_GNU_MAKE_GCC_LIB_PATH): Remove.
+       * gcc/configure: Regenerate.
+
+2005-03-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/install.texi: Update binutils requirement for powerpc*-linux.
+
+       * config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Update comments.
+
+       * calls.c (struct arg_data): Update "partial" comment.
+       (load_register_parameters): Update "nregs" comment.
+
+2005-03-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/iq2000/iq2000.h (target_flags, MASK_GPOPT, MASK_EMBEDDED_DATA)
+       (MASK_UNINIT_CONST_IN_RODATA, TARGET_EMBEDDED_DATA, TARGET_SWITCHES)
+       (TARGET_DEFAULT, TARGET_CPU_DEFAULT, SUBTARGET_TARGET_OPTIONS)
+       (TARGET_OPTIONS, iq2000_cpu_string, iq2000_arch_string): Delete.
+       (TARGET_DEBUG_MODE, TARGET_DEBUG_A_MODE, TARGET_DEBUG_B_MODE)
+       (TARGET_DEBUG_C_MODE, TARGET_DEBUG_D_MODE): Define to 0 rather
+       than target_flags & 0.
+       * config/iq2000/iq2000.c (iq2000_cpu_string, iq2000_arch_string)
+       (iq2000_arch, iq2000_parse_cpu): Delete.
+       (TARGET_HANDLE_OPTION): Override default.
+       (iq2000_handle_option): New function.
+       (override_options): Remove -march= and -mcpu= handling.
+       * config/iq2000/iq2000.opt: New file.
+
+2005-03-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/c4x/c4x-protos.h (c4x_rpts_cycles, c4x_cpu_version): Delete.
+       * config/c4x/c4x.h (SMALL_MEMORY_FLAG, MPYI_FLAG, FAST_FIX_FLAG)
+       (RPTS_FLAG, C3X_FLAG, TI_FLAG, PARANOID_FLAG, MEMPARM_FLAG, DEVEL_FLAG)
+       (RPTB_FLAG, BK_FLAG, DB_FLAG, DEBUG_FLAG, HOIST_FLAG)
+       (LOOP_UNSIGNED_FLAG, FORCE_FLAG, PRESERVE_FLOAT_FLAG)
+       (PARALLEL_INSN_FLAG, PARALLEL_MPY_FLAG, ALIASES_FLAG, C30_FLAG)
+       (C31_FLAG, C32_FLAG, C33_FLAG, C40_FLAG, C44_FLAG, TARGET_SWITCHES)
+       (TARGET_DEFAULT, TARGET_SMALL, TARGET_MPYI, TARGET_FAST_FIX)
+       (TARGET_RPTS, TARGET_TI, TARGET_PARANOID, TARGET_MEMPARM, TARGET_DEVEL)
+       (TARGET_RPTB, TARGET_BK, TARGET_DB, TARGET_DEBUG, TARGET_HOIST)
+       (TARGET_LOOP_UNSIGNED, TARGET_FORCE, TARGET_PRESERVE_FLOAT)
+       (TARGET_PARALLEL, TARGET_PARALLEL_MPY, TARGET_ALIASES)
+       (c4x_rpts_cycles_string, c4x_cpu_version_string)
+       (TARGET_OPTIONS): Delete.
+       (c4x_rpts_cycles, c4x_cpu_version): Declare.
+       (TARGET_C3X, TARGET_C30, TARGET_C31, TARGET_C32, TARGET_C33)
+       (TARGET_C40, TARGET_C44): Redefine in terms of c4x_cpu_version.
+       * config/c4x/c4x.c (c4x_rpts_cycles_string): Delete.
+       (c4x_cpu_version_string): Delete.
+       (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
+       (c4x_handle_option): New function.  Map -m3x and -m4x options to the
+       equivalent -mcpu= option.
+       (c4x_override_options): Remove -mrpts= and -mcpu= handling from here.
+       Deal with the extra conditions in the old TARGET_MPYI, TARGET_RPTB,
+       TARGET_DB, TARGET_PARALLEL and TARGET_PARALLEL_MPY macros by setting
+       or clearing the appropriate MASK_* bit.
+       (c4x_file_start): Use c4x_cpu_version.
+       * config/c4x/c4x.opt: New file.
+
+2005-03-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/options.texi: Document the new MaskExists flag.
+       * opth-gen.awk: Don't output MASK and TARGET macros for Mask(...)
+       if the option has the MaskExists flag.
+
+2005-03-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * opt-functions.awk (flag_set_p, test_flag): New functions.
+       (switch_flags): Use them.
+       * opth-gen.awk: Use flag_set_p to check for flags.
+       * optc-gen.awk: Likewise.  Use opt_args to check for Init(...) flags.
+
+2005-03-30  Ian Lance Taylor  <ian@airs.com>
+
+       * config.host (i[34567]86-*-mingw32*): Don't set
+       host_can_use_collect2 to no.
+
+2005-03-30  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/20203
+       * builtins.c (get_memory_rtx): Expand address exp using EXPAND_NORMAL.
+       Remove convert_memory_address call duplicating that in memory_address.
+
+2005-03-29  Richard Henderson  <rth@redhat.com>
+
+       PR c/20519
+       * c-decl.c (c_finish_incomplete_decl): Update complete_array_type call.
+       (build_compound_literal): Likewise.  Propagate decl type into the
+       initializer.
+       (finish_decl): Likewise.  Use new return value from complete_array_type
+       for zero sized arrays.
+       (complete_array_type): Move ...
+       * c-common.c (complete_array_type): ... here.  Change first argument
+       to pointer-to-type-node.  Consistently use sizetype for the index
+       except for zero sized arrays.  Detect zero sized arrays for pedantic
+       mode diagnostics.  Create a new type node instead of modifying the
+       old node in place.
+       * c-tree.h (complete_array_type): Move decl ...
+       * c-common.h (complete_array_type): ... here.
+
 2005-03-29  Richard Henderson  <rth@redhat.com>
 
        PR tree-opt/19108