OSDN Git Service

PR bootstrap/38862
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 715cbfb..0ac5503 100644 (file)
@@ -1,3 +1,273 @@
+2009-01-17  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * Makefile.in (BACKENDLIBS):  Reorder to match dependencies.
+
+2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
+           Tobias Grosser  <tobi.grosser@amd.com>
+
+       * graphite.c (graphite_trans_scop_block): Do not block single
+       nested loops.
+
+2009-01-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ebitmap.h (ebitmap_iter_init): Initialize all fields.
+       * ipa-struct-reorg.c (gen_struct_type): Replace known-true
+       test with assertion.
+
+2009-01-16  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/38835
+       PR middle-end/36227
+       * fold-const.c (fold_binary): Remove PTR + INT -> (INT)(PTR p+ INT)
+       and INT + PTR -> (INT)(PTR p+ INT) folding.
+       * tree-ssa-address.c (create_mem_ref): Properly use POINTER_PLUS_EXPR.
+
+2009-01-16  Adam Nemet  <anemet@caviumnetworks.com>
+
+       PR target/38554
+       * expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
+       the subreg from a lowpart subreg if it is also casting the value.
+
+2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
+           Tobias Grosser  <tobi.grosser@amd.com>
+
+       * graphite.c (compare_prefix_loops): New.
+       (build_scop_canonical_schedules): Rewritten.
+       (graphite_transform_loops): Move build_scop_canonical_schedules
+       after build_scop_iteration_domain.
+
+2009-01-16  Sebastian Pop  <sebastian.pop@amd.com>
+           Tobias Grosser  <tobi.grosser@amd.com>
+
+       * graphite.c (add_conditions_to_domain): Add the loops to 
+       the dimension of the iteration domain.  Do copy the domain
+       only when it exists.
+       (build_scop_conditions_1): Do not call add_conditions_to_domain.
+       (add_conditions_to_constraints): New.
+       (can_generate_code_stmt, can_generate_code): Removed.
+       (gloog): Do not call can_generate_code.
+       (graphite_transform_loops): Call add_conditions_to_constraints
+       after building the iteration domain.
+
+2009-01-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/38789
+       * tree-ssa-threadedge.c
+       (record_temporary_equivalences_from_stmts_at_dest): Ignore calls to
+       __builtin_constant_p.
+
+2009-01-16  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       * dce.c (delete_unmarked_insns): Reversed the order that insns are
+       examined before deleting them.
+       
+2009-01-16  Richard Earnshaw  <rearnsha@arm.com>
+
+       * function.c (aggregate_value_p): Correctly extract the function
+       type from CALL_EXPR_FN lookup.
+
+2009-01-16  Hariharan Sandanagobalane <hariharan@picochip.com>
+
+       * config/picochip/picochip.c (picochip_override_options): Revert
+       CFI asm flag disable commited previously.
+
+2009-01-15  Sebastian Pop  <sebastian.pop@amd.com>
+           Tobias Grosser  <tobi.grosser@amd.com>
+           Jan Sjodin  <jan.sjodin@amd.com>
+
+       * graphite.c (scan_tree_for_params): On substractions negate
+       all the coefficients of the term.
+       (clast_to_gcc_expression_red): New.  Handle reduction expressions
+       of more than two operands.
+       (clast_to_gcc_expression): Call clast_to_gcc_expression_red.
+       (get_vdef_before_scop): Handle also the case of default definitions.
+
+2009-01-15  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * caller-save.c (add_used_regs_1, add_used_regs): New functions.
+       (insert_one_insn): Use them instead of REG_DEAD and REG_INC notes.
+       Also use them when walking CALL_INSN_FUNCTION_USAGE.
+
+2009-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+           Joey Ye  <joey.ye@intel.com>
+
+       PR middle-end/37843
+       * cfgexpand.c (expand_stack_alignment): Don't update stack
+       boundary nor check incoming stack boundary here.
+       (gimple_expand_cfg): Update stack boundary and check incoming
+       stack boundary here.
+
+2009-01-15  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       * dce.c (find_call_stack_args, delete_unmarked_insns): Fixed
+       comments.
+       
+2009-01-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/38245
+       * calls.c (expand_call): Add stack arguments to
+       CALL_INSN_FUNCTION_USAGE even for pure calls (when
+       ACCUMULATE_OUTGOING_ARGS) and even for args partially passed
+       in regs and partially in memory or BLKmode arguments.
+       (emit_library_call_value_1): Add stack arguments to
+       CALL_INSN_FUNCTION_USAGE even for pure calls (when
+       ACCUMULATE_OUTGOING_ARGS).
+       * dce.c: Include tm_p.h.
+       (find_call_stack_args): New function.
+       (deletable_insn_p): Call it for CALL_P insns.  Add ARG_STORES
+       argument.
+       (mark_insn): Call find_call_stack_args for CALL_Ps.
+       (prescan_insns_for_dce): Walk insns backwards in bb rather than
+       forwards.  Allocate and free arg_stores bitmap if needed, pass it
+       down to deletable_insn_p, don't mark stores set in arg_stores
+       bitmap, clear the bitmap at the beginning of each bb.
+       * Makefile.in (dce.o): Depend on $(TM_P_H).
+
+2009-01-14  Michael Meissner  <gnu@the-meissners.org>
+
+       PR target/22599
+       * i386.c (print_operand): Add tests for 'D', 'C', 'F', 'f' to make
+       sure the insn is a conditional test (bug 22599).  Reformat a few long
+       lines.
+
+2009-01-14  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR middle-end/38431
+       * graphite.c (get_vdef_before_scop, scop_adjust_vphi): New.
+       (scop_adjust_phis_for_liveouts): Call scop_adjust_vphi.
+       (gloog): Do not call cleanup_tree_cfg.
+       (graphite_transform_loops): Call cleanup_tree_cfg after all 
+       scops have been code generated.
+
+2009-01-14  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * testsuite/g++.dg/torture/pr38811.C: New file.
+
+2009-01-14  Basile Starynkevitch  <basile@starynkevitch.net>
+       * doc/gty.texi (Invoking the garbage collector): Added new node
+       and section documenting ggc_collect.
+
+2009-01-14  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/38826
+       PR middle-end/38477
+       * tree-ssa-structalias.c (emit_alias_warning): Emit the pointer
+       initialization notes only if we actually emitted a warning.
+       (intra_create_variable_infos): Add constraints for a result decl
+       that is passed by hidden reference.
+       (build_pred_graph): Mark all related variables non-direct on
+       address-taking.
+
+2009-01-14  Nick Clifton  <nickc@redhat.com>
+
+       * ira-conflicts.c: Include addresses.h for the definition of
+       base_reg_class.
+       (ira_build_conflicts): Use base_reg_class instead of
+       BASE_REG_CLASS.
+       * Makefile.in: Add a dependency of ira-conflicts.o on
+       addresses.h.
+
+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
 2009-01-12  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/38807
 2008-01-09  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/38495
 2008-01-09  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/38495
-       * ira-emit.c (print_move_list, ira_debug_move_list): New
-       functions.
+       * 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.
 
        (add_range_and_copies_from_move_list): Print all added ranges.
        Add ranges to memory optimized destination.
 
        epilogue_size_needed to the epilogue expanders.
 
        PR c/35742
        epilogue_size_needed to the epilogue expanders.
 
        PR c/35742
-       * c-pretty-print.c (pp_c_expression): Handle GOTO_EXPR like
-       BIND_EXPR.
+       * 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>
 
 
 2009-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>