1. 06 May, 2015 20 commits
  2. 05 May, 2015 20 commits
    • * sv.po: Update. · c72f37e6
      From-SVN: r222829
      Joseph Myers committed
    • compiler: Don't make temporaries for constant string concatentation. · 5003ddad
      Fixes golang/go#10642.
      
      From-SVN: r222828
      Ian Lance Taylor committed
    • Fix indentation issues seen by -Wmisleading-indentation · 21c0a521
      gcc/ChangeLog:
      	* auto-profile.c (afdo_find_equiv_class): Fix indentation so
      	that it reflects the block structure.
      	(afdo_propagate_edge): Likewise.
      	(afdo_calculate_branch_prob): Likewise.
      	(afdo_annotate_cfg): Likewise.
      	* cfgcleanup.c (equal_different_set_p): Likewise.
      	(try_crossjump_to_edge): Likewise.
      	* cgraph.c (cgraph_node::verify_node): Likewise.
      	* cgraphunit.c (expand_all_functions): Likewise.
      	* config/i386/i386.c (ix86_expand_copysign): Likewise.
      	(exact_dependency_1): Likewise.
      	* dwarf2asm.c (dw2_output_indirect_constants): Likewise.
      	* dwarf2out.c (tree_add_const_value_attribute_for_decl): Likewise.
      	* gensupport.c (process_define_subst): Likewise.
      	* lto-wrapper.c (merge_and_complain): Likewise.
      	* tree-if-conv.c (if_convertible_bb_p): Likewise.
      	* tree-ssa-loop-prefetch.c (find_or_create_group): Likewise.
      	* tree-ssa-tail-merge.c (gsi_advance_fw_nondebug_nonlocal): Likewise.
      	* tree-vect-data-refs.c (vect_grouped_load_supported): Likewise.
      	* tree-vect-loop.c (vectorizable_reduction): Likewise.
      	* tree-vect-slp.c (vect_transform_slp_perm_load): Likewise.
      	* tree-vect-stmts.c (vectorizable_shift): Likewise.
      	* tree-vrp.c (vrp_finalize): Likewise.
      	* tree.c (variably_modified_type_p): Likewise.
      
      gcc/cp/ChangeLog:
      	* parser.c (cp_parser_asm_definition): Only test for
              error_mark_node if "outputs" was just set.
      	(cp_parser_asm_definition): Likewise for "inputs".
      
      gcc/fortran/ChangeLog:
      	* expr.c (check_inquiry): Fix indentation so that it reflects the
      	block structure.
      	* interface.c (compare_parameter): Likewise.
      	* parse.c (parse_oacc_structured_block): Likewise.
      	* target-memory.c (expr_to_char): Likewise.
      	* trans-types.c (gfc_init_kinds): Likewise.
      
      libcpp/ChangeLog:
      	* pch.c (cpp_valid_state): Fix indentation so that it reflects the
      	block structure.
      
      From-SVN: r222823
      David Malcolm committed
    • config.gcc: Use darwin9.h, darwin10.h and darwin12.h on darwin12 and later. · 0674c9de
      2015-05-05  Jack Howarth  <howarth.at.gcc@gmail.com>
      
      	* config.gcc: Use darwin9.h, darwin10.h and darwin12.h
      	on darwin12 and later.
      	* config/darwin12.h (LINK_GCC_C_SEQUENCE_SPEC): Add
      	file to pass -rdynamic on darwin12 and later.
      	* config/darwin.opt (rdynamic): Add.
      
      From-SVN: r222822
      Jack Howarth committed
    • extend.texi (C Extensions): Update menu for moved Variable Attributes and Type Attributes sections. · 3836ac7c
              * doc/extend.texi (C Extensions): Update menu for moved Variable
              Attributes and Type Attributes sections.
      
      From-SVN: r222819
      Uros Bizjak committed
    • re PR target/65990 (ICE: in extract_insn, at recog.c:2341 (unrecognizable insn)… · 588823d2
      re PR target/65990 (ICE: in extract_insn, at recog.c:2341 (unrecognizable insn) with -mmemcpy-strategy=rep_8byte:-1:noalign -m32 -mtune=btver2)
      
      	PR target/65990
      	* config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out
      	if rep_8byte stringop strategy was specified for 32-bit target.
      
      testsuite/ChangeLog:
      
      	PR target/65990
      	* gcc.target/i386/pr65990.c: New test.
      
      From-SVN: r222817
      Uros Bizjak committed
    • re PR go/66016 (Accessing nil Func's name results in crash) · bd9e8f7e
      	PR go/66016
      runtime: Don't crash in Func.Name if the Func is nil.
      
      Related to Go issue 10696
      
      From-SVN: r222816
      Ian Lance Taylor committed
    • re PR target/65915 (FAIL: gcc.target/i386/avx512f-vrndscalepd-2.c (internal compiler error)) · 460f31ee
      PR target/65915
      * config/i386/i386.md (vector convert to float spltiter): Check for
      xmm16+, when splitting scalar float conversion.
      * config/i386/sse.md (sse2_cvtsi2sd): Support EVEX version.
      
      testsuite/ChangeLog:
      
      PR target/65915
      * gcc.target/i386/pr65915.c: New.
      
      From-SVN: r222811
      Ilya Tocar committed
    • msp430-opts.h (enum msp430_regions): New. · d7edde11
      	* config/msp430/msp430-opts.h (enum msp430_regions): New.
      	* config/msp430/msp430.c (msp430_override_options): Complain if
      	-mcode-region or -mdata-region is used on a non MSP430X.
      	(msp430_section_attr): New function.  Checks lower, upper and
      	either attributes.
      	(msp430_attribute_table): Add lower, upper and either.
      	(gen_prefix): New function.  Generates a prefix for a section
      	name.
      	(msp430_select_section): New function - handles the choice of
      	section for an object.  Takes into account memory region
      	attributes and options.
      	(msp430_function_section): Use gen_prefix.
      	(TARGET_SECTION_TYPE_FLAGS): Define.
      	(msp430_section_type_flags): New function.
      	(TARGET_ASM_UNIQUE_SECTION): Define.
      	(msp430_unique_section): New function.
      	(msp430_output_aligned_decl_common): New function.
      	(msp430_do_not_relax_short_jumps): New function.
      	* config/msp430/msp430.h (USE_SELECT_SECTION_FOR_FUNCTIONS):
      	Define.
      	(ASM_OUTPUT_ALIGNED_DECL_COMMON): Define.
      	* config/msp430/msp430-protos.h
      	(msp430_do_not_relax_short_jumps): New prototype.
      	(msp430_output_aligned_decl_common): New prototype.
      	* config/msp430/msp430.md (length): New attribute.
      	(cbranchhi4_real): If msp430_do_not_relax_short_jumps is true
      	then use a long code sequence for short jumps.
      	* config/msp430/msp430.opt (mcode-region): New.
      	(mdata-region): New.
      	* doc/invoke.texi: Document new options.
      	* doc/extend.texi: Document new attributes.
      
      From-SVN: r222810
      Nick Clifton committed
    • libcpp: Improvements to comments in line-map.h/c · c87b25e6
      libcpp/ChangeLog:
      	* include/line-map.h: Fix comment at the top of the file.
      	(source_location): Rewrite and expand the comment for this
      	typedef, adding an ascii-art table to clarify how source_location
      	values are allocated.
      	* line-map.c: Fix comment at the top of the file.
      
      From-SVN: r222806
      David Malcolm committed
    • [AArch64] Add branch-cost to cpu tuning information. · b9066f5a
      	* gcc/config/aarch64-protos.h (struct cpu_branch_cost): New.
              (tune_params): Add field branch_costs.
      	(aarch64_branch_cost): Declare.
      	* gcc/config/aarch64.c (generic_branch_cost): New.
      	(generic_tunings): Set field cpu_branch_cost to generic_branch_cost.
      	(cortexa53_tunings): Likewise.
      	(cortexa57_tunings): Likewise.
      	(thunderx_tunings): Likewise.
      	(xgene1_tunings): Likewise.
      	(aarch64_branch_cost): Define.
      	* gcc/config/aarch64/aarch64.h (BRANCH_COST): Redefine.
      
      From-SVN: r222805
      Matthew Wahab committed
    • i386.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1 and HOST_WIDE_INT_1U instead... · 6987c384
      	* config/i386/i386.c: Use HOST_WIDE_INT_1 instead of (HOST_WIDE_INT) 1
      	and HOST_WIDE_INT_1U instead of (unsigned HOST_WIDE_INT) 1.
      	* config/i386/i386.md: Ditto.
      	* config/i386/winnt.c: Ditto.
      
      From-SVN: r222804
      Uros Bizjak committed
    • [docs] Update __atomic builtins documentation. · 78b1add9
      	* doc/extend.texi (__atomic Builtins): Move implementation details
      	to the end of the description, rewrite opening paragraphs, state
      	difference with __sync builtins, state C11/C++11 assumptions,
      	weaken itemized descriptions, add explanation of memory model
      	behaviour, expand description of compare-exchange, simplify text.
      
      From-SVN: r222803
      Matthew Wahab committed
    • Xfail gcc.dg/tree-ssa/stdarg-2.c f15 scans · 98314a7e
      2015-05-05  Tom de Vries  <tom@codesourcery.com>
      
      	* gcc.dg/tree-ssa/stdarg-2.c: Xfail f15 scans which test for presence of
      	'va_list escapes 0'.
      
      From-SVN: r222802
      Tom de Vries committed
    • Undo incorrect fix in tree-ssa/stdarg-2.c f15 scans · c8c86ecf
      2015-05-05  Tom de Vries  <tom@codesourcery.com>
      
      	* gcc.dg/tree-ssa/stdarg-2.c: Undo incorrect fix in f15 scans committed
      	in r222173.
      
      From-SVN: r222801
      Tom de Vries committed
    • [PATCH][AARCH64]Use mov for add with large immediate. · 53e38f02
      gcc/
      
      2015-05-05  Renlin Li  <renlin.li@arm.com>
      
      	* config/aarch64/aarch64.md (add<mode>3): Use mov when allowed.
      
      From-SVN: r222800
      Renlin Li committed
    • [PR testsuite/65205, libgomp/65993] Fix dg-shouldfail usage in OpenACC libgomp tests · ae8ffbbb
      In dg-output, don't expect "0x" prefix for "%p" format specifier, don't expect
      "(nil)" for NULL pointer.
      
      	PR testsuite/65205
      	PR libgomp/65993
      	libgomp/
      	* testsuite/libgomp.oacc-c-c++-common/clauses-2.c: In dg-output,
      	don't expect "0x" prefix for "%p" format specifier, don't expect
      	"(nil)" for NULL pointer.
      	* testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/data-already-1.c: More
      	accurately specify what we're looking for.
      	* testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise.
      	* testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise.
      	* testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise.
      	* testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise.
      	* testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise.
      
      From-SVN: r222799
      Thomas Schwinge committed
    • pr65067.c: Require Thumb2 effective target. · 74c4e863
      gcc/testsuite/
      2015-05-05  Yvan Roux  <yvan.roux@linaro.org>
      
      	* gcc.target/arm/pr65067.c: Require Thumb2 effective target.
      	* gcc.target/arm/pr65924.c: Likewise.
      
      From-SVN: r222798
      Yvan Roux committed
    • aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define. · bf05ef76
      2015-05-05  Yvan Roux  <yvan.roux@linaro.org>
      
      	* config/aarch64/aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define.
      	(LINK_SPEC): Include CA53_ERR_843419_SPEC.
      	* config/aarch64/aarch64-linux.h (CA53_ERR_843419_SPEC): Define.
      	(LINK_SPEC): Include CA53_ERR_843419_SPEC.
      	* config/aarch64/aarch64.opt (mfix-cortex-a53-843419): New option.
      	* configure: Regenerate.
      	* configure.ac: Add --enable-fix-cortex-a53-843419 option.
      	* doc/install.texi (aarch64*-*-*): Document new
      	--enable-fix-cortex-a53-843419 option.
      	* doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-843419
      	and -mno-fix-cortex-a53-843419 options.
      
      From-SVN: r222797
      Yvan Roux committed
    • re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction… · a42de35f
      re PR target/65871 (bzhi builtin/intrinsic wrongly assumes bzhi instruction doesn't set the ZF flag)
      
      	PR target/65871
      	* config/i386/i386.md (*bmi_andn_<mode>_ccno): New pattern.
      
      testsuite/ChangeLog:
      
      	PR target/65871
      	* gcc.target/i386/pr65871-3.c: New test.
      
      From-SVN: r222795
      Uros Bizjak committed