]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ChangeLog
Regenerate configure files for libtool.m4 change
[thirdparty/gcc.git] / gcc / ChangeLog
index a71420c70d3d875cf656e7ced525ca41db14fa21..412e661949a5c8dffa00e321c7324888591e7d7c 100644 (file)
@@ -1,3 +1,446 @@
+2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2012-05-16  Andrew Pinski  <apinski@cavium.com>
+
+       * gimple-fold.c (get_maxval_strlen): Move COND_EXPR handling under
+       GIMPLE_ASSIGN.
+
+2012-05-16  David S. Miller  <davem@davemloft.net>
+
+       * jump.c (delete_related_insns): If we remove a CALL, make sure
+       we delete it's NOTE_INSN_CALL_ARG_LOCATION note too.
+
+2012-05-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR tree-optimization/53217
+       * tree-ssa-reassoc.c (bip_map): New static variable.
+       (possibly_move_powi): Move feeding multiplies with __builtin_powi call.
+       (attempt_builtin_powi): Save feeding multiplies on a stack.
+       (reassociate_bb): Create and destroy bip_map.
+
+2012-05-16  Olivier Hainque  <hainque@adacore.com>
+
+       * Makefile.in (install-no-fixedincludes): New target, former toplevel
+       gcc-no-fixedincludes. Stash "include-fixed" in addition to "include".
+       Add comments and improve stamp preservation across the whole sequence.
+       (stmp-int-hdrs): Use move-if-change + cp -p to setup fix_dir/limits.h.
+
+2012-05-16  Richard Guenther  <rguenther@suse.de>
+
+       * tree-inline.c (insert_init_stmt): Do not call
+       mark_symbols_for_renaming.
+       (setup_one_parameter): Avoid initializing unused parameters.
+       (declare_return_variable): Properly handle DECL_BY_REFERENCE
+       return vars in SSA form.
+
+2012-05-16  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (get_virtual_var): Remove.
+       * tree-dfa.c (get_virtual_var): Likewise.
+
+2012-05-16  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1):
+       Remove set-only bitmap of new names.
+       (slpeel_tree_peel_loop_to_edge): Likewise.  Do not set
+       CFG hooks.
+       * tree-flow.h (ssa_names_to_replace): Remove.
+       * tree-into-ssa.c (ssa_names_to_replace): Likewise.
+
+2012-05-16  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53364
+       * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly
+       detect a view-conversion of the decl.
+
+2012-05-16  Dodji Seketeli  <dodji@redhat.com>
+
+       PR preprocessor/7263
+       * c-tree.h (enum c_declspec_word): Declare new enum.
+       (struct c_declspecs::locations): New member.
+       (declspecs_add_qual, declspecs_add_scspec)
+       (declspecs_add_addrspace, declspecs_add_alignas): Take a new
+       location parameter.
+       * c-decl.c (build_null_declspecs): Initialize the new struct
+       c_declspecs::locations member.
+       (declspecs_add_addrspace): Take a location parameter for the
+       address space.  Store it onto declaration specifiers.
+       (declspecs_add_qual): Likewise, take a location parameter for the
+       qualifier.
+       (declspecs_add_type): Likewise, take a location parameter for the
+       type specifier.
+       (declspecs_add_scspec): Likewise, take a location parameter for
+       the storage class specifier.
+       (declspecs_add_attrs): Likewise, take a location parameter for the
+       first attribute.
+       (declspecs_add_alignas): Likewise, take a location parameter for
+       the alignas token.
+       (finish_declspecs): For diagnostics, use the location of the
+       relevant declspec, instead of the global input_location.
+       * c-parser.c (c_parser_parameter_declaration): Pass the precise
+       virtual location of the declspec to the declspecs-setters.
+       (c_parser_declspecs): Likewise.  Avoid calling c_parser_peek_token
+       repeatedly.
+
+2012-05-16  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * configure.ac: Stack protector enabling for Android targets.
+       * configure: Regenerate.
+
+2012-05-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * ira.c (pseudo_move_insn): Delete.
+       (find_moveable_pseudos): Don't set it.
+       (move_unallocated_pseudos): Use DF_REG_DEF_CHAIN to find
+       the definitions of the original pseudo.  Delete all of them.
+
+2012-05-16  Olivier Hainque  <hainque@adacore.com>
+
+       * config/rs6000/rs6000-opts.h (enum processor_type): Add
+       PROCESSOR_PPC8548.
+       * config/rs6000/rs6000-cpus.def: Reference it for cpu="8548".
+       * config/rs6000/rs6000.md (cpu attribute definition): Add ppc8548.
+       * config/rs6000/8540.md: indicate that the units/patterns apply to
+       ppc8548 as well.
+
+       * config/rs6000/rs6000.c (rs6000_option_override_internal): Rename
+       default_cpu into implicit_cpu, conveying what --with-cpu was passed at
+       configure time. Treat implicit_cpu as have_CPU. Pick defaults for SPE
+       related flags,  check that what is queried is supported by the selected
+       configuration. Rework the single/double_float and MASK_STRING resets to
+       hit for all the E500 cores (854x + E500MC variants). Select the ppc8540
+       costs for PROCESSOR_PPC8548 as well.
+       (rs6000_issue_rate): case CPU_PPC8548 together with CPU_PPC8540.
+       (rs6000_use_sched_lookahead): Likewise, rewriting function as a case
+       statement instead of a sequence of ifs.
+
+       * config/rs6000/rs6000.h (TARGET_E500): Remove.
+       (TARGET_NO_LWSYNC): Adjust accordingly.
+       * config/rs6000/e500.h (TARGET_E500): Remove.
+       (CHECK_E500_OPTIONS): Adjust accordingly.
+       * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove.
+       (TARGET_DEFAULT): Reformat definition to match the one in linuxspe.h.
+       * config/rs6000/linuxspe.h: Likewise.
+       * config/rs6000/vxworks.h: Remove bogus TARGET_E500 overrides and
+       superfluous comments.
+       * config/rs6000/e500-double.h: Remove.
+
+       * config.gcc (pick a default with_cpu): For powerpc*-*-*spe*,
+       default to with_cpu=8548 if --enable-e500-double, and to 8540
+       otherwise.
+       (set misc flags section): For powerpc*|rs6000*, remove inclusion
+       of e500-double.h for --enable-e500-double.
+
+2012-05-16  Olivier Hainque  <hainque@adacore.com>
+
+       * Makefile.in (s-header-vars): Resort to -n instead of trailing
+       -e d in sed invocation.
+
+2012-05-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/tm.texi.in (Type Layout) <SIZE_TYPE>: Update reference to
+       source-code.
+       * doc/tm.texi: Regenerate.
+
+2012-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * tree.h (EXPR_LOCATION): Use CAN_HAVE_LOCATION_P.
+
+2012-05-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/53358
+       * config/i386/i386.md (*addqi_2 peephole with QImode addition): Check
+       that operands[2] is either immediate, or q_regs_operand.
+
+2012-05-15  Richard Guenther  <rguenther@suse.de>
+
+       * cgraphunit.c (thunk_adjust): Use make_rename_temp.
+       (assemble_thunk): Likewise.  Manually rename and register
+       function arguments.
+
+2012-05-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53355
+       * tree-vrp.c (extract_range_from_binary_expr_1): Handle LSHIFT_EXPRs
+       by constants.
+
+2012-05-15  Tristan Gingold  <gingold@adacore.com>
+
+      * tree-ssa-strlen.c (get_string_length): Convert lhs if needed.
+
+2012-05-15  Richard Guenther  <rguenther@suse.de>
+
+       * gimple.c (gimple_set_modified): Move ...
+       * gimple.h (gimple_set_modified): ... here.
+
+2012-05-15  Tristan Gingold  <gingold@adacore.com>
+
+       * ira-color.c (move_spill_restore): Add a guard.
+
+2012-05-15  Tristan Gingold  <gingold@adacore.com>
+
+       * config/ia64/ia64.c (ia64_emit_probe_stack_range): Adjust calls to
+       plus_constant.
+
+2012-05-15  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimplify.c (gimplify_init_constructor): Do a block move for very
+       small objects as well.
+
+2012-05-15  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * ira.c (find_moveable_pseudos): Skip registers whose
+       DF_REG_EQ_USE_COUNT is nonzero.
+
+2012-05-15  Kenneth Zadeck  <zadeck@naturalbridge.com>
+
+       * doc/md.texi (fma): Define to only be applicable for single
+       rounding.
+
+2012-05-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/46098
+       * config/i386/i386.c (ix86_expand_special_args_builtin): Always
+       generate target register for "load" class builtins.
+
+       Revert:
+       2010-10-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/46098
+       * config/i386/sse.md (*avx_movu<ssemodesuffix><avxmodesuffix>):
+       Rename from avx_movu<ssemodesuffix><avxmodesuffix>.
+       (avx_movu<ssemodesuffix><avxmodesuffix>): New expander.
+       (*<sse>_movu<ssemodesuffix>): Rename from <sse>_movu<ssemodesuffix>.
+       (<sse>_movu<ssemodesuffix>): New expander.
+       (*avx_movdqu<avxmodesuffix>): Rename from avx_movdqu<avxmodesuffix>.
+       (avx_movdqu<avxmodesuffix>): New expander.
+       (*sse2_movdqu): Rename from sse2_movdqu.
+       (sse2_movdqu): New expander.
+
+2012-05-14  Marc Glisse  <marc.glisse@inria.fr>
+
+       PR target/52607
+       * config/i386/i386.c (ix86_expand_vec_perm_const): Move code to ...
+       (canonicalize_perm): ... new function.
+       (expand_vec_perm_2vperm2f128_vshuf): New function.
+       (ix86_expand_vec_perm_const_1): Call it.
+
+2012-05-14  Andrew Pinski  <apinski@cavium.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/53315
+       * config/i386/i386.md (xbegin_1): Use + in constraint and match_dup.
+       (xbegin): Updated.
+
+2012-05-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (dwarf2out_define, dwarf2out_undef): Treat
+       lineno 1 the same as lineno 0 before first start file directive.
+       (optimize_macinfo_range): Likewise.
+
+       * dwarf2out.c (have_macinfo): Define.
+       (dwarf2out_finish): Don't emit DW_AT_GNU_macros or DW_AT_macro_info
+       attribute, don't force empty compilation unit and don't emit any
+       .debug_macinfo/.debug_macro section if macinfo_table is empty.
+
+2012-05-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/53344
+       * config/avr/avr.c (avr_const_address_lo16): Remove.
+       (avr_assemble_integer):  Print ".byte lo8(x)",
+       ".byte hi8(x)", ".byte hh8(x)" instead of emit an assembler
+       .warning if 3-byte address is assembled. 
+       * doc/extend.texi (AVR Named Address Spaces): Document that
+       binutils 2.23 is needed to assemble 3-byte addresses.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vect-data-refs.c (vect_setup_realignment): Remove
+       call to mark_symbols_for_renaming.
+       (vect_permute_load_chain): Likewise.
+       * tree-vect-loop.c (vect_is_slp_reduction): Update stmt
+       instead of calling mark_symbols_for_renaming.
+       * tree-vect-stmts.c (read_vector_array): Remove call to
+       mark_symbols_for_renaming.
+       (write_vector_array): Likewise.
+       (vectorizable_call): Likewise.
+       (vectorizable_store): Likewise.
+       (vectorizable_load): Likewise.
+       * matrix-reorg.c (transform_allocation_sites): Likewise.
+       * tree-ssa-pre.c (create_expression_by_pieces): Likewise.
+       (create_expression_by_pieces): Likewise.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       * gimplify.c (gimple_regimplify_operands): Only mark the LHS
+       of statements for renaming.
+       (force_gimple_operand_1): Likewise, consistently for both
+       calls to force_gimple_operand and force_gimple_operand_gsi.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       * tree-dfa.c (make_rename_temp): Be forgiving if not in SSA form.
+       * omp-low.c (expand_omp_taskreg): Properly conditionalize call
+       to update_ssa.
+       (expand_omp_for): Likewise.
+       (expand_omp_for_generic): Adjust conditional add to referenced vars.
+       Use make_rename_temp for temporaries that should be rewritten into
+       SSA form.
+       (expand_omp_for_static_nochunk): Likewise.
+       (expand_omp_atomic_pipeline): Likewise.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53331
+       * tree-vect-data-refs.c (vect_verify_datarefs_alignment): Ignore
+       strided loads.
+       * tree-vect-stmts.c (vect_model_load_cost): Handle strided loads.
+
+2012-05-14  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR 53063
+       * doc/options.texi: (LangEnabledBy): Document it.
+       * optc-gen.awk: Handle LangEnabledBy.
+       * opth-gen.awk: Generate declaration for lang-specific functions.
+       * opt-read.awk: Record lang numbers.
+       * opt-functions.awk (flag_set_p): Ignore the arguments of flags.
+       (lang_sanitized_name): New.
+
+2012-05-14  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * attribs.c (decl_attributes): Avoid emitting a warning if
+       ATTR_FLAG_BUILT_IN.
+       * doc/rtl.texi (CALL_INSN_FUNCTION_USAGE): Use lowercase for rtx
+       codes.  Document meaning of sets inside CALL_INSN_FUNCTION_USAGE.
+       * builtin-attrs.def (DEF_ATTR_FOR_STRING): Define.  Use it to
+       define a string "1".
+       (ATTR_RET1_NOTHROW_NONNULL_LEAF): New attr definition.
+       * builtins.def (BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMSET,
+       BUILT_IN_STRCPY): Use it for these functions.
+       * postreload.c (reload_combine): Deal with SETs inside
+       CALL_INSN_FUNCTION_USAGE.
+       * caller-save.c (setup_save_areas, save_call_clobbered_regs):
+       Look for REG_RETURNED notes and use a cheap restore if possible.
+       * ira-int.h (struct ira_allocno): New member cheap_calls_crossed_num.
+       (ALLOCNO_CHEAP_CALLS_CROSSED_NUM): New macro.
+       * ira-build.c (ira_create_allocno, create_cap_allocno,
+       propagate_allocno_info, propagate_some_info_from_allocno,
+       copy_info_to_removed_store_destination, ira_flattening): Handle it.
+       * ira-lives.c (pseudo_regno_single_word_and_live_p,
+       find_call_crossed_cheap_reg): New static functions.
+       (process_bb_node_lives): Look for SETs in CALL_INSN_FUNCTION_USAGE,
+       and set ALLOCNO_CHEAP_CALLS_CROSSED_NUM if possible.  Also make
+       a REG_RETURNED note in that case.
+       * ira.c (setup_reg_renumber): Change assert to allow cases where
+       allocnos only cross calls for which they are cheap to restore.
+       * ira-costs.c (ira_tune_allocno_costs): Compare
+       ALLOCNO_CALLS_CROSSED_NUM to ALLOCNO_CHEAP_CALLS_CROSSED_NUM rather
+       than 0.
+       * reg-notes.def (REG_RETURNED): New note.
+       * cse.c (cse_insn): Likewise.
+       * sched-deps.c (sched_analyze_insn): Likewise.
+       * expr.c (init_block_move_fn): Set a "fn spec" attribute.
+       * calls.c (decl_return_flags): New static function.
+       (expand_call): Generate a SET in CALL_INSN_FUNCTION_USAGE for
+       functions that return one of their arguments.
+       * regcprop.c (struct kill_set_value_data): New.
+       (kill_set_value): Interpret data as a pointer to such a struct.
+       Do nothing if the caller wants the register to be ignored.
+       (copyprop_hardreg_forward_1): Handle SETs in CALL_INSN_FUNCTION_USAGE.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/53340
+       * tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit.
+
+2012-05-14  Richard Guenther  <rguenther@suse.de>
+
+       * gimplify.c (gimplify_expr): Remove odd code.
+
+2012-05-14  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * stor-layout.c (bit_from_pos): Distribute conversion to bitsizetype
+       into a PLUS_EXPR byte offset.
+
+       * tree-ssa-pre.c (can_value_number_call): Delete.
+       (compute_avail): Skip all statements with side effects.
+       <GIMPLE_CALL>: Skip calls to internal functions.
+
+2012-05-13  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * config/pa/pa.md: Use define_c_enum for "unspec" and "unspecv".
+
+2012-05-13  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       * common.opt (Wtype-limits): Use EnabledBy.
+
+2012-05-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*pushtf): Enable for TARGET_SSE.
+       (pushtf splitter): Ditto.
+       (movtf): Ditto.
+       (*movtf_internal): Ditto. Use V4SFmode for !TARGET_SSE2.
+       (<code>tf2): Enable for TARGET_SSE.
+       (*absnegtf2_sse): Ditto.
+       (copysign<mode>3): Enable TFmode for TARGET_SSE.
+       (copysign<mode>3_const): Ditto.
+       (copysign<mode>3_var): Ditto.
+       * config/i386/sse.md (<code>tf3): Enable for TARGET_SSE.
+       (*andnottf3): Ditto.  Use V4SFmode for !TARGET_SSE2.
+       (*<code>tf3): Ditto.
+       * config/i386/i386.c (struct builtin_description bdesc_args)
+       <IX86_BUILTIN_FABSQ>: Enable for TARGET_SSE.
+       <IX86_BUILTIN_COPYSIGNQ>: Ditto.
+       (ix86_expand_builtin) <IX86_BUILTIN_FABSQ, IX86_BUILTIN_COPYSIGNQ>:
+       Emit a normal call if SSE isn't available.
+
+2012-05-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (<sse>_andnot<mode>3): Handle
+       TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL.
+       (<code><mode>3): Ditto.
+       (*andnot<mode>3): Ditto.
+       (*andnottf3): Ditto.
+       (*<code><mode>3): Ditto.
+       (<code>tf3): Ditto.
+
+2012-05-13  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       * optc-gen.awk: Error instead of warning for conflicting help.
+
+2012-05-12  Jason Merrill  <jason@redhat.com>
+
+       PR debug/53235
+       * dwarf2out.c (build_local_stub): Prefer DW_AT_signature for
+       comdat types.
+
+2012-05-12  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * function.c (requires_stack_frame_p): If the function can throw
+       non-call exceptions, return true if the insn can throw internally.
+
+2012-05-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * doc/generic.texi: Rename TYPE_PTRMEM_P to TYPE_PTRDATAMEM_P.
+
+2012-05-12  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
+       ORDERED and UNORDERED conditions.
+
+2012-05-11  Richard Guenther  <rguenther@suse.de>
+
+       * tree-flow.h (referenced_var_check_and_insert): Remove.
+       (find_new_referenced_vars): Likewise.
+       * tree-dfa.c (referenced_var_check_and_insert): Make static.
+       (find_new_referenced_vars_1, find_new_referenced_vars): Remove.
+       * tree-inline.c (copy_bb): Use find_referenced_vars_in
+       instead of find_new_referenced_vars.
+       * gimple-fold.c (gimplify_and_update_call_from_tree): Likewise.
+
 2012-05-11  Richard Guenther  <rguenther@suse.de>
 
        * tree-pass.h (pass_rest_of_compilation,
        * opth-gen.awk: Declare common_handle_option_auto.
        * common.opt (Wuninitialized): Use EnabledBy. Delete Init.
        (Wmaybe-uninitialized): Likewise.
-        (Wunused-but-set-variable): Likewise.
-        (Wunused-function): Likewise.
-        (Wunused-label): Likewise.
-        (Wunused-value): Likewise.
-        (Wunused-variable): Likewise.
-        * opt-read.awk: Create opt_numbers array.
+       (Wunused-but-set-variable): Likewise.
+       (Wunused-function): Likewise.
+       (Wunused-label): Likewise.
+       (Wunused-value): Likewise.
+       (Wunused-variable): Likewise.
+       * opt-read.awk: Create opt_numbers array.
 
 2012-05-11  Richard Guenther  <rguenther@suse.de>
 
 
 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
 
-       * config/i386/driver-i386.c (host_detect_local_cpu): Support
-       RTM.
+       * config/i386/driver-i386.c (host_detect_local_cpu): Support RTM.
 
 2012-05-11  Jan Hubicka  <jh@suse.cz>
 
 
 2012-05-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
-       * doc/extend.texi (Function Attributes): Point xref to section
+       * doc/extend.texi (Function Attributes): Point xref to section
        about Pragmas.
 
 2012-05-09  Uros Bizjak  <ubizjak@gmail.com>