OSDN Git Service

* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a1089cc..99f3442 100644 (file)
@@ -1,3 +1,173 @@
+2003-10-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (mips_global_pointer): Don't try to use $25.
+
+2003-10-30  Richard Henderson  <rth@redhat.com>
+
+       * config/mips/mips.c (mips_build_builtin_va_list): Use runtime
+       test for irix6 rather than preprocessor test.
+
+2003-10-30  Richard Henderson  <rth@redhat.com>
+
+       * cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
+
+2003-10-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (struct machine_function): Use save_return_addr_p
+       as a general flag that the return address register needs to be saved,
+       not necessarily because of __builtin_return_addr (0).
+       (s390_split_branches): Remove TEMP_REG and TEMP_USED arguments,
+       remove special handling of zSeries machines.
+       (s390_optimize_prolog): Remove TEMP_USED argument, treat the return 
+       register as a regular register on zSeries machines.
+       (s390_reorg): Adjust calls to s390_split_branches and 
+       s390_optimize_prolog.
+       (s390_frame_info): On zSeries machines, do not assume the return
+       register is always used.  Update regs_ever_live with current data
+       for the special registers.
+       (s390_emit_epilogue): Use save_return_addr_p to determine whether
+       the return register was saved.
+       * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Do not mark
+       RETURN_REGNUM fixed on zSeries machines.
+       (REG_ALLOC_ORDER): Use RETURN_REGNUM last.
+       * config/s390/s390.md ("*doloop_si"): Handle branch overflow
+       via ahi-jgne pair on zSeries machines.
+       ("*doloop_di"): Likewise.
+       ("*doloop_di_long"): Remove.
+
+2003-10-30  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (arm_override_options): Revert change of arm_constant_limit
+       when optimizing for size.
+
+2003-10-29  Richard Henderson  <rth@redhat.com>
+
+       * fold-const.c (fold_single_bit_test): Convert the input to the
+       operational intermediate type.
+
+2003-10-29  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (std_build_builtin_va_list): New.
+       * expr.h (std_build_builtin_va_list): Declare.
+       * defaults.h (BUILD_VA_LIST_TYPE): New.
+       * system.h (BUILD_VA_LIST_TYPE): Poison.
+       * target-def.h (TARGET_BUILD_BUILTIN_VA_LIST): New.
+       * target.h (struct gcc_target): Add build_builtin_va_list.
+       * tree.c (build_common_tree_nodes_2): Use it.
+
+       * config/alpha/alpha-protos.h, config/alpha/alpha.c, 
+       config/alpha/alpha.h, config/alpha/unicosmk.h,
+       config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h,
+       config/i386/i386-protos.h, config/i386/i386.c, config/i386/i386.h,
+       config/i860/i860-protos.h, config/i860/i860.c, config/i860/i860.h,
+       config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h,
+       config/mips/iris6.h, config/mips/mips-protos.h, config/mips/mips.c,
+       config/mips/mips.h, config/rs6000/rs6000-protos.h, 
+       config/rs6000/rs6000.c, config/rs6000/rs6000.h,
+       config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
+       config/sh/sh-protos.h, config/sh/sh.c, config/sh/sh.h,
+       config/xtensa/xtensa-protos.h, config/xtensa/xtensa.c,
+       config/xtensa/xtensa.h: Rename foo_build_va_list to
+       foo_build_builtin_va_list; make it static.  Define
+       TARGET_BUILD_BUILTIN_VA_LIST.  Remove BUILD_VA_LIST_TYPE.
+       Update protos.
+
+       * config/i386/i386.c (ix86_expand_carry_flag_compare): Make static.
+       * config/iq2000/iq2000.h (BUILD_VA_LIST_TYPE): Remove.
+
+2003-10-29  James E Wilson  <wilson@specifixinc.com>
+
+       * recog.c (asm_operand_ok): Add missing break after case 'X'.
+       Change if statements to else if statements in default case.
+       (extract_constrain_insn_cached): Fix misspelling of constrain_operands
+       in comment.
+       (constrain_operands_cached): Likewise.
+       (constrain_operands): Change if statements to else if statements in
+       default case.
+       * reload.c (find_reloads): Likewise.
+
+2003-10-29  Richard Henderson  <rth@redhat.com>
+
+       * config/m68k/m68k.c (notice_update_cc): Clear cc status for
+       shifts and rotates.
+
+2003-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.md: Remove duplicate pattern.
+
+2003-10-29  Hans-Peter Nilsson  <hp@axis.com>
+
+       * real.c (do_divide): Initialize result with a 0.
+
+       * configure.in <enable-checking for valgrind>: Look for
+       <valgrind/memcheck.h> first.  AC_DEFINE HAVE_VALGRIND_MEMCHECK_H
+       if it exists.
+       * configure, config.in: Regenerate.
+       * ggc-common.c [ENABLE_VALGRIND_CHECKING &&
+       HAVE_VALGRIND_MEMCHECK_H]: Include <valgrind/memcheck.h>.  Use
+       #elif for other alternatives.
+       * ggc-page.c: Ditto.
+       * ggc-zone.c: Don't assume <valgrind/memcheck.h>; instead copy
+       include structure from ggc-common.c.
+
+2003-10-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa-linux.h (ASM_OUTPUT_ADDR_VEC_ELT): Use label in big switch ELTs.
+       (ASM_OUTPUT_ADDR_DIFF_ELT): Use label difference in big switch ELTs.
+       * pa.c (pa_adjust_insn_length): Check for btable branches using
+       attribute TYPE_BTABLE_BRANCH.
+       (pa_reorg): Simplify.
+       * pa.h (CASE_VECTOR_MODE): Change big switch mode to SImode.
+       (ASM_OUTPUT_ADDR_VEC_ELT): As above.
+       (ASM_OUTPUT_ADDR_DIFF_ELT): As above.
+       * pa.md (btable_branch): New instruction type.
+       (in_branch_delay, in_nullified_branch_delay, in_call_delay): Disallow
+       btable branches.
+       (define_delay): Add btable branches to insn types that may have an
+       insn in the delay position.
+       (Z2, Z3): Add btable branch to list.
+       Simplify unamed pattern set copy pic_label_operand to register.  Add
+       PA 2.0 variant.
+       (short_jump): New jump for use in branch tables.
+       (casesi, casesi0): Revise for new branch table formats.
+       (casesi32, casesi32p, casesi64p): New casesi patterns.
+       (indirect_jump): Move.
+
+2003-10-29  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (UNITS_PER_WORD): Revert to
+       !TARGET_POWERPC64.
+       (UNITS_PER_GPR_WORD): Delete.
+       (HARD_REGNO_NREGS): Revert to UNITS_PER_WORD.
+       (HARD_REGNO_MODE_OK): Same.
+       (CLASS_MAX_NREGS): Same.
+
+2003-10-29  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.h (ASM_COMMENT_START): Define.
+
+2003-10-29  Zack Weinberg  <zack@codesourcery.com>
+
+       * genmodes.c (complete_mode): Record MODE_CC, MODE_INT,
+       MODE_FLOAT, and MODE_PARTIAL_INT modes as having one
+       component, not zero.
+
+2003-10-29  Andreas Schwab  <schwab@suse.de>
+
+       * config/ia64/t-ia64 (LIB2ADDEH): Add $(srcdir)/gthr-gnat.c.
+
+2003-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (function_arg_partial_nregs) [TARGET_ARCH64]:
+       Never return 1 for complex integral modes whose size is lesser or
+       equal to a word.
+       (function_arg_pass_by_reference) [TARGET_ARCH64]: Mention CTImode
+       in the comment.
+       (function_arg_advance) [TARGET_ARCH64]: Don't special-case complex
+       modes.
+       (sparc_va_arg) [TARGET_ARCH64]: Handle any types whose size is
+       greater than 16 bytes by reference.
+
 2003-10-29  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * config/ia64/ia64.c (ia64_assemble_integer): Test POINTER_SIZE,