1. 03 Apr, 2017 5 commits
  2. 02 Apr, 2017 5 commits
  3. 01 Apr, 2017 1 commit
  4. 31 Mar, 2017 17 commits
  5. 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
  6. 29 Mar, 2017 3 commits
    • re PR c/79730 (ICE tree check: expected var_decl, have function_decl in… · 10fa8dfb
      re PR c/79730 (ICE tree check: expected var_decl, have function_decl in finish_decl, at c/c-decl.c:5063)
      
      	PR c/79730
      	* c-decl.c (finish_decl): Check VAR_P.
      
      	* gcc.dg/pr79730.c: New test.
      
      From-SVN: r246578
      Marek Polacek committed
    • re PR fortran/78670 ([F03] Incorrect file position with namelist read under DTIO) · fdc54f39
      2017-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/78670
      	* io/list_read.c (nml_get_obj_data): Delete code which calls the
      	child read procedure. (nml_read_obj): Insert the code which
      	calls the child procedure. Don't need to touch nodes if using
      	dtio since parent will not be traversing the components.
      
      	PR libgfortran/78670
      	* gfortran.dg/dtio_25.f90: Use 'a1' format when trying to read
      	a character of length 1. Update test for success.
      	* gfortran.dg/dtio_28.f03: New test.
      	* gfortran.dg/dtio_4.f90: Update to open test file with status =
      	'scratch' to delete the file when done.
      
      From-SVN: r246576
      Jerry DeLisle committed
    • combine: Fix PR80233 · 533c0b69
      If combine has added an unconditional trap there will be a new basic
      block as well.  It will then end up considering the NOTE_INSN_BASIC_BLOCK
      as the last_combined_insn, but then it tries to take the DF_INSN_LUID
      of that and that dereferences a NULL pointer (since such a note is not
      an INSN_P).
      
      This fixes it by not taking non-insns as last_combined_insn.
      
      
      	PR rtl-optimization/80233
      	* combine.c (combine_instructions): Only take NONDEBUG_INSN_P insns
      	as last_combined_insn.  Do not test for BARRIER_P separately.
      
      gcc/testsuite/
      	PR rtl-optimization/80233
      	* gcc.c-torture/compile/pr80233.c: New testcase.
      
      From-SVN: r246575
      Segher Boessenkool committed