OSDN Git Service

2012-02-10 Andrew MacLeod <amacleod@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 11d06ba..9fce971 100644 (file)
@@ -1,3 +1,164 @@
+2012-02-10  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR c/52190
+       * doc/extend.texi : Update comments for __atomic_compare_exchange and
+       __atomic_{is,always}_lock_free.
+
+2012-02-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/52146
+       * config/i386/i386.c (ix86_legitimate_address_p): Disallow
+       negative constant address for x32.
+
+2012-02-10  Richard Henderson  <rth@redhat.com>
+
+        * tree-ssa-dce.c (propagate_necessity): Handle GIMPLE_TRANSACTION.
+        * tree-ssa-operands.c (parse_ssa_operands): Add virtual operands
+        for GIMPLE_TRANSACTION.  Tidy if's into a switch.
+
+2012-02-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+           Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-optimization/50031
+       * targhooks.c (default_builtin_vectorization_cost): Handle
+       vec_promote_demote.
+       * target.h (enum vect_cost_for_stmt): Add vec_promote_demote.
+       * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Handle
+       all types of reduction and pattern statements.
+       (vect_estimate_min_profitable_iters): Likewise.
+       * tree-vect-stmts.c (vect_model_promotion_demotion_cost): New function.
+       (vect_get_load_cost): Use vec_perm for permutations; add dump logic
+       for explicit realigns.
+       (vectorizable_conversion): Call vect_model_promotion_demotion_cost.
+       * config/spu/spu.c (spu_builtin_vectorization_cost): Handle
+       vec_promote_demote.
+       * config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise.
+       * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Update
+       vec_perm for VSX and handle vec_promote_demote.
+
+2012-02-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/52177
+       * builtins.c (fold_builtin_atomic_always_lock_free,
+       expand_builtin_atomic_always_lock_free,
+       fold_builtin_atomic_is_lock_free,
+       expand_builtin_atomic_is_lock_free): Return and/or test
+       boolean_true_node/boolean_false_node instead of
+       integer_one_node/integer_zero_node.
+
+2012-02-10  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/48600
+       * predict.c (predict_paths_for_bb): Prevent looping.
+       (predict_paths_leading_to_edge, predict_paths_leading_to): Update.
+
+2012-02-10  Roman Zhuykov  <zhroma@ispras.ru>
+
+       * config/arm/arm.c (output_move_double): In one case properly
+       count number of instructions that will be emitted.
+
+2012-02-10  Richard Guenther  <rguenther@suse.de>
+
+       PR translation/52193
+       * cgraphunit.c (cgraph_mark_functions_to_output): Fix typo.
+
+2012-02-09  Peter Bergner  <bergner@vnet.ibm.com>
+
+       PR middle-end/52140
+       * dojump.c (do_compare_rtx_and_jump): Use SCALAR_FLOAT_MODE_P.
+
+2012-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/52165
+       * var-tracking.c (emit_note_insn_var_location): If
+       EMIT_NOTE_BEFORE_INSN and insn is NOTE_INSN_CALL_ARG_LOCATION,
+       emit it before next non-NOTE_INSN_CALL_ARG_LOCATION
+       non-NOTE_DURING_CALL_P insn.
+
+2012-02-09  Bin Cheng  <bin.cheng@arm.com>
+
+       PR middle-end/51867
+       * builtins.c (expand_builtin): Don't check DECL_ASSEMBLER_NAME_SET_P.
+
+2012-02-08  Magnus Granberg  <zorry@gentoo.org>
+
+       PR driver/48524
+       * gcc.c (switch_matches) Support switches with separated form, -D
+       and -U.
+
+2012-02-08  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr.md (SREG_ADDR): Remove constant definition.
+       (SP_ADDR): Ditto.
+       (RAMPZ_ADDR): Ditto.
+       * config/avr/avr.c (avr_addr_t): New typedef.
+       (avr_addr): New struct to hold RAM address of SPL, SPH, RAMPZ, SREG.
+       (avr_init_expanders): Initialize it.
+       (expand_prologue): Use avr_addr instead of RAMPZ_ADDR, SP_ADDR,
+       SREG_ADDR.
+       (expand_epilogue): Ditto.
+       (avr_print_operand): Ditto.
+       (avr_file_start): Ditto.
+       (avr_emit_movmemhi): Ditto.
+
+2012-02-08  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46886
+       * tree-flow.h (do_while_loop_p): Declare.
+       * tree-ssa-loop-ch.c (do_while_loop_p): Export.
+       * tree-parloops.c (parallelize_loops): Only parallelize do-while
+       loops.
+
+2012-02-08  Andrew MacLeod  <amacleod@redhat.com>
+
+       * optabs.c (expand_atomic_load): Do not assume compare_and_swap will
+       always succeed for integers larger than a native word.
+
+2012-02-08  Richard Guenther  <rguenther@suse.de>
+
+       PR rtl-optimization/52170
+       * simplify-rtx.c (simplify_plus_minus): Use CONSTM1_RTX to
+       properly handle integer vector modes.
+
+2012-02-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gcov-profile/52150
+       * coverage.c: Include target.h.
+       (build_var): Call targetm.strip_name_encoding on the assembler name.
+       Change one _ into . or $ if the target allows it.
+       * Makefile.in (coverage.o): Depend on $(TARGET_H).
+
+       PR rtl-optimization/52139
+       * cfgrtl.c (cfg_layout_merge_blocks): If BB_END
+       is a BARRIER after emit_insn_after_noloc, move BB_END
+       to the last non-BARRIER insn before it.
+
+2012-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR middle-end/24306
+       * config/mips/mips.c (mips_std_gimplify_va_arg_expr): New function.
+       (mips_gimplify_va_arg_expr): Call it instead of
+       std_gimplify_va_arg_expr.
+
+2012-02-07  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_trampoline_init): Fix error
+       message for -mno-pointers-to-nested-function.
+
+2012-02-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR middle-end/51994
+       * expr.c (get_inner_reference): If there is an offset, add a negative
+       bit position to it (if any).
+
+2012-02-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/52060
+       * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
+       copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
+       before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
+       and/or i0src_copy2 when needed.
+
 2012-02-07  Jakub Jelinek  <jakub@redhat.com>
 
        * gcc.c (main): Don't look for lto-wrapper or lto-wrapper