1. 31 Mar, 2017 17 commits
  2. 30 Mar, 2017 9 commits
    • Fix ICE when expanding MSA constant vectors with replicated values · 6c18efd4
      gcc/
      	* config/mips/mips.c (mips_expand_vector_init): Create
      	a const_vector to initialise a vector register instead of
      	using a const_int.
      
      From-SVN: r246601
      Matthew Fortune committed
    • Fix pr52125.c test when built as -mno-abicalls -mabi=64 · c8e0f43f
      gcc/testsuite/
      	* gcc.target/mips/pr52125.c: Add -msym32.
      
      From-SVN: r246600
      Matthew Fortune committed
    • re PR translation/80189 (gimplify.c: check whether parallel/task/teams should be translated) · 724d25f3
      	PR translation/80189
      	* gimplify.c (omp_default_clause): Use %qs instead of %s in
      	diagnostic messages.
      testsuite/
      	* g++.dg/gomp/predetermined-1.C: Adjust expected diagnostics.
      	* g++.dg/gomp/sharing-1.C: Likewise.
      	* gfortran.dg/gomp/pr44536.f90: Likewise.
      	* gfortran.dg/gomp/pr44036-1.f90: Likewise.
      	* gfortran.dg/gomp/sharing-3.f90: Likewise.
      	* gfortran.dg/gomp/crayptr3.f90: Likewise.
      	* gfortran.dg/gomp/pr33439.f90: Likewise.
      	* gfortran.dg/gomp/appendix-a/a.24.1.f90: Likewise.
      	* gfortran.dg/gomp/sharing-1.f90: Likewise.
      	* gfortran.dg/gomp/sharing-2.f90: Likewise.
      	* gcc.dg/gomp/appendix-a/a.24.1.c: Likewise.
      	* gcc.dg/gomp/sharing-1.c: Likewise.
      
      From-SVN: r246599
      Jakub Jelinek committed
    • * env.c (initialize_env): Initialize stacksize to 0. · e02d868a
      From-SVN: r246598
      Jakub Jelinek committed
    • re PR target/80246 (Builtin's for POWER's dxex[q] and diex[q] use the wrong types) · 05dc406d
      gcc/
      	PR target/80246
      	* config/rs6000/dfp.md (dfp_dxex_<mode>): Update mode of operand 0.
      	(dfp_diex_<mode>): Update mode of operand 1.
      	* doc/extend.texi (dxex, dxexq): Document change to return type.
      	(diex, diexq): Document change to argument type.
      
      gcc/testsuite/
      	PR target/80246
      	* gcc.target/powerpc/dfp-builtin-1.c: Remove unneeded dg-skip-if for
      	Darwin and SPE.
      	(dxex, dxexq): Update return type.
      	(diex, diexq): Update argument type.
      	* gcc.target/powerpc/pr80246.c: New test.
      
      From-SVN: r246594
      Peter Bergner committed
    • [PR 77333] Fixup fntypes of gimple calls of clones · b0fd4d7e
      2017-03-30  Martin Jambor  <mjambor@suse.cz>
      
      	PR ipa/77333
      	* cgraph.h (cgraph_build_function_type_skip_args): Declare.
      	* cgraph.c (redirect_call_stmt_to_callee): Set gimple fntype so that
      	it reflects the signature changes performed at the callee side.
      	* cgraphclones.c (build_function_type_skip_args): Make public, renamed
      	to cgraph_build_function_type_skip_args.
      	(build_function_decl_skip_args): Adjust call to the above function.
      
      testsuite/
      	* g++.dg/ipa/pr77333.C: New test.
      
      From-SVN: r246589
      Martin Jambor committed
    • re PR target/80206 (ICE in extract_insn, at recog.c:2327) · de008ec4
      	PR target/80206
      	* config/i386/sse.md
      	(<extract_type>_vextract<shuffletype><extract_suf>_mask): Use
      	register as dest whenever it is a MEM not rtx_equal_p to the
      	corresponding dup operand, and when forcing into reg move the
      	reg into the memory afterwards.
      	(<extract_type_2>_vextract<shuffletype><extract_suf_2>_mask):
      	Likewise.  Use <ssehalfvecmode> instead of <ssequartermode>
      	for the force_reg mode.
      	(avx512vl_vextractf128<mode>): Use register as dest either
      	always when a MEM, or when it is a MEM not rtx_equal_p to the
      	corresponding dup operand, or even not when it is a CONST_VECTOR
      	depending on the mode and lo vs. hi.
      	(avx512dq_vextract<shuffletype>64x2_1_maskm): Remove extraneous
      	parens.
      	(avx512f_vextract<shuffletype>32x4_1_maskm): Likewise.
      	(<mask_codefor>avx512dq_vextract<shuffletype>64x2_1<mask_name>):
      	Likewise.  Require that operands[2] is even.
      	(<mask_codefor>avx512f_vextract<shuffletype>32x4_1<mask_name>):
      	Remove extraneous parens.  Require that operands[2] is a multiple
      	of 4.
      	(vec_extract_lo_<mode><mask_name>): Don't bother testing if
      	operands[0] is a MEM if <mask_applied>, the predicates/constraints
      	disallow memory then.
      
      	* gcc.target/i386/pr80206.c: New test.
      
      From-SVN: r246588
      Jakub Jelinek committed
    • re PR tree-optimization/77498 (Performance drop after r239414 on spec2000/172mgrid) · 28c02407
      2017-03-30  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/77498
      	* tree-ssa-pre.c (phi_translate_1): Do not allow simplifications
      	to non-constants over backedges.
      
      	* gfortran.dg/pr77498.f: New testcase.
      
      From-SVN: r246583
      Richard Biener committed
    • Daily bump. · e0aa80e0
      From-SVN: r246581
      GCC Administrator committed
  3. 29 Mar, 2017 11 commits
  4. 28 Mar, 2017 3 commits
    • * es.po: Update. · df709d77
      From-SVN: r246557
      Joseph Myers committed
    • Implement LWG 2900, The copy and move constructors of optional are not constexpr. · 250f5b6c
      Implement LWG 2900, The copy and move constructors
      of optional are not constexpr.
      * include/std/optional (_Optional_payload): New.
      (_Optional_base): Remove the bool parameter.
      (_Optional_base<_Tp, false>): Remove.
      (_Optional_base()): Adjust.
      (_Optional_base(nullopt_t)): Likewise.
      (_Optional_base(in_place_t, _Args&&...)): Likewise.
      (_Optional_base(in_place_t, initializer_list<_Up>, _Args&&...)):
      Likewise.
      (_Optional_base(const _Optional_base&)): Likewise.
      (_Optional_base(_Optional_base&&)): Likewise.
      (operator=(const _Optional_base&)): Likewise.
      (operator=(_Optional_base&&)): Likewise.
      (~_Optional_base()): Remove.
      (_M_is_engaged()): Adjust.
      (_M_get()): Likewise.
      (_M_construct(_Args&&...)): Likewise.
      (_M_destruct()): Likewise.
      (_M_reset()): Likewise.
      (_Optional_base::_Empty_byte): Remove.
      (_Optional_base::_M_empty): Remove.
      (_Optional_base::_M_payload): Adjust.
      * testsuite/20_util/optional/cons/value_neg.cc: Adjust.
      * testsuite/20_util/optional/constexpr/cons/value.cc: Add tests.
      
      From-SVN: r246556
      Ville Voutilainen committed
    • rs6000: Fix gcc.target/powerpc/gcse-1.c for PIC (PR43496) · 19846619
      With PIC a @ha relocation isn't generated, so skip that test then.
      
      
      	PR testsuite/43496
      	* gcc.target/powerpc/gcse-1.c: Skip scan-assembler-times "@ha" if
      	generating PIC code.
      
      From-SVN: r246555
      Segher Boessenkool committed