X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=812b5892642b5f88d56b978a5d9ffff96a44fc0f;hp=bfcc18da4e70be46a1fe273e21a86f4ed670a598;hb=0f94661fc703e155920cdc8547a18b92c19e8695;hpb=d509f2b546e6012aacee2fc565030f6dd951ae15 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bfcc18da4e7..812b5892642 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,14 +1,690 @@ +2012-07-18 Ralf Corsépius + + * config.gcc (v850-*-rtems*): New target. + * config/v850/rtems.h: New. + * config/v850/t-rtems: New. + +2012-07-18 Nick Clifton + + * doc/invoke.texi (ARM Options): Document -munaligned-access. + +2012-07-15 Uros Bizjak + + PR target/53961 + + Backport from mainline + 2012-04-25 Jakub Jelinek + + PR target/53110 + * config/i386/i386.md (and3): For andq $0xffffffff, reg + instead expand it as zero extension. + +2012-07-14 Uros Bizjak + + * 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 + Steven Bosscher + Bernd Schmidt + + 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 + + Backport from mainline + 2012-07-03 Uros Bizjak + + 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 + + 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 + + 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 + + * combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour + due to negative shift amount. + +2012-07-06 Kai Tietz + + 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 + + * config/mn10300/mn10300.c (mn10300_encode_section_info): Call + default_encode_section_info. + +2012-07-06 Richard Guenther + + Backport from mainline + 2012-03-30 Richard Guenther + + PR middle-end/52786 + * double-int.c (rshift_double): Remove not needed cast. + + 2012-03-28 Richard Guenther + + 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 + + Backport from mainline + 2012-06-18 Richard Guenther + + 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 + + Backport from mainline + 2012-04-11 Richard Guenther + + 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 + + Backport from mainline + 2012-05-24 Pat Haugen + + * 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 + + PR middle-end/53433 + * gimple-fold.c (get_base_constructor): Do not return an + error_mark_node DECL_INITIAL. + +2012-07-04 Uros Bizjak + + Backport from mainline + 2012-07-03 Uros Bizjak + + * config/i386/i386.c (ix86_option_override_internal): Fix wrong + code model string in the error message. + +2012-07-04 Tristan Gingold + + Backport from mainline. + 2012-06-25 Tristan Gingold + + * 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 + + * tree.c (find_decls_types_r): Handle TYPE_CONTEXT the same + as in free_lang_data_in_type. + +2012-07-02 Martin Jambor + + Backport from mainline. + 2012-07-02 Martin Jambor + + 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 + + * 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 + + * configure: Regenerate. + + Backport from mainline. + 2012-03-15 Ramana Radhakrishnan + + * 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 + + Backport from mainline. + 2012-05-30 Ramana Radhakrishnan + + * config/arm/arm.c (arm_evpc_neon_vrev): Adjust off by one error. + +2012-06-28 Georg-Johann Lay + + 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 + + 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 + + * config/rx/rx.md (comparesi3_extend): Remove = modifier from + input operand. + +2012-06-26 Alexandre Oliva + + PR debug/53682 + * cselib.c (promote_debug_loc): Don't crash on NULL argument. + +2012-06-26 Nick Clifton + + * config/rx/rx.md (simple_return): Use the simple_return rtx. + +2012-06-25 Jakub Jelinek + + 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 + + * gcov-iov.c: Include bconfig.h and system.h. + +2012-06-22 Richard Guenther + + PR gcov-profile/53744 + * gcov-iov.c (main): Treat "" and "prerelease" the same. + +2012-06-22 Eric Botcazou + + * 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 + + 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 + + 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 + + PR rtl-optimization/53700 + + Backport from mainline + 2012-03-29 Vladimir Makarov + + * ira-color.c (setup_left_conflict_sizes_p): Process all + conflicting objects. + +2012-06-18 Venkataramanan Kumar + + Backport from mainline + 2012-05-09 Uros Bizjak + + PR target/52908 + * config/i386/sse.md (vec_widen_smult_hi_v4si): Expand using + xop_pmacsdqh insn pattern instead of xop_mulv2div2di3_high. + (vec_widen_smult_lo_v4si): Expand using xop_pmacsdql insn pattern + instead of xop_mulv2div2di3_low. + (xop_pdql): Fix vec_select selector. + (xop_pdqh): Ditto. + (xop_mulv2div2di3_low): Remove insn_and_split pattern. + (xop_mulv2div2di3_high): Ditto. + +2012-06-17 Uros Bizjak + + Backport from mainline: + 2012-06-17 Uros Bizjak + + * config/i386/sse.md (vcvtph2ps): Fix vec_select selector. + +2012-06-16 John David Anglin + + Backport from mainline: + 2012-06-03 John David Anglin + + * config/pa/pa.h (MAX_PCREL17F_OFFSET): Define. + * config/pa/pa.c (pa_attr_length_millicode_call): Use + MAX_PCREL17F_OFFSET instead of fixed offset. + (pa_attr_length_call): Likewise. + (pa_attr_length_indirect_call): Likewise. + +2012-06-15 Walter Lee + + Backport from mainline: + 2012-06-15 Walter Lee + + * config/tilegx/sync.md (atomic_fetch_): Fix typo. + + 2012-06-14 Maxim Kuvyrkov + + * config/tilegx/sync.md (atomic_fetch_sub): Fix typo. + +2012-06-15 Aldy Hernandez + + Backport from mainline: + + 2012-05-31 Aldy Hernandez + * tree-ssa-loop-im.c (execute_sm): Do not check flag_tm. + * gimple.h (block_in_transaction): Check for flag_tm. + +2012-06-14 Aldy Hernandez + + PR tree-optimization/52558 + + Backport from mainline: + 2012-05-21 Aldy Hernandez + * gimple.h (gimple_set_in_transaction): Remove. + (gimple_in_transaction): Look in BB instead. + (gimple_statement_base): Remove in_transaction field. + * basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION. + * trans-mem.c (compute_transaction_bits): Place transaction bit + information into basic blocks. + + 2012-05-31 Aldy Hernandez + + PR tree-optimization/52558 + * cfg.c (alloc_aux_for_edge): Fix comment. + (alloc_aux_for_edge): Remove static. + * basic-block.h (alloc_aux_for_edge): Protoize. + * tree-ssa-loop-im.c (execute_sm_if_changed): New. + (execute_sm_if_changed_flag): New. + (execute_sm_if_changed_flag_set): New. + (execute_sm): Do not generate data races unless requested. + (tree_ssa_lim_initialize): Call alloc_aux_for_edges. + (tree_ssa_lim_finalize): Call free_aux_for_edges. + * gimple.h (block_in_transaction): New. + (gimple_in_transaction): Use block_in_transaction. + +2012-06-14 Jakub Jelinek + + Backported from mainline + 2012-06-12 Jakub Jelinek + + PR rtl-optimization/53589 + * cfgrtl.c (force_nonfallthru_and_redirect): Do asm_goto_edge + discovery even when e->dest != target. If any LABEL_REF points + to e->dest label, redirect it to target's label. + + 2012-06-07 Jakub Jelinek + + PR middle-end/53580 + * omp-low.c (scan_omp_1_stmt): If check_omp_nesting_restrictions + returns false, replace stmt with GIMPLE_NOP. + (check_omp_nesting_restrictions): Instead of issuing warnings, + issue errors and return false if any errors were reported. + +2012-06-14 Richard Guenther + + * BASE-VER: Set to 4.7.2. + * DEV-PHASE: Set to prerelease. + +2012-06-12 Christian Bruel + + PR target/53621 + * config/sh/sh.c (sh_option_override): Don't force + flag_omit_frame_pointer and maccumulate_outgoing_args. + * config/sh/sh.opt (maccumulate-outgoing-args): Init as Var. + +2012-06-14 Release Manager + + * GCC 4.7.1 released. + +2012-06-13 Uros Bizjak + + * config/ia64/sync.md (fetchop_name): Change ior attribute to "or". + +2012-06-13 Richard Henderson + + * config/rs6000/sync.md (atomic_load, atomic_store): Use INT1 mode + iterator instead of INT. + +2012-06-08 Richard Henderson + + PR c++/53602 + * combine-stack-adj.c (force_move_args_size_note): Add ARGS_SIZE + note to a clobber insn when no other insn is available. + +2012-06-04 Paolo Carlini + + PR c++/53524 + * doc/invoke.texi (Wenum-compare): Update documentation. + +2012-06-04 Edmar Wienskoski + + PR target/53559 + * config/rs6000/altivec.md (altivec_stvlx): Change machine mode of + operands. + (altivec_stvlxl): Ditto. + (altivec_stvrx): Ditto. + (altivec_stvrxl): Ditto. + +2012-06-04 Aldy Hernandez + + PR middle-end/47530 + * trans-mem.c (expand_block_edges): Do not skip the first + statement when resetting the BB. + +2012-06-04 Richard Guenther + + PR middle-end/53471 + * dwarf2out.c (dwarf2out_finish): If generating LTO do not + create new assembler names. + +2012-06-04 Richard Guenther + + Backport from mainline + 2012-04-25 Jakub Jelinek + + PR middle-end/52979 + * stor-layout.c (get_best_mode): Don't return mode with bitsize + larger than maxbits. Don't compute maxbits modulo align. + Also check that unit bytes long store at bitpos / unit * unit + doesn't affect bits beyond bitregion_end. + * expmed.c (store_bit_field_1): Avoid trying insv if OP_MODE MEM + would not fit into bitregion_start ... bitregion_end + 1 bit + region. + (store_split_bit_field): Decrease unit close to end of bitregion_end + if access is restricted in order to avoid mutual recursion. + +2012-06-04 Georg-Johann Lay + + Backport from 2012-06-04 mainline r188172 + + PR target/46261 + * config/avr/avr-stdint.h: New file. + * config.gcc (avr-*-*,tm_file): Use avr/avr-stdint.h instead of + newlib-stdint.h + +2012-06-04 Jakub Jelinek + + PR tree-optimization/53550 + * tree-ssa-loop-niter.c (number_of_iterations_cond): If type + is POINTER_TYPE_P, use sizetype as step type instead of type. + +2012-06-04 Richard Guenther + Eric Botcazou + + Backport from mainline + 2012-04-03 Eric Botcazou + + * expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS. + Change type of BITOFFSET to signed. Make sure the lower bound of + the computed range is non-negative by adjusting OFFSET and BITPOS. + (expand_assignment): Adjust call to get_bit_range. + + 2012-03-27 Eric Botcazou + + * expr.c (get_bit_range): Return the null range if the enclosing record + is part of a larger bit field. + + 2012-03-20 Richard Guenther + + * stor-layout.c (finish_bitfield_representative): Fallback + to conservative maximum size if the padding up to the next + field cannot be computed as a constant. + (finish_bitfield_layout): If we cannot compute the distance + between the start of the bitfield representative and the + bitfield member start a new representative. + * expr.c (get_bit_range): The distance between the start of + the bitfield representative and the bitfield member is zero + if the field offsets are not constants. + + 2012-03-16 Richard Guenther + + * stor-layout.c (finish_bitfield_representative): Fall back + to the conservative maximum size if we cannot compute the + size of the tail padding. + + 2012-03-14 Richard Guenther + + * tree.h (DECL_BIT_FIELD_REPRESENTATIVE): New define. + * stor-layout.c (start_bitfield_representative): New function. + (finish_bitfield_representative): Likewise. + (finish_bitfield_layout): Likewise. + (finish_record_layout): Call finish_bitfield_layout. + * tree.c (free_lang_data_in_decl): Only free DECL_QUALIFIER + for QUAL_UNION_TYPE fields. + * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers): + Stream DECL_BIT_FIELD_REPRESENTATIVE. + * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise. + + PR middle-end/52080 + PR middle-end/52097 + PR middle-end/48124 + * expr.c (get_bit_range): Unconditionally extract bitrange + from DECL_BIT_FIELD_REPRESENTATIVE. + (expand_assignment): Adjust call to get_bit_range. + +2012-06-01 Eric Botcazou + + PR middle-end/53501 + * fold-const.c (fold_binary_loc): Refine previous change. + +2012-06-01 Oleg Endo + + Backport from mainline + 2012-03-27 Chung-Lin Tang + + PR target/52667 + * config/sh/sh.c (find_barrier): Add equality check of last_got to + avoid going above orig insn. Update comments. + +2012-06-01 Oleg Endo + + Backport from mainline + 2012-03-21 Kaz Kojima + + PR target/52642 + * config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of + prologue for unwinder and profiler. + +2012-06-01 Oleg Endo + + Backport from mainline + 2012-03-03 Kaz Kojima + + * config/sh/sh.md (abssi2): Add TARGET_SH1 condition. + +2012-06-01 Oleg Endo + + Backport from mainline + 2012-03-03 Kaz Kojima + + * config/sh/sh.c (sh_dwarf_register_span): Don't apply + DBX_REGISTER_NUMBER. + +2012-06-01 Oleg Endo + + Backport from mainline + 2012-03-03 Kaz Kojima + + * config/sh/sh.c (shiftcosts): Return MAX_COST when the first + operand is CONST_INT. Take COSTS_N_INSNS into account. + (sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value of + shiftcosts. + +2012-05-31 Georg-Johann Lay + + * config/avr/avr.opt (-msp8): Document it. + * doc/invoke.texi (AVR Options): Copy from trunk docu. + +2012-05-31 Richard Guenther + + PR middle-end/48493 + * expr.c (expand_assignment): Do not use movmisalign on + non-memory. + +2012-05-30 John David Anglin + + PR target/52999 + * config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define. + (pa_section_type_flags): New. + (pa_legitimate_constant_p): Revert previous change. + +2012-05-30 Aldy Hernandez + + Backport from mainline + 2012-05-25 Aldy Hernandez + + PR middle-end/53008 + * trans-mem.c (ipa_tm_create_version_alias): Output new_node if + accessed indirectly. + (ipa_tm_create_version): Same. + +2012-05-30 Jason Merrill + + PR c++/53220 + * c-typeck.c (array_to_pointer_conversion): Give -Wc++-compat warning + about array compound literals. + +2012-05-30 Richard Guenther + + PR middle-end/53501 + * fold-const.c (fold_binary_loc): Make sure to call + fold_plusminus_mult_expr with the original sign of operands. + +2012-05-30 Eric Botcazou + + * explow.c (probe_stack_range): Restore simple control flow and stop + again when the probe cannot be generated if HAVE_check_stack. + +2012-05-30 Jakub Jelinek + + PR rtl-optimization/53519 + * combine.c (simplify_shift_const_1) : Use constm1_rtx + instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR. + +2012-05-29 Richard Guenther + + PR tree-optimization/53516 + * tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject + bitfield accesses. + * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise. + +2012-05-28 Bill Schmidt + + Backport from mainline + 2012-05-28 Richard Guenther + + PR tree-optimization/53438 + * tree-sra.c (analyze_access_subtree): Correct bitfield exclusion. + +2012-05-26 Eric Botcazou + + Backport from mainline + 2012-03-10 Chung-Lin Tang + + PR rtl-optimization/52528 + * combine.c (can_combine_p): Add setting of subst_low_luid + before call to expand_field_assignment(). + +2012-05-26 Martin Jambor + + Backport from mainline + 2012-05-23 Martin Jambor + + * ipa-inline-analysis.c (inline_merge_summary): Free operand_map. + +2012-05-25 Eric Botcazou + + PR lto/52178 + * tree-inline.c (remap_gimple_op_r): Fix handling of FIELD_DECL. + * tree.c (RETURN_TRUE_IF_VAR): Do not return true for PLACEHOLDER_EXPR. + +2012-05-25 Alexander Ivchenko + + PR target/53435 + * config/i386/i386.c (ix86_expand_vec_perm): Use correct op. + (ix86_expand_vec_perm): Use int mode instead of float. + +2012-05-25 Eric Botcazou + + PR ada/52362 + * config.gcc (i[34567]86-*-mingw* | x86_64-*-mingw*): Set gas and + gnu_ld variables to yes. + * configure.ac (HAVE_GNU_LD): Move to after config.gcc inclusion. + (HAVE_GNU_AS): Likewise. + * config.in: Regenerate. + * configure: Likewise. + 2012-05-25 Ramana Radhakrishnan Backport from mainline - 2012-03-12 Richard Guenther + 2012-03-12 Richard Guenther * config/arm/arm.c (neon_dereference_pointer): Do not call covert during RTL expansion. 2012-05-24 Bill Schmidt Backport from mainline - 2012-05-18 Bill Schmidt + 2012-05-18 Bill Schmidt PR target/53385 * config/rs6000/rs6000.c (print_operand): Revise code that unsafely