1. 26 Jul, 2017 21 commits
    • re PR go/81548 ("make distclean" does not clean all of gotools/) · 63c0f543
      	PR go/81548
      	* Makefile.am (MOSTLYCLEANFILES): Add *.sent.
      	* Makefile.in: Rebuild.
      
      From-SVN: r250593
      Ian Lance Taylor committed
    • aarch64.c (thunderx_vector_cost): Fix vec_fp_stmt_cost. · b29d7591
      2017-07-26  Andrew Pinski  <apinski@cavium.com>
      
              * config/aarch64/aarch64.c (thunderx_vector_cost): Fix
              vec_fp_stmt_cost.
      
      From-SVN: r250592
      Andrew Pinski committed
    • re PR c++/71570 (ICE on invalid variable capture in… · eb086562
      re PR c++/71570 (ICE on invalid variable capture in cxx_incomplete_type_diagnostic, at cp/typeck2.c:55)
      
      /cp
      2017-07-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71570
      	* lambda.c (add_capture): Early return if we cannot capture by
      	reference.
      
      /testsuite
      2017-07-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71570
      	* g++.dg/cpp0x/lambda/lambda-ice17.C: New.
      
      From-SVN: r250591
      Paolo Carlini committed
    • configure.ac: Check for XCOFF32/XCOFF64. · 7e2a8417
      	* configure.ac: Check for XCOFF32/XCOFF64.  Check for loadquery.
      	* filetype.awk: Separate AIX XCOFF32 and XCOFF64.
      	* xcoff.c: Add support for AIX XCOFF32 and XCOFF64 formats.
      	* configure, config.h.in: Regenerate.
      
      From-SVN: r250590
      Tony Reix committed
    • runtime: handle Alpha GNU/Linux in getSiginfo · 993323a1
          
          Patch by Uros Bizjak.
          
          Reviewed-on: https://go-review.googlesource.com/51370
      
      From-SVN: r250588
      Ian Lance Taylor committed
    • x86: Properly check saved register CFA offset · a7473dc5
      X86 prologue saves register at CFA offset.  Since its location on stack
      is computed as CFA - its CFA_OFFSET, CFA_OFFSET points the end of the
      saved register area on stack.  This patch updates sp_valid_at and
      fp_valid_at to properly check saved register CFA offset.
      
      gcc/
      
      	PR target/81563
      	* config/i386/i386.c (sp_valid_at): Properly check CFA offset.
      	(fp_valid_at): Likewise.
      
      gcc/testsuite/
      
      	PR target/81563
      	* gcc.target/i386/pr81563.c: New test
      
      From-SVN: r250587
      H.J. Lu committed
    • [Patch AArch64 obvious] Unify address costs to generic_addrcost_table · a39d4348
      The special case address cost tables for Cortex-A57 and qdf24xx are no
      different from the generic address cost table. We should just use the
      address cost table directly. If this changes in future, a core is welcome
      to add new address cost tables.
      
      gcc/
      
      	* config/aarch64/aarch64.c (cortexa57_addrcost_table): Remove.
      	(qdf24xx_addrcost_table): Likewise.
      	(cortexa57_tunings): Update to use generic_branch_cost.
      	(cortexa72_tunings): Likewise.
      	(cortexa73_tunings): Likewise.
      	(qdf24xx_tunings): Likewise.
      
      From-SVN: r250585
      James Greenhalgh committed
    • P0702R1 - List deduction of vector. · 6cad8c86
      	* pt.c (do_class_deduction): Special-case deduction from a single
      	element of related type.
      
      From-SVN: r250584
      Jason Merrill committed
    • PR c++/67054 - Inherited ctor with non-default-constructible members · 80e7cb2d
              PR c++/67054 - Inherited ctor with non-default-constructible members
              * method.c (walk_field_subobs) Consider member initializers (NSDMIs)
      	when deducing an inheriting constructor.
      
      From-SVN: r250583
      Leonid Koppel committed
    • [Patch AArch64 Obvious] Unify branch costs to generic_branch_cost · aca97ef8
      All the cores in AArch64 use the pair {1, 3} for their branch costs. As
      that is covered by generic_branch_cost, we can just use that directly and
      save the tiny amount of redundant code. If in future any core wants to
      modify this, they can always add a special-case branch-cost back.
      
      gcc/
      
      	* config/aarch64/aarch64.c (cortexa57_branch_cost): Remove.
      	(thunderx2t99_branch_cost): Likewise.
      	(cortexa35_tunings): Update to use generic_branch_cost.
      	(cortexa53_tunings): Likewise.
      	(cortexa57_tunings): Likewise.
      	(cortexa72_tunings): Likewise.
      	(cortexa73_tunings): Likewise.
      	(thunderx2t99_tunings): Likewise.
      
      From-SVN: r250582
      James Greenhalgh committed
    • 53984.cc: Fix typo in dg-require directive. · 3b1aa533
      2017-07-26  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/27_io/basic_fstream/53984.cc: Fix typo in dg-require
      	directive.
      
      From-SVN: r250575
      Paolo Carlini committed
    • [SPARC] Add -mfsmuld option · 867ba4b9
      Add the -mfsmuld option to control the generation of the FsMULd
      instruction.  In general, this instruction is available in architecture
      version V8 and V9 CPUs with FPU.  Some CPUs of this category do not
      support this instruction properly, e.g. AT697E, AT697F and UT699.  Some
      CPUs of this category do not implement it in hardware, e.g. LEON3/4 with
      GRFPU-lite.
      
      gcc/
      	* config/sparc/sparc.c (dump_target_flag_bits): Dump MASK_FSMULD.
      	(sparc_option_override): Honour MASK_FSMULD.
      	* config/sparc/sparc.h (MASK_FEATURES): Add MASK_FSMULD.
      	* config/sparc/sparc.md (muldf3_extend): Use TARGET_FSMULD.
      	* config/sparc/sparc.opt (mfsmuld): New option.
      	* doc/invoke.texi (mfsmuld): Document option.
      
      From-SVN: r250570
      Sebastian Huber committed
    • Disable pr79041-2.c with -mabi=ilp32. · 404f48ac
          gcc/testsuite/
      	PR target/79041
      	* gcc.target/aarch64/pr79041-2.c: Don't run in ILP32.
      
      From-SVN: r250567
      Wilco Dijkstra committed
    • re PR middle-end/70992 (Infinite recursion between fold_build2_stat_loc and… · c3d38629
      re PR middle-end/70992 (Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv)
      
      	PR middle-end/70992
      	* tree.c (build2_stat): Don't set TREE_CONSTANT on divisions by zero.
      
      	* gcc.dg/overflow-warn-1.c: Adjust dg-error.
      	* gcc.dg/overflow-warn-2.c: Likewise.
      	* gcc.dg/overflow-warn-3.c: Likewise.
      	* gcc.dg/overflow-warn-4.c: Likewise.
      	* gcc.dg/torture/pr70992-2.c: New test.
      	* gcc.dg/torture/pr70992.c: New test.
      
      From-SVN: r250566
      Marek Polacek committed
    • gimple-match-head.c (do_valueize): Return OP if valueize returns NULL_TREE. · 4f450a2b
      2017-07-26  Richard Biener  <rguenther@suse.de>
      
      	* gimple-match-head.c (do_valueize): Return OP if valueize
      	returns NULL_TREE.
      	(get_def): New helper to get at the def stmt of a SSA name
      	if valueize allows.
      	* genmatch.c (dt_node::gen_kids_1): Use get_def instead of
      	do_valueize to get at the def stmt.
      	(dt_operand::gen_gimple_expr): Simplify do_valueize calls.
      
      	* gcc/testsuite/gcc.dg/pr70920-2.c: Adjust for transform already
      	happening in ccp1.
      	* gcc/testsuite/gcc.dg/pr70920-4.c: Likewise.
      
      From-SVN: r250565
      Richard Biener committed
    • Fix PR46932: Block auto increment on frame pointer · e1711448
      Block auto increment on frame pointer references.  This is never
      beneficial since the SFP expands into SP+C or FP+C during register
      allocation.  The generated code for the testcase is now as expected:
      
      	str	x30, [sp, -32]!
      	strb	w0, [sp, 31]
      	add	x0, sp, 31
      	bl	foo3
      	ldr	x30, [sp], 32
      	ret
      
          gcc/
      	PR middle-end/46932
      	* auto-inc-dec.c (parse_add_or_inc): Block autoinc on sfp.
      
          gcc/testsuite/
      	PR middle-end/46932
      	* gcc.dg/pr46932.c: New testcase.
      
      From-SVN: r250564
      Wilco Dijkstra committed
    • Move non-local goto expansion after parm_birth_insn (PR sanitize/81186). · 108c3c88
      2017-07-26  Martin Liska  <mliska@suse.cz>
      
      	PR sanitize/81186
      	* function.c (expand_function_start): Make expansion of
      	nonlocal_goto_save_area after parm_birth_insn.
      2017-07-26  Martin Liska  <mliska@suse.cz>
      
      	PR sanitize/81186
      	* gcc.dg/asan/pr81186.c: New test.
      
      From-SVN: r250561
      Martin Liska committed
    • [SPARC] Drop superfluous MASK_FPU enable · 9cda17b5
      All TARGET_DEFAULT defines set MASK_FPU.  There is no need to set it in
      some CPU target flags enable.
      
      gcc/
      	* config/sparc/sparc.c (sparc_option_override): Remove MASK_FPU
      	from all CPU target flags enable members.
      
      From-SVN: r250557
      Sebastian Huber committed
    • genmatch.c (dt_simplify::gen): Make iterator vars const. · 9e7af053
      2017-07-25  Richard Biener  <rguenther@suse.de>
      
      	* genmatch.c (dt_simplify::gen): Make iterator vars const.
      	(decision_tree::gen): Make 'type' const.
      	(write_predicate): Likewise.
      
      From-SVN: r250556
      Richard Biener committed
    • rs6000.c (rs6000_init_hard_regno_mode_ok): Eliminate TARGET_UPPER_REGS_{DF,DI,SF} usage. · 6bd6f4f4
      2017-07-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok):
      	Eliminate TARGET_UPPER_REGS_{DF,DI,SF} usage.
      	(rs6000_option_override_internal): Likewise.
      	(rs6000_expand_vector_set): Likewise.
      	* config/rs6000/rs6000.h (TARGET_UPPER_REGS_DF): Delete.
      	(TARGET_UPPER_REGS_SF): Likewise.
      	(TARGET_UPPER_REGS_DI): Likewise.
      	(TARGET_VEXTRACTUB): Eliminate TARGET_UPPER_REGS_{DF,DI,SF}.
      	(TARGET_DIRECT_MOVE_64BIT): Likewise.
      	* config/rs6000/rs6000.md (ALTIVEC_DFORM): Likewise.
      	(float<QHI:mode><FP_ISA3:mode>2_internal): Likewise.
      	(Splitters for DI constants in Altivec registers): Likewise.
      	* config/rs6000/vsx.md (vsx_set_<mode>_p9): Likewise.
      	(vsx_set_v4sf_p9): Likewise.
      	(vsx_set_v4sf_p9_zero): Likewise.
      	(vsx_insert_extract_v4sf_p9): Likewise.
      	(vsx_insert_extract_v4sf_p9_2): Likewise.
      
      From-SVN: r250555
      Michael Meissner committed
    • Daily bump. · c7d22f46
      From-SVN: r250554
      GCC Administrator committed
  2. 25 Jul, 2017 19 commits