OSDN Git Service

2009-01-13 Vladimir Makarov <vmakarov@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 92ffefe..0eba871 100644 (file)
@@ -1,3 +1,250 @@
+2009-01-13  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR target/38811
+       * Makefile.in (ira-lives.o): Add except.h.
+
+       * ira-lives.c: Include except.h.
+       (process_bb_node_lives): Process can_throw_internal.
+
+2009-01-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/38774
+       * combine.c (simplify_set): When undoing cc_use change, don't do
+       PUT_CODE on the newly created comparison, but instead put back the
+       old comparison.
+
+2009-01-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * doc/invoke.texi (ARM Options): Update lists of -mcpu and -march
+       values.  Remove duplicate arm8 entry.
+
+2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/38786
+       * graphite.c (expand_scalar_variables_ssa_name): New, outlined from
+       the SSA_NAME case of expand_scalar_variables_expr.
+       Set the type of an expression to the type of its assign statement.
+       (expand_scalar_variables_expr): Also gather the scalar computation
+       used to index the memory access.  Do not pass loop_p.
+       Fix comment.  Stop recursion on tcc_constant or tcc_declaration.
+       (expand_scalar_variables_stmt): Pass to expand_scalar_variables_expr
+       the gimple_stmt_iterator where it inserts new code.  Do not pass loop_p.
+       (copy_bb_and_scalar_dependences): Do not pass loop_p.
+       (translate_clast): Update call to copy_bb_and_scalar_dependences.
+
+2009-01-13  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite.h (debug_value): Removed.
+       * graphite.c (debug_value): Removed.
+
+2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
+       two 32-bit instructions.
+
+2009-01-13  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.c (struct processors): Pass for speed down into cost helper
+       functions.
+       (const_ok_for_op): Handle COMPARE and inequality nodes.
+       (arm_rtx_costs_1): Rewrite.
+       (arm_size_rtx_costs): Update prototype.
+       (arm_rtx_costs): Pass speed down to helper functions.
+       (arm_slowmul_rtx_costs): Rework cost calculations.
+       (arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
+       (arm_9e_rtx_costs): Likewise.
+
+2009-01-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (alpha_legitimate_address_p): Explicit
+       relocations of local symbols  wider than UNITS_PER_WORD are not valid.
+       (alpha_legitimize_address): Do not split local symbols wider than
+       UNITS_PER_WORD into HIGH/LO_SUM parts.
+
+2009-01-13  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR bootstrap/38580
+       * gcc.c (process_command): Replace call to execvp with calls
+       to pex_one and exit.
+
+2009-01-03  Anatoly Sokolov  <aesok@post.ru>
+
+       PR target/29141
+       * config/avr/t-avr (LIB1ASMFUNCS): Add _tablejump_elpm.
+       * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Add
+       variant for devices with 3-byte PC.
+       (__tablejump_elpm__) : New.
+
+2009-01-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/32041
+       * c-parser.c (c_parser_postfix_expression): Allow `->' in
+       offsetof member-designator, handle it as `[0].'.
+
+2009-01-12  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (pa_asm_output_mi_thunk): Use pc-relative branch to thunk
+       function when not using named sections on targets with named sections
+       if branch distance is less than 262132.
+
+2009-01-12  Richard Earnshaw  <rearnsha@arm.com>
+
+       * combine.c (combine_instructions):  Recompute
+       optimize_this_for_speed_p  for each BB in the main combine loop.
+
+2009-01-12  Tomas Bily  <tbily@suse.cz>
+
+       PR middlend/38385
+       * tree-loop-distribution.c (prop_phis): New function.
+       (generate_builtin): Call prop_phis.
+       * testsuite/gcc.dg/tree-ssa/pr38385.c: New file.
+
+2009-01-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/38807
+       * tree-ssa-reassoc.c (remove_visited_stmt_chain): Don't look at
+       gimple_visited_p unless stmt is GIMPLE_ASSIGN.
+
+2009-01-11  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * expmed.c (store_bit_field_1): Properly truncate the paradoxical
+       subreg of op0 to the original op0.
+
+2009-01-11  Laurent GUERBY <laurent@guerby.net>
+
+       * doc/sourcebuild.texi (Source Tree): Move up intl and fixinc.
+       
+2009-01-11  Markus Schoepflin  <markus.schoepflin@comsoft.de>
+
+       PR debug/7055
+       * gcc/mips-tfile.c (parse_def): Fix parsing of def strings
+       starting with digits.
+
+2009-01-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/38695
+       * config/arm/arm.c (arm_is_long_call_p): Don't call
+       arm_function_in_section_p if decl isn't a FUNCTION_DECL.
+
+2009-01-09  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * regrename.c (regrename_optimize): Fix dumping.
+       (find_oldest_value_reg): Preserve REG_POINTER.
+       (copy_hardreg_forward_1): Likewise.
+
+2009-01-09  Diego Novillo  <dnovillo@google.com>
+
+       * gimple.h (struct gimple_statement_base)<uid>: Document
+       the restrictions on its use.
+       (gimple_uid): Tidy.
+       (gimple_set_uid): Tidy.
+
+2009-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_movmem, ix86_expand_setmem): Add
+       zero guard even if align_bytes != 0 and count is smaller than
+       size_needed.
+
+2008-01-09  Vladimir Makarov  <vmakarov@redhat.com>
+
+       PR rtl-optimization/38495
+       * ira-emit.c (print_move_list, ira_debug_move_list): New functions.
+       (add_range_and_copies_from_move_list): Print all added ranges.
+       Add ranges to memory optimized destination.
+
+2009-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/38686
+       PR target/38708
+       * config/i386/i386.c (override_options): Reject
+       -mstringop-strategy=rep_8byte with -m32.
+       (ix86_expand_movmem): For size_needed == 1 set epilogue_size_needed
+       to 1.  Do count comparison against epilogue_size_needed at compile
+       time even when count_exp was constant forced into register.  For
+       size_needed don't jump to epilogue, instead just avoid aligning
+       and invoke the body algorithm.  If need_zero_guard, add zero guard
+       even if count is non-zero, but smaller than size_needed + number of
+       bytes that could be stored for alignment.
+       (ix86_expand_setmem): For size_needed == 1 set epilogue_size_needed
+       to 1.  If need_zero_guard, add zero guard even if count is non-zero,
+       but smaller than size_needed + number of bytes that could be stored
+       for alignment.  Compare size_needed with epilogue_size_needed instead
+       of desired_align - align, don't adjust size_needed, pass
+       epilogue_size_needed to the epilogue expanders.
+
+       PR c/35742
+       * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like BIND_EXPR.
+
+2009-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (last_address): Change to unsigned.
+       (update_total_code_bytes): Change argument to unsigned.  Don't
+       check if insn addresses are set.
+       (pa_output_function_epilogue): Set last_address to UINT_MAX if insn
+       addresses are not set.
+       (pa_asm_output_mi_thunk): Handle wrap when updating last_address.
+
+2009-01-09  Nick Clifton  <nickc@redhat.com>
+
+       * config/sh/symbian.c: Replace uses of DECL_INLINE with
+       DECL_DECLARED_INLINE_P.
+
+2009-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/38347
+       * dojump.c (do_jump_by_parts_zero_rtx): Use mode instead of
+       GET_MODE (op0) in operand_subword_force calls.
+
+       PR middle-end/38771
+       * fold-const.c (fold_unary): For COMPOUND_EXPR and COND_EXPR,
+       fold_convert arg0 operands to TREE_TYPE (op0) first.
+
+2009-01-08  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * params.def (ira-max-conflict-table-size): Decrease default value
+       to 1000.
+
+2009-01-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/37031
+       * lambda-code.c (lambda_collect_parameters): Call pointer_set_destroy
+       on parameter_set.
+       (build_access_matrix): Reserve correct size for AM_MATRIX vector,
+       allocate it using gc instead of heap, use VEC_quick_push instead of
+       VEC_safe_push.
+       * graphite.c (build_access_matrix): Allocate AM_MATRIX vector using gc
+       instead of heap, use VEC_quick_push instead of VEC_safe_push.
+       * tree-data-ref.h (struct access_matrix): Change matrix to gc
+       allocated vector from heap allocated.
+       * lambda.h: Add DEF_VEC_ALLOC_P for gc allocated lambda_vector.
+       * tree-loop-linear.c (linear_transform_loops): Allocate nest
+       vector only after perfect_loop_nest_depth call.
+
+2009-01-08  Sebastian Pop  <sebastian.pop@amd.com>
+           Jan Sjodin  <jan.sjodin@amd.com>
+
+       PR tree-optimization/38559
+       * graphite.c (debug_value, copy_constraint,
+       swap_constraint_variables, scale_constraint_variable, ): New.
+       (get_lower_bound, get_upper_bound): Removed.
+       (graphite_trans_bb_strip_mine): Clean up this code that works
+       only for constant number of iterations.  Fully copy upper and
+       lower bound constraints, not only the constant part of them.
+       * graphite.h (debug_value): Declared.
+
+2009-01-08  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/37194
+       * tree-vect-transform.c (vect_estimate_min_profitable_iters):
+       Don't add the cost of cost model guard in prologue to scalar 
+       outside cost in case of known number of iterations.
+
+2009-01-07  Nathan Froyd  <froydnj@codesourcery.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_address): Check for
+       non-word-aligned REG+CONST addressing.
+
 2009-01-07  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/38706