+2012-08-02 Steve Ellcey <sellcey@mips.com>
+
+ Backport from mainline
+ 2012-07-19 Steve Ellcey <sellcey@mips.com>
+
+ * config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
+ MIPS16 mode.
+
+2012-08-02 Uros Bizjak <ubizjak@gmail.com>
+
+ Backport from mainline
+ 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/53961
+ * config/i386/i386.c (ix86_legitimate_address_p): Move check for
+ negative constant address for TARGET_X32 ...
+ (ix86_decompose_address): ... here. Reject constant addresses
+ that don't satisfy x86_64_immediate_operand predicate.
+
+ 2012-07-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/53961
+ * config/i386/i386.md (*lea): Add asserts to detect invalid addresses.
+ * config/i386/i386.c (ix86_print_operand_address): Ditto.
+ (ix86_decompose_address): Allow (zero_extend:DI (subreg:SI (...)))
+ addresses. Prevent zero extensions of CONST_INT operands.
+
+ 2012-07-22 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/53961
+ * config/i386/i386.md (*lea): New insn pattern.
+ (*lea_1): Remove.
+ (*lea<mode>_2): Ditto.
+ (*lea_{3,4,5,6}_zext): Ditto.
+ * config/i386/predicates.md (lea_address_operand): Do not reject
+ zero-extended address operands.
+ * config/i386/constraints.md (j): Remove address constraint.
+ * config/i386/i386.c (ix86_decompose_address): Allow SImode subreg
+ of an address.
+ (ix86_print_operand_address): Handle SImode subreg of an address.
+ (ix86_avoid_lea_for_addr): Reject zero-extended addresses for now.
+
+2012-08-01 Uros Bizjak <ubizjak@gmail.com>
+
+ Backport from mainline
+ 2012-03-09 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/52530
+ * config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier.
+ (ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback
+ to set code to 'q'.
+ * config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec.
+ (*movdi_internal_rex64): Use %E operand modifier for lea.
+ (*movsi_internal): Ditto.
+ (*lea_1): Ditto.
+ (*lea<mode>_2): Ditto.
+ (*lea_{3,4,5,6}_zext): Ditto.
+ (*tls_global_dynamic_32_gnu): Ditto.
+ (*tls_global_dynamic_64): Ditto.
+ (*tls_dynamic_gnu2_lea_32): Ditto.
+ (*tls_dynamic_gnu2_lea_64): Ditto.
+ (pro_epilogue_adjust_stack_<mode>_add): Ditto.
+
+2012-08-01 Uros Bizjak <ubizjak@gmail.com>
+
+ Backport from mainline
+ 2012-08-01 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.c (ix86_address_subreg_operand): Reject
+ stack pointer.
+ (ix86_print_operand_address): Assert that parts.base and parts.index
+ are non-NULL after call to simplify_subreg.
+
+2012-07-22 Oleg Endo <olegendo@gcc.gnu.org>
+
+ PR target/33135
+ * config/sh/sh.opt (mieee): Use Var instead of Mask. Correct
+ description.
+ * config/sh/sh.c (sh_option_override): Do not change
+ flag_finite_math_only. Set TARGET_IEEE to complement of
+ flag_finite_math_only.
+ * doc/invoke.texi (SH options): Add mno-ieee. Correct
+ description of mieee and mno-ieee behavior.
+
+2012-07-20 Kirill Yukhin <kirill.yukhin@intel.com>
+
+ PR target/53877
+ * config/i386/lzcntintrin.h (_lzcnt_u32): New.
+ (_lzcnt_u64): Ditto.
+
+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-07-02 Martin Jambor <mjambor@suse.cz>
+
+ PR middle-end/38474
+ * ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a
+ dynamic type change check.
+
+2012-06-29 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree-eh.c (lower_try_finally_switch): Really put the location of the
+ last statement of the finally block onto the switch.
+
+2012-06-29 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
+
+ * configure: Regenerate.
+
+ Backport from mainline.
+ 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
+ in test. Comment rationale.
+
+2012-06-29 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
+
+ Backport from mainline.
+ 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>
+
+ Backport from 2012-06-28 mainline r189049
+
+ PR 53595
+ * config/avr/avr.c (avr_hard_regno_call_part_clobbered): New.
+ * config/avr/avr-protos.h (avr_hard_regno_call_part_clobbered): New.
+ * config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): Forward to
+ avr_hard_regno_call_part_clobbered.
+
+2012-06-28 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/53790
+ * expr.c (expand_expr_real_1): Verify if the type is complete
+ before inspecting its size.
+
+2012-06-27 Nick Clifton <nickc@redhat.com>
+
+ * config/rx/rx.md (comparesi3_extend): Remove = modifier from
+ input operand.
+
+2012-06-26 Alexandre Oliva <aoliva@redhat.com>
+
+ PR debug/53682
+ * cselib.c (promote_debug_loc): Don't crash on NULL argument.
+
+2012-06-26 Nick Clifton <nickc@redhat.com>
+
+ * config/rx/rx.md (simple_return): Use the simple_return rtx.
+
+2012-06-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/53759
+ * config/i386/sse.md (sse_loadlps): Use x m x constraints instead
+ of x x x in the vmovlps load alternative.
+
+2012-06-22 Richard Guenther <rguenther@suse.de>
+
+ * gcov-iov.c: Include bconfig.h and system.h.
+
+2012-06-22 Richard Guenther <rguenther@suse.de>
+
+ PR gcov-profile/53744
+ * gcov-iov.c (main): Treat "" and "prerelease" the same.
+
+2012-06-22 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree-ssa-live.c (remove_unused_scope_block_p): Remove again
+ DECL_IGNORED_P non-reg vars even if they are used.
+
+2012-06-19 Jason Merrill <jason@redhat.com>
+
+ PR c++/52637
+ * dwarf2out.c (modified_type_die): Use scope_die_for.
+ (gen_type_die_with_usage, dwarf2out_finish): Likewise.
+ (uses_local_type_r, uses_local_type): New.
+ (scope_die_for): Keep a type that uses a local type in local scope.
+ Use get_context_die for namespace and type scope.
+
+2012-06-19 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/53470
+ * tree.c (free_lang_data_in_type): Do not clear TYPE_CONTEXT but
+ replace it with the first non-BLOCK context.
+
2012-06-18 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/53700