OSDN Git Service

* config/iq2000/iq2000.c (function_arg): Handle TImode values.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2357c2a..30ad268 100644 (file)
@@ -1,3 +1,313 @@
+2009-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/iq2000/iq2000.c (function_arg): Handle TImode values.
+       (function_arg_advance): Likewise.
+       * config/iq2000/iq2000.md (movsi_internal2): Fix the length of the
+       5th alternative.
+
+2009-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/constraints.md ('I', 'J'): Fix condition.
+
+2009-04-24  Diego Novillo  <dnovillo@google.com>
+
+       * gengtype-parse.c (parse_error): Add newline after message.
+
+2009-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/sse.md (avxmodesuffixs): Removed.
+       (*avx_pinsr<avxmodesuffixs>): Renamed to ...
+       (*avx_pinsr<ssevecsize>): This.
+
+2009-04-24  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * loop-iv.c (replace_single_def_regs): Look for REG_EQUAL notes;
+       follow chains of regs with a single definition, and allow expressions
+       that are function_invariant_p.
+       (simple_rhs_p): Allow expressions that are function_invariant_p.
+
+2009-04-24  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR middle-end/39867
+       * fold-const.c (fold_cond_expr_with_comparison): When folding
+       > and >= to MAX, make sure the MAX uses the same type as the
+       comparison's operands.
+
+2009-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/frv/frv.c (frv_frame_access): Do not use reg+reg
+       addressing for DImode accesses.
+       (frv_print_operand_address): Handle PLUS case.
+       * config/frv/frv.h (FIXED_REGISTERS): Mark link register as
+       fixed.
+
+2009-04-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/39794
+       * alias.c (canon_true_dependence): Add x_addr argument.
+       * rtl.h (canon_true_dependence): Adjust prototype.
+       * cse.c (check_dependence): Adjust canon_true_dependence callers.
+       * cselib.c (cselib_invalidate_mem): Likewise.
+       * gcse.c (compute_transp): Likewise.
+       * dse.c (scan_reads_nospill): Likewise.
+       (record_store, check_mem_read_rtx): Likewise.  For non-const-or-frame
+       addresses pass base->val_rtx as mem_addr, for const-or-frame addresses
+       canon_base_addr of the group, plus optional offset.
+       (struct group_info): Rename canon_base_mem to
+       canon_base_addr.
+       (get_group_info): Set canon_base_addr to canon_rtx of base, not
+       canon_rtx of base_mem.
+
+2009-04-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
+       Use memory_address_p instead of GO_IF_LEGITIMATE_ADDRESS.
+
+2009-04-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu-builtins.h: Delete file.
+
+       * config/spu/spu.h (enum spu_builtin_type): Move here from
+       spu-builtins.h.
+       (struct spu_builtin_description): Likewise.  Add GTY marker.
+       Do not use enum spu_function_code or enum insn_code.
+       (spu_builtins): Add extern declaration.
+
+       * config/spu/spu.c: Do not include "spu-builtins.h".
+       (enum spu_function_code, enum spu_builtin_type_index,
+       V16QI_type_node, V8HI_type_node, V4SI_type_node, V2DI_type_node,
+       V4SF_type_node, V2DF_type_node, unsigned_V16QI_type_node,
+       unsigned_V8HI_type_node, unsigned_V4SI_type_node,
+       unsigned_V2DI_type_node): Move here from spu-builtins.h.
+       (spu_builtin_types): Make static.  Add GTY marker.
+       (spu_builtins): Add extern declaration with GTY marker.
+       Include "gt-spu.h".
+
+       * config/spu/spu-c.c: Do not include "spu-builtins.h".
+       (spu_resolve_overloaded_builtin): Do not use spu_function_code.
+       Check programmatically whether all parameters are scalar.
+
+       * config/spu/t-spu-elf (spu.o, spu-c.o): Update dependencies.
+
+2009-04-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimplify.c (gimplify_modify_expr_rhs) <VAR_DECL>: Do not do a direct
+       assignment from the constructor either if the target is volatile.
+
+2009-04-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/arm/arm.md (insv): Do not share operands[0].
+
+2009-04-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/vxlib-tls.c (active_tls_threads): Delete.
+       (delete_hook_installed): New.
+       (tls_delete_hook): Don't delete the delete hook.
+       (tls_destructor): Delete it here.
+       (__gthread_set_specific): Adjust installing the delete hook.
+       (tls_delete_hook): Use __gthread_enter_tsd_dtor_context and
+       __gthread_leave_tsd_dtor_context.
+
+2009-04-23  Rafael Avila de Espindola  <espindola@google.com>
+
+       * c-format.c (gcc_tdiag_char_table): Add support for %E.
+
+2009-04-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (alpha_legitimize_reload_address): Add cast to
+       enum type.
+       (alpha_rtx_costs): Ditto.
+       (emit_unlikely_jump): Use add_reg_note.
+       (emit_frame_store_1): Ditto.
+       (alpha_expand_prologue): Ditto.
+       (alpha_expand_builtin): Change 0 to EXPAND_NORMAL in function call.
+       * config/alpha/alpha.c (Unicos/Mk address splitter): Use add_reg_note.
+
+2009-04-23  Nick Clifton  <nickc@redhat.com>
+
+       * config/v850/v850.md (epilogue): Remove suppressed code.
+       (return): Rename to return_simple and remove test of frame size.
+       * config/v850/v850.c (expand_epilogue): Rename call to gen_return
+       to gen_return_simple.
+
+2009-04-22  Jing Yu  <jingyu@google.com>
+
+       PR testsuite/39781
+       * config/arm/arm.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
+
+2009-04-22  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR C/31499
+       * c-typeck.c (process_init_element): Treat VECTOR_TYPE like ARRAY_TYPE
+       and RECORD_TYPE/UNION_TYPE.  When outputing the actual element and the
+       value is a VECTOR_CST, the element type is the element type of the
+       vector.
+
+2009-04-22  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/m32c.h: Update GTY annotations to new syntax.
+
+2009-04-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * alias.c (find_base_term): Move around LO_SUM case, so that
+       CONST falls through into PLUS/MINUS handling.
+
+       PR c/39855
+       * fold-const.c (fold_binary) <case LSHIFT_EXPR>: When optimizing
+       into 0, use omit_one_operand.
+
+2009-04-23  Ben Elliston  <bje@au.ibm.com>
+
+       * config/rs6000/linux-unwind.h (get_regs): Remove type
+       puns. Change the type of `pc' to an array of unsigned ints and
+       update all users.  Constify frame24.
+
+2009-04-22  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/m32c.c (m32c_special_page_vector_p): Move
+       declarations before code.
+       (current_function_special_page_vector): Likewise.
+       (m32c_expand_insv): Silence a warning.
+
+2009-04-21  Taras Glek <tglek@mozilla.com>
+
+       * alias.c: Update GTY annotations to new syntax.
+       * basic-block.h: Likewise.
+       * bitmap.h: Likewise.
+       * c-common.h: Likewise.
+       * c-decl.c: Likewise.
+       * c-parser.c: Likewise.
+       * c-pragma.c: Likewise.
+       * c-tree.h: Likewise.
+       * cfgloop.h: Likewise.
+       * cgraph.h: Likewise.
+       * config/alpha/alpha.c: Likewise.
+       * config/arm/arm.h: Likewise.
+       * config/avr/avr.h: Likewise.
+       * config/bfin/bfin.c: Likewise.
+       * config/cris/cris.c: Likewise.
+       * config/darwin.c: Likewise.
+       * config/frv/frv.c: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/i386/i386.h: Likewise.
+       * config/i386/winnt.c: Likewise.
+       * config/ia64/ia64.h: Likewise.
+       * config/iq2000/iq2000.c: Likewise.
+       * config/mips/mips.c: Likewise.
+       * config/mmix/mmix.h: Likewise.
+       * config/pa/pa.c: Likewise.
+       * config/pa/pa.h: Likewise.
+       * config/rs6000/rs6000.c: Likewise.
+       * config/s390/s390.c: Likewise.
+       * config/sparc/sparc.c: Likewise.
+       * config/xtensa/xtensa.c: Likewise.
+       * cselib.h: Likewise.
+       * dbxout.c: Likewise.
+       * dwarf2out.c: Likewise.
+       * except.c: Likewise.
+       * except.h: Likewise.
+       * fixed-value.h: Likewise.
+       * function.c: Likewise.
+       * function.h: Likewise.
+       * gimple.h: Likewise.
+       * integrate.c: Likewise.
+       * optabs.c: Likewise.
+       * output.h: Likewise.
+       * real.h: Likewise.
+       * rtl.h: Likewise.
+       * stringpool.c: Likewise.
+       * tree-data-ref.c: Likewise.
+       * tree-flow.h: Likewise.
+       * tree-scalar-evolution.c: Likewise.
+       * tree-ssa-address.c: Likewise.
+       * tree-ssa-alias.h: Likewise.
+       * tree-ssa-operands.h: Likewise.
+       * tree.c: Likewise.
+       * tree.h: Likewise.
+       * varasm.c: Likewise.
+       * varray.h: Likewise.
+       * vec.h: Likewise.
+       * coretypes.h: Do not define GTY macro if it is already defined.
+       * doc/gty.texi: Update GTY documentation to new syntax.
+       * gengtype-lex.l: Enforce attribute-like syntax for GTY
+       annotations on structs.
+       * gengtype-parse.c: Likewise.
+
+2009-04-22  Mark Heffernan  <meheff@google.com>
+
+       * gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
+
+2009-04-22  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/arm/arm.c (arm_rtx_costs_1): Use power_of_two_operand
+       where appropriate.
+
+2009-04-22  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/arm/arm.c (arm_size_rtx_costs): Treat a PLUS with a shift
+       the same as a PLUS without a shift.  Increase the cost of a
+       CONST_INT in MULT.
+
+2009-04-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * Makefile.in: Update dependencies.
+       * errors.c (warning): Remove unused parameter 'opt'. Returns 'void'.
+       * errors.h: Remove bogus comment about compatibility.
+       (warning): Update declaration.
+       * genautomata.c: Update all calls to warning.
+       * gimple.c: Do not include errors.h. Include toplev.h.
+       * tree-ssa-structalias.c: Do not include errors.h.
+       * omega.c: Likewise.
+       * tree-ssa-reassoc.c: Likewise.
+       * config/spu/spu-c.c: Likewise.
+       * config/spu/t-spu-elf: Update dependencies.
+
+2009-04-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/39824
+       * tree-ssa-ccp.c (fold_const_aggregate_ref): For INDIRECT_REFs
+       make sure the types are compatible.
+
+2009-04-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR c++/14875
+       * c-common.c (c_parse_error): Take a token_flags parameter.
+       Use token_type for the token type instead.
+       Pass token_flags to cpp_type2name.
+       * c-common.h (c_parse_error): Update declaration.
+       * c-parser.c (c_parser_error): Pass 0 as token flags.
+
+2009-04-22  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/39580
+       * sel-sched-ir.c (insert_in_history_vect): Remove incorrect gcc_assert. 
+       
+2009-04-22  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * function.c (expand_function_end): Do not emit a jump to the "naked"
+       return label for fall-through returns.
+       * except.c (sjlj_emit_function_exit): Always place the call to the
+       unregister function at the location installed by expand_function_end.
+
+2009-04-22  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/39845
+       * tree-switch-conversion.c (build_arrays): Add new referenced vars.
+       (gen_inbound_check): Likewise.
+
+2009-04-22  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gthr-vxworks.h (struct __gthread_once_t): Add alignment and
+       padding for PPC.
+       (__GTHREAD_ONCE_INIT): Adjust ppc initializer.
+       * config/vxlib.c (__gthread_once): Add race guard for PPC.
+
+2009-04-22  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/sh/sh.c (shift_insns_rtx, shiftcosts, gen_shifty_op,
+       sh_dynamicalize_shift_p, shl_and_scr_length): Truncate
+       shift counts to avoid out-of-bounds array accesses.
+
 2009-04-22  Paolo Bonzini  <bonzini@gnu.org>
 
        * config/sparc/sparc.h (POINTER_SIZE): Fix comment.