rtl.def (ATTR_FLAG): Remove probability indicating flags.
[platform/upstream/gcc.git] / gcc / ChangeLog
index da6dede..f09c70e 100644 (file)
@@ -1,3 +1,83 @@
+2012-05-04  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * rtl.def (ATTR_FLAG): Remove probability indicating flags.
+       * genattr.c (main): Remove ATTR_FLAG_likely, ATTR_FLAG_unlikely,
+       ATTR_FLAG_very_likely, and ATTR_FLAG_very_unlikely.
+       * reorg.c (get_jump_flags): Do not set the removed flags.
+
+2012-05-04  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53228
+       * config/i386/i386.h (X86_ARCH_CMOV): Rename from X86_ARCH_CMOVE.
+       (TARGET_CMOV): Rename from TARGET_CMOVE.
+       (TARGET_CMOVE): New define.
+       * config/i386/i386.c (ix86_option_override_internal): Use TARGET_CMOV.
+       Do not set TARGET_CMOVE here.
+
+2012-05-04  Dodji Seketeli  <dodji@redhat.com>
+
+       Enable -Wunused-local-typedefs when -Wall or -Wunused is on
+       * opts.c (finish_options): Activate -Wunused-local-typedefs if
+       -Wunused is activated.
+       * doc/invoke.texi: Update blurb of -Wunused-local-typedefs.
+
+2012-05-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md (*movmem_short, *clrmem_short)
+       (*cmpmem_short): Move the mode check from the insn condition to
+       the match_scratch.
+
+2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       PR tree-optimization/52633
+       * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of
+       vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern.
+       (vect_recog_over_widening_pattern): Remove handling of code that was
+       already detected as over-widening pattern.  Remove special handling
+       of "unsigned" cases.  Instead, support general case of conversion
+       of the shift result to another type.
+
+2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * tree-vect-patterns.c (vect_single_imm_use): New function.
+       (vect_recog_widen_mult_pattern): Use it instead of open-coding loop.
+       (vect_recog_over_widening_pattern): Likewise.
+       (vect_recog_widen_shift_pattern): Likewise.
+
+2012-05-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * tree-vect-patterns.c (vect_same_loop_or_bb_p): New function.
+       (vect_handle_widen_op_by_const): Use it instead of open-coding test.
+       (vect_recog_widen_mult_pattern): Likewise.
+       (vect_operation_fits_smaller_type): Likewise.
+       (vect_recog_over_widening_pattern): Likewise.
+       (vect_recog_widen_shift_pattern): Add to vect_same_loop_or_bb_p test.
+
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/50602
+       * lto-wrapper.c (merge_and_complain): Complain about mismatches
+       of -freg-struct-return and -fpcc-struct-return.
+       (run_gcc): Pass through -freg-struct-return and -fpcc-struct-return
+       from the input file options and ignore those from the link
+       command line.
+
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53168
+       * tree-ssa-pre.c (phi_translate_1): Only handle type-punned
+       memory reads when the result is a constant we can pun.
+
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       * common.opt (flto-report): Do not mark as Optimization.
+
+2012-05-04  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR target/48496
+       * recog.c (constrain_operands): If extra constraints are present, also
+       accept pseudo-registers with equivalent memory locations during reload.
+
 2012-05-04  Olivier Hainque  <hainque@adacore.com>
 
        * collect2.c (may_unlink_output_file): New global.
        pointer.
        (__assert_gimple_bb_smaller_rtl_bb): Asserting typedef.
 
-       * cfgexpand.c (expand_gimple_basic_block): Clear all il.gimple
-       members.
+       * cfgexpand.c (expand_gimple_basic_block): Clear all il.gimple members.
        * gimple-iterator.c (gimple_stmt_iterator): Don't special case
        NULL il.gimple, which can't happen anymore.
        * gimple.h (bb_seq): il.gimple can't be NULL.
 
        * tree-ssa-pre.c (valid_in_sets): Remove checking of trapping
        operations.
-       (prune_clobbered_mems): Do it here.  Do not uselessly sort
-       expressions.
+       (prune_clobbered_mems): Do it here.  Do not uselessly sort expressions.
        (compute_avail): Do not add possibly trapping operations to
        EXP_GEN if they might not be executed in the block.
 
        * config/i386/driver-i386.c (host_detect_local_cpu): Detect
        HLE support.
        * config/i386/i386-protos.h (ix86_generate_hle_prefix): New.
-       * config/i386/i386-c.c (ix86_target_macros_internal): Set
-       HLE defines.
+       * config/i386/i386-c.c (ix86_target_macros_internal): Set HLE defines.
        (ix86_target_string)<-mhle>: New.
        (ix86_valid_target_attribute_inner_p) <OPT_mhle>: Ditto.
        * config/i386/i386.c (ix86_target_string) <OPTION_MASK_ISA_HLE>: New.
        * fold-const.c (div_if_zero_remainder): sizetypes no longer
        sign-extend.
        (int_const_binop_1): New worker for int_const_binop with
-       overflowable parameter.  Pass it through
-       to force_fit_type_double.
+       overflowable parameter.  Pass it through to force_fit_type_double.
        (int_const_binop): Wrap around int_const_binop_1 with overflowable
        equal to one.
        (size_binop_loc): Call int_const_binop_1 with overflowable equal