OSDN Git Service

Backport from mainline
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index d80e939..1dd1588 100644 (file)
@@ -1,3 +1,224 @@
+2012-07-20  Andrey Belevantsev  <abel@ispras.ru>
+
+       Backport from mainline
+       2012-03-06  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/52250
+       * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb
+       to put note list into.  Unconditionally call move_bb_info.
+       (move_bb_info): Do not assert the blocks being in the same region,
+       just drop the note list if they are not.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-forwprop.c (combine_conversions): Punt if the RHS of the
+       defining statement is a SSA name that occurs in abnormal PHIs.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimple-fold.c (canonicalize_constructor_val): Strip only useless type
+       conversions.
+
+2012-07-19  Richard Guenther  <rguenther@suse.de>
+           Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
+       about transition from invariant to known bits.
+       (likely_value): Addresses with UNDEFINED components are UNDEFINED.
+
+2012-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/54017
+       * tree-cfgcleanup.c (cleanup_omp_return): Remove.
+       (cleanup_tree_cfg_bb): Don't call it.
+       * omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
+       handling.
+
+2012-07-19  Christian Bruel  <christian.bruel@st.com>
+
+       PR target/54029
+       * config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
+
+2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>
+
+       * config.gcc (v850-*-rtems*): New target.
+       * config/v850/rtems.h: New.
+       * config/v850/t-rtems: New.
+
+2012-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * doc/invoke.texi (ARM Options): Document -munaligned-access.
+
+2012-07-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53961
+
+       Backport from mainline
+       2012-04-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/53110
+       * config/i386/i386.md (and<mode>3): For andq $0xffffffff, reg
+       instead expand it as zero extension.
+
+2012-07-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (QImode and HImode cmove splitters): Merge
+       QImode and HImode splitters.  Use ix86_comparison_operator.
+       Explicitly match FLAGS_REG.
+       (DFmode cmove splitter): Explicitly match FLAGS_REG.
+
+2012-07-13  Richard Sandiford  <rdsandiford@googlemail.com>
+           Steven Bosscher  <steven@gcc.gnu.org>
+           Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR rtl-optimization/53908
+       * df-problems.c (can_move_insns_across): When doing
+       memory-reference book-keeping, handle call insns.
+
+2012-07-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53811
+       * config/i386/i386.c (x86_output_mi_thunk): Check if fnaddr satisfies
+       sibcall_insn_operand.  Move it to a temporary register if not.
+
+       2012-07-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53853
+       * config/i386/i386.c (x86_output_mi_thunk): For CM_LARGE_PIC model,
+       emit PIC sequence for fnaddr symbol reference in advance.
+
+2012-07-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53882
+       * tree.c (type_contains_placeholder_1): Handle NULLPTR_TYPE.
+       (type_hash_eq): Likewise.
+
+       PR c++/53826
+       * tree.c (build_zero_cst): Handle NULLPTR_TYPE.
+
+2012-07-07  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
+       due to negative shift amount.
+
+2012-07-06  Kai Tietz  <ktietz@redhat.com>
+
+       Backport from mainline.
+       PR bootstrap/52947
+       * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
+       as "/mingw/include".
+
+2012-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.c (mn10300_encode_section_info): Call
+       default_encode_section_info.
+
+2012-07-06  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-03-30  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/52786
+       * double-int.c (rshift_double): Remove not needed cast.
+
+       2012-03-28  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/50708
+       * double-int.h (rshift_double): Remove.
+       * double-int.c (lshift_double): Use absu_hwi to make count
+       positive.
+       (rshift_double): Make static, take unsigned count argument,
+       remove handling of negative count argument.
+       (double_int_rshift): Dispatch to lshift_double.
+
+2012-07-06  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-06-18  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53693
+       * tree-vect-patterns.c (vect_operation_fits_smaller_type):
+       Reject operands with more than one use.
+
+2012-07-06  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-04-11  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/52621
+       * tree-chrec.c (evolution_function_is_invariant_rec_p): Properly
+       consider loop nesting.
+       (evolution_function_is_univariate_p): Properly check the remainder
+       for chrecs.
+
+2012-07-05  Pat Haugen <pthaugen@us.ibm.com>
+
+       Backport from mainline
+       2012-05-24  Pat Haugen <pthaugen@us.ibm.com>
+
+       * config/rs6000/rs6000.c (rs6000_option_override_internal): Change
+       rs6000_sched_costly_dep default to true_store_to_load_dep_costly.
+       (adjacent_mem_locations): Move some code to and call...
+       (get_memref_parts): ...new function.
+       (mem_locations_overlap): New function.
+       (rs6000_adjust_priority): Adjust calls to is_load_insn/is_store_insn.
+       (is_mem_ref): Rename to...
+       (find_mem_ref): ...this. Return MEM rtx.
+       (get_store_dest): Remove function.
+       (is_load_insn1, is_load_insn, is_store_insn1, is_store_insn): Add
+       new parameter and adjust calls.
+       (rs6000_is_costly_dependence): Update calls for extra arg. Make sure
+       mem refs overlap for true_store_to_load_dep_costly.
+       (rs6000_sched_reorder2): Update calls for extra arg. Adjust args
+       passed to adjacent_mem_locations.
+       (is_costly_group): Walk resolved dependency list.
+       (force_new_group): Emit group ending nop for Power6/Power7.
+       * config/rs6000/rs6000.md (UNSPEC_GRP_END_NOP): New enum value.
+       (group_ending_nop): New define_insn.
+
+2012-07-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/53433
+       * gimple-fold.c (get_base_constructor): Do not return an
+       error_mark_node DECL_INITIAL.
+
+2012-07-04  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_option_override_internal): Fix wrong
+       code model string in the error message.
+
+2012-07-04  Tristan Gingold  <gingold@adacore.com>
+
+       Backport from mainline.
+       2012-06-25  Tristan Gingold  <gingold@adacore.com>
+
+       * config/i386/winnt.c (i386_pe_seh_end_prologue): Move code to ...
+       (seh_cfa_adjust_cfa): ... that function.
+       (seh_emit_stackalloc): Do not emit out of range values.
+       * config/i386/i386.md: Delete unused UNSPEC_REG_SAVE,
+       UNSPEC_DEF_CFA constants.
+       * config/i386/i386.h (SEH_MAX_FRAME_SIZE): Define.
+       * config/i386/i386.c (ix86_frame_pointer_required): Required
+       for very large frames on SEH target.
+       (ix86_compute_frame_layout): Save area is before frame pointer
+       on SEH target.  Handle very large frames.
+       (ix86_expand_prologue): Likewise.
+
+2012-07-04  Richard Guenther  <rguenther@suse.de>
+
+       * tree.c (find_decls_types_r): Handle TYPE_CONTEXT the same
+       as in free_lang_data_in_type.
+
 2012-07-02  Martin Jambor  <mjambor@suse.cz>
 
        Backport from mainline.
 2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        * configure: Regenerate.
+
        Backport from mainline.
-        2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+       2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
        * config.gcc (target_type_format_char): New. Document it. Set it for
        arm*-*-* .
        * configure.ac (gnu_unique_option): Use target_type_format_char
 2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        Backport from mainline.
-        2012-05-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+       2012-05-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
        * config/arm/arm.c (arm_evpc_neon_vrev): Adjust off by one error.
 
 2012-06-28  Georg-Johann Lay  <avr@gjlay.de>