1. 06 Mar, 2018 2 commits
  2. 05 Mar, 2018 22 commits
  3. 04 Mar, 2018 6 commits
    • [NDS32] Rename nds32_expand_movmemqi to nds32_expand_movmemsi and rewrite its implementation. · eab7aaed
      gcc/
      	*config/nds32/nds32-memory-manipulation.c
      	(nds32_emit_load_store): New.
      	(nds32_emit_post_inc_load_store): New.
      	(nds32_emit_mem_move): New.
      	(nds32_emit_mem_move_block): New.
      	(nds32_expand_movmemsi_loop_unknown_size): New.
      	(nds32_expand_movmemsi_loop_known_size): New.
      	(nds32_expand_movmemsi_loop): New.
      	(nds32_expand_movmemsi_unroll): New.
      	(nds32_expand_movmemqi): Rename ...
      	(nds32_expand_movmemsi): ... to this.
      	*config/nds32/nds32-multiple.md (movmemqi): Rename ...
      	(movmemsi): ... to this.
      	*config/nds32/nds32-protos.h (nds32_expand_movmemqi): Rename ...
      	(nds32_expand_movmemsi): ... to this.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      
      From-SVN: r258235
      Kito Cheng committed
    • [NDS32] Refine load_multiple and store_multiple. · 32a6f4f4
      gcc/
      	* config/nds32/nds32-protos.h
      	(nds32_expand_load_multiple): New arguments.
      	(nds32_expand_store_multiple): Ditto.
      	(nds32_valid_multiple_load_store): Rename ...
      	(nds32_valid_multiple_load_store_p): ... to this.
      	* config/nds32/nds32-memory-manipulation.c
      	(nds32_expand_load_multiple): Refine implementation.
      	(nds32_expand_store_multiple): Ditto.
      	* config/nds32/nds32-multiple.md
      	(load_multiple): Update nds32_expand_load_multiple interface.
      	(store_multiple): Update nds32_expand_store_multiple interface.
      	* config/nds32/nds32-predicates.c
      	(nds32_valid_multiple_load_store): Rename ...
      	(nds32_valid_multiple_load_store_p): ... to this and refine
      	implementation.
      	* config/nds32/predicates.md
      	(nds32_load_multiple_and_update_address_operation): New predicate.
      	(nds32_store_multiple_and_update_address_operation): New predicate.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>
      
      From-SVN: r258234
      Kito Cheng committed
    • [NDS32] Add load_multiple,store_multiple and new attribute combo. · 264159d2
      gcc/
      	* config/nds32/nds32.md (type): Add load_multiple and store_multiple.
      	(combo): New attribute.
      	* config/nds32/nds32-multiple.md: Refine patterns with new attributes.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      
      From-SVN: r258232
      Kito Cheng committed
    • PR c++/84686 - missing volatile loads. · 38946ea1
      	* cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref.
      
      From-SVN: r258231
      Jason Merrill committed
    • re PR fortran/71085 (ICE with some intrinsic functions specifying array function result dimension) · ac80378f
      2018-03-03  Harald Anlauf  <anlauf@gmx.de>
      
      	PR fortran/71085
      	* trans-expr.c (gfc_apply_interface_mapping_to_expr): Do not
      	dereference NULL pointer.
      
      
      2018-03-03  Harald Anlauf  <anlauf@gmx.de>
      
      	PR fortran/71085
      	* gfortran.dg/pr71085.f90: New test.
      
      From-SVN: r258228
      Harald Anlauf committed
    • Daily bump. · 6979a6b3
      From-SVN: r258227
      GCC Administrator committed
  4. 03 Mar, 2018 10 commits
    • re PR fortran/66128 (ICE for some intrinsics with zero sized array parameter) · 42ce31c5
      2018-03-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/66128
      	* gfortran.dg/zero_sized_8.f90: Really commit new test.
      
      From-SVN: r258224
      Steven G. Kargl committed
    • re PR fortran/66128 (ICE for some intrinsics with zero sized array parameter) · 94e6b5e5
      2018-03-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/66128
      	* simplify.c (is_size_zero_array): New function to check for size
      	zero array.
      	(gfc_simplify_all, gfc_simplify_any, gfc_simplify_count, 
      	 gfc_simplify_iall, gfc_simplify_iany, gfc_simplify_iparity,
      	 gfc_simplify_minval, gfc_simplify_maxval, gfc_simplify_norm2,
      	 gfc_simplify_product, gfc_simplify_sum): Use it, and implement
      	requirements from F2018.
      
      2018-03-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/66128
      	* gfortran.dg/zero_sized_8.f90: New test.
      
      From-SVN: r258223
      Steven G. Kargl committed
    • * da.po: Update. · 250540af
      From-SVN: r258221
      Joseph Myers committed
    • re PR fortran/51434 (ICE with scalar init of an array parameter, used in DT… · a900a060
      re PR fortran/51434 (ICE with scalar init of an array parameter, used in DT default init with transfer)
      
      2018-03-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/51434
      	* simplify.c (gfc_simplify_transfer): Resolve mold.
      
      2018-03-03  Steven G. Kargl  <kargl@gcc.gnu.org>
      
      	PR fortran/51434
      	* gfortran.dg/pr51434.f90: New test.
      
      From-SVN: r258220
      Steven G. Kargl committed
    • re PR c++/61358 (Bogus "duplicate label" error after label used within C++11 lambda) · 88aa59ff
      2018-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/61358
      	* g++.dg/cpp0x/lambda/lambda-61358.C: New.
      
      From-SVN: r258219
      Paolo Carlini committed
    • re PR c++/67370 (Invalid "parameter packs not expanded" error in lambda capture) · 5a4dbaa8
      2018-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/67370
      	* g++.dg/cpp0x/lambda/lambda-67370.C: New.
      
      From-SVN: r258218
      Paolo Carlini committed
    • re PR c++/71464 (ICE on invalid code (with redeclared constructor) at -Os: Segmentation fault) · c94a3f9f
      /cp
      2018-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71464
      	* optimize.c (maybe_thunk_body): Bail out immediately if either
      	fns[0] or fns[1] is null.
      
      /testsuite
      2018-03-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/71464
      	* g++.dg/torture/pr71464.C: New.
      
      From-SVN: r258216
      Paolo Carlini committed
    • [NDS32] Change to large model by default. · 6855fa21
      gcc/
      	* config/nds32/nds32.opt: Change -mcmodel= default value.
      
      From-SVN: r258215
      Chung-Ju Wu committed
    • [NDS32] Add intrinsic functions for unalignment memory access. · e576ddb5
      gcc/
      	* config/nds32/constants.md (unspec_element): New enum.
      	* config/nds32/constraints.md (Umw): New constraint.
      	* config/nds32/nds32-intrinsic.c: Add more builtin functions.
      	* config/nds32/nds32-intrinsic.md: Likewise.
      	* config/nds32/nds32-md-auxiliary.c (nds32_regno_to_enable4): New.
      	(nds32_valid_smw_lwm_base_p): New.
      	(nds32_output_smw_single_word): New.
      	(nds32_output_lmw_single_word): New.
      	(nds32_expand_unaligned_load): New.
      	(nds32_expand_unaligned_store): New.
      	* config/nds32/nds32-protos.h (nds32_valid_smw_lwm_base_p): Declare.
      	(nds32_output_smw_single_word): Declare.
      	(nds32_output_lmw_single_word): Declare.
      	(nds32_expand_unaligned_load): Declare.
      	(nds32_expand_unaligned_store): Declare.
      	* config/nds32/nds32.h (nds32_builtins): Add NDS32_BUILTIN_UALOAD_HW,
      	NDS32_BUILTIN_UALOAD_W, NDS32_BUILTIN_UALOAD_DW,
      	NDS32_BUILTIN_UASTORE_HW, NDS32_BUILTIN_UASTORE_W,
      	NDS32_BUILTIN_UASTORE_DW.
      	* config/nds32/predicates.md (nds32_lmw_smw_base_operand): New
      	predicate.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>
      
      From-SVN: r258214
      Kito Cheng committed
    • [NDS32] Rewrite infrastructure for intrinsic. · 7a12ea32
      gcc/
      	* config/nds32/nds32-intrinsic.c
      	(nds32_expand_builtin_null_ftype_reg): Delete.
      	(nds32_expand_builtin_reg_ftype_imm): Ditto.
      	(nds32_expand_builtin_null_ftype_reg_imm): Ditto.
      	(nds32_read_argument): New.
      	(nds32_legitimize_target): Ditto.
      	(nds32_legitimize_argument): Ditto.
      	(nds32_check_constant_argument): Ditto.
      	(nds32_expand_unop_builtin): Ditto.
      	(nds32_expand_unopimm_builtin): Ditto.
      	(nds32_expand_binop_builtin): Ditto.
      	(nds32_builtin_decl_impl): Ditto.
      	(builtin_description): Ditto.
      	(nds32_expand_builtin_impl): Rewrite with new infrastructure.
      	(nds32_init_builtins_impl): Ditto.
      	* config/nds32/nds32.c (TARGET_BUILTIN_DECL): Define.
      	(nds32_builtin_decl): New.
      	* config/nds32/nds32.h (nds32_builtins): Add NDS32_BUILTIN_COUNT.
      	* config/nds32/nds32-protos.h (nds32_builtin_decl_impl): Declare.
      
      Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com>
      Co-Authored-By: Kito Cheng <kito.cheng@gmail.com>
      
      From-SVN: r258211
      Monk Chiang committed