OSDN Git Service

2005-04-19 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9bba2c5..fdbb23c 100644 (file)
@@ -1,3 +1,211 @@
+2005-04-19  Andrew Haley  <aph@redhat.com>
+
+       PR java/21022
+       * dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
+       looking at a field's bitpos.
+
+2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (fopen, fdopen, freopen): Define these to the unlocked
+       libiberty functions.
+
+2005-04-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR tree-optimization/21096
+       * tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.
+
+2005-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/21098
+       * config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New.
+       * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above.
+
+2005-04-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       * tree-cfg.c (dump_function_to_file): Use cfun info only if it
+       refers to the function being dumped.
+
+2005-04-18  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * varasm.c (assemble_start_function): Remove reset of in_section.
+
+2005-04-18  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR tree-optimization/21085
+       * fold-const (fold_binary): Don't change X % -C to X % C if C has
+       overflowed.
+
+2005-04-19  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/invoke.texi (Optimize Options): Refer to the correct
+       optimisation flag -ftree-dominator-opts, not -ftree-dom.
+
+2005-04-18  Christopher Jaillet <christophe.jaillet@wanadoo.fr>
+
+       * config/rs6000/rs6000.c (machopic_output_stub):  Increase
+       alloca argument to be big enough.
+
+2005-04-18  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR middle-end/21049
+       * tree-cfg.c (dump_function_to_file): Do not crash if cfun or
+       cfun->cfg are NULL.
+
+2005-04-18  Tom Tromey  <tromey@redhat.com>
+
+       * cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment
+       typo.
+
+2005-04-18  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_split_atomic_op): New.
+       (alphaev5_insn_pipe): Add LD_L, ST_C, MB types.
+       (alphaev4_insn_pipe): Likewise.  Correct IST and LDSYM pipes.
+       * config/alpha/alpha-protos.h: Update.
+       * config/alpha/alpha.md (UNSPECV_MB, UNSPECV_LL, UNSPECV_SC): New.
+       (UNSPECV_ATOMIC, UNSPECV_CMPXCHG, UNSPECV_XCHG): New.
+       (attr type): Add ld_l, st_c, mb.
+       (andsi_internal, andnotsi3, iorsi_internal, one_cmplsi_internal,
+       iornotsi3, xorsi_internal, xornotsi3): New.
+       * config/alpha/ev4.md (ev4_ld): Add ld_l.
+       (ev4_ist_c, ev4_mb): New.
+       * config/alpha/ev5.md (ev5_st): Add st_c, mb.
+       (ev5_ld_l): New.
+       * config/alpha/ev6.md (ev6_ild): Add ld_l.
+       (ev6_ist): Add st_c.
+       (ev6_mb): New.
+       * config/alpha/sync.md: New file.
+
+2005-04-18  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (expand_builtin_sync_operation): Fold nand to and
+       for constants.
+
+       * optabs.c (expand_sync_operation): Fix typo expanding nand to and.
+
+2005-04-18  Devang Patel  <dpatel@apple.com>
+
+       * config/rs6000/atlivec.md (mulv4si3): New pattern.
+       
+2005-04-18  James A. Morrison  <phython@gcc.gnu.org>
+
+       PR tree-optimization/20922
+       * fold-const.c (fold_binary): Fold X - c > X and X + c < X to false.
+       Fold X + c >= X and fold X - c <= X to true.
+
+2005-04-18  James A. Morrison  <phython@gcc.gnu.org>
+
+       * config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an
+       unsigned int.
+       (emergency_labeled_state_free): Likewise.
+
+2005-04-18  Nick Clifton  <nickc@redhat.com>
+
+       * config/h8300/h8300.md (jump): Remove prescan parameter from
+       calls to final_scan_insn.
+
+       * config/arc/arc.c (arc_output_function_epilogue): Remove prescan
+       parameter from calls to final_scan_insn.
+
+       * config.gcc (m68hc12): Use the m68hc11.opt file for target
+       specific options.
+       (v850e, v850e1): Use the v850.opt file for target specific
+       options.
+
+2005-04-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR tree-optimization/21001
+       * tree-optimize.c (init_tree_optimization_passes): Move the
+       first pass_forwprop immediately before pass_vrp.
+
+2005-04-17  Ian Lance Taylor  <ian@airs.com>
+
+       * c-common.def (SIZEOF_EXPR, ARROW_EXPR, ALIGNOF_EXPR): Remove.
+       * c-common.c (c_sizeof_or_alignof_type): Change second parameter
+       from enum tree_code op to bool is_sizeof.
+       * c-common.h (c_sizeof_or_alignof_type): Update declaration.
+       (c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type.
+       * c-pretty-print.c (pp_c_postfix_expression): Remove ARROW_EXPR
+       case.
+       (pp_c_unary_expression): Remove SIZEOF_EXPR and ALIGNOF_EXPR
+       cases.
+       (pp_c_expression): Remove ARROW_EXPR, SIZEOF_EXPR, and
+       ALIGNOF_EXPR cases.
+
+2005-04-17  Ian Lance Taylor  <ian@airs.com>
+
+       * system.h: Poison DONT_ACCESS_GBLS_AFTER_EPILOGUE.
+
+2005-04-17  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (va_list_skip_additions): Only define if
+       TARGET_ABI_OSF.
+       (TARGET_STDARG_OPTIMIZE_HOOK): Likewise.
+       (alpha_stdarg_optimize_hook): Likewise.  Allow for one more round
+       of indirection through ssa names while looking for the gpr counter
+       field.
+       (alpha_setup_incoming_varargs) <TARGET_ABI_OSF>: Make use of the
+       saved va_list_gpr_size and va_list_fpr_size.
+
+2005-04-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-vrp.c (compare_values): Check that VAL1 and VAL2 are
+       both pointers or both integers.
+
+       * tree-vrp.c (maybe_add_assert_expr): Don't assert
+       ASSERT_EXPRs for single-use variable.
+
+       * tree-into-ssa.c: Fix a comment typo.
+
+2005-04-17  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/iris6.h (DRIVER_SELF_SPECS): Check -march as well as
+       -mipsN before forcing a default of -mips2.
+
+2005-04-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * predict.h (IS_TAKEN): Remove.
+       * rtl.h (NOTE_PREDICTION): Likewise.
+
+       * modulo-sched.c (CFG_HOOKS): Remove.
+
+       * c-parser.c (N_C_TTYPES): Remove.
+
+       * tree-flow-inline.h (get_stmt_operands): Remove.
+       * lambda-code.c, tree-ssa-loop-unswitch.c,
+       tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa-propagate.c,
+       tree-ssa-sink.c, tree-ssa.c, tree-tailcall.c,
+       tree-vect-transform.c, tree-vectorizer.c, tree-vrp.c): Remove
+       calls to get_stmt_operands.
+       * doc/tree-ssa.texi: Don't mention get_stmt_operands.
+
+2005-04-17  Richard Henderson  <rth@redhat.com>
+
+       PR target/20375
+       * config/alpha/alpha.c (alpha_setup_incoming_varargs): Advance a copy
+       of CUMULATIVE_ARGS past the last named argument.
+       (alpha_va_start): Expect pretend_args_size only if strictly less than
+       6 named arguments.
+
+2005-04-17  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR middle-end/21024
+       * builtins.c (expand_builtin_strcat): Convert the result of
+       strlen to the right type.
+       * fold-const.c (fold_binary) <PLUS_EXPR>: Use fold_convert to
+       avoid creating type mismatches.
+       <GE_EXPR>: Pass op0 and op1 to fold_build2 to avoid creating
+       type mismatches.
+
+       * c-lex.c (WCHAR_TYPE_SIZE, WCHAR_BYTES): Remove.
+
+2005-04-16  Richard Henderson  <rth@redhat.com>
+
+       PR target/21051
+       * builtins.c (expand_builtin) <BUILT_IN_BOOL_COMPARE_AND_SWAP_*>:
+       Use the mode of boolean_type_node when the user doesn't provide one.
+       * config/ia64/sync.md (sync_lock_release<I48MODE>): Use operand 1.
+
 2005-04-16  Alexandre Oliva  <aoliva@redhat.com>
 
        PR target/20126