- 05 Mar, 2018 5 commits
-
-
2018-03-05 Richard Biener <rguenther@suse.de> PR tree-optimization/84650 * tree-ssa-loop-im.c (pass_lim::execute): Reset the SCEV cache if executed in the loop pipeline. * gcc.dg/graphite/pr84650.c: New testcase. From-SVN: r258242
Richard Biener committed -
re PR c++/82022 (constexpr lambda in template context: expression ‘<lambda>’ is not a constant expression) 2018-03-05 Paolo Carlini <paolo.carlini@oracle.com> PR c++/82022 * g++.dg/cpp1z/constexpr-lambda20.C: New. From-SVN: r258241
Paolo Carlini committed -
2018-03-05 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/configfiles.texi (Configuration Files): Move info about conditionalizing $target-protos.h to... * doc/sourcebuild.texi (Back End): Here. Explain how $target.h differs from $target-protos.h. From-SVN: r258240
Sandra Loosemore committed -
gcc/ * config/nds32/nds32-protos.h (nds32_expand_setmem): Declare. * config/nds32/nds32-multiple.md (setmemsi): Define. * config/nds32/nds32-memory-manipulation.c (nds32_gen_dup_4_byte_to_word_value): New. (emit_setmem_word_loop): New. (emit_setmem_byte_loop): New. (nds32_expand_setmem_loop): New. (nds32_expand_setmem_loop_v3m): New. (nds32_expand_setmem_unroll): New. (nds32_expand_setmem): New. Co-Authored-By: Chung-Ju Wu <jasonwucj@gmail.com> From-SVN: r258239
Kito Cheng committed -
From-SVN: r258238
GCC Administrator committed
-
- 04 Mar, 2018 6 commits
-
-
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 -
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 -
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 -
* cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref. From-SVN: r258231
Jason Merrill committed -
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 -
From-SVN: r258227
GCC Administrator committed
-
- 03 Mar, 2018 13 commits
-
-
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 -
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 -
From-SVN: r258221
Joseph Myers committed -
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 -
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 -
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 -
/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 -
gcc/ * config/nds32/nds32.opt: Change -mcmodel= default value. From-SVN: r258215
Chung-Ju Wu committed -
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 -
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 -
2018-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/80965 * resolve.c (build_loc_call): Change symtree name from 'loc' to '_loc'. 2018-03-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/80965 * gfortran.dg/select_type_41.f90: New test. From-SVN: r258195
Paul Thomas committed -
re PR c++/61135 (It seems to be not able to call virtual method of literal object in lambda expression) 2018-03-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/61135 * g++.dg/cpp0x/lambda/lambda-61135.C: New. From-SVN: r258165
Paolo Carlini committed -
From-SVN: r258163
GCC Administrator committed
-
- 02 Mar, 2018 16 commits
-
-
From-SVN: r258160
Joseph Myers committed -
* reorg.c (stop_search_p): Handle DEBUG_INSN. (redundant_insn, fill_simple_delay_slots): Likewise. (fill_slots_from_thread): Likewise. * resource.c (mark_referenced_resources): Likewise. (mark_set_resources, find_dead_or_set_registers): Likewise. From-SVN: r258158
Jeff Law committed -
PR libstdc++/84671 * include/bits/parse_numbers.h (_Number_help): Add partial specialization to handle digit separators. Adjust partial specialization for recursion temrination to require _Pow == 1ULL. * testsuite/20_util/duration/literals/84671.cc: New From-SVN: r258157
Jonathan Wakely committed -
PR c++/84578 * constexpr.c (get_array_or_vector_nelts): New. (cxx_eval_array_reference): Use it. (cxx_eval_vec_init_1): Likewise. (cxx_eval_store_expression): Likewise. * g++.dg/ext/flexary29.C: New test. From-SVN: r258156
Marek Polacek committed -
libiberty/ChangeLog: * cp-demangle.c: Update URL for g++ V3 ABI. From-SVN: r258155
David Malcolm committed -
* substring-locations.h (format_warning_va): Formatting fix for ATTRIBUTE_GCC_DIAG. (format_warning_at_substring): Fix up ATTRIBUTE_GCC_DIAG second argument. (format_warning_n_va, format_warning_at_substring_n): New prototypes. * substring-locations.c: Include intl.h. (format_warning_va): Turned into small wrapper around format_warning_n_va, renamed to ... (format_warning_n_va): ... this, add N and PLURAL_GMSGID arguments, rename GMSGID to SINGULAR_GMSGID, if SINGULAR_GMSGID != PLURAL_GMSGID, use ngettext. (format_warning_at_substring_n): New function. * gimple-ssa-sprintf.c: Remove GCC diagnostic ignored pragma. (fmtwarn): Add ATTRIBUTE_GCC_DIAG. Turn into a copy of format_warning_at_substring with just a shorter name instead of const function pointer. (fmtwarn_n): New function. (maybe_warn, format_directive, parse_directive): Use fmtwarn_n where appropriate, get rid of all the fmtstr temporaries, move conditionals with G_() wrapped string literals directly into fmtwarn arguments, cast dir.len to (int), formatting fixes. From-SVN: r258154
Jakub Jelinek committed -
From-SVN: r258153
Jakub Jelinek committed -
From-SVN: r258151
Jason Merrill committed -
2018-03-02 Paolo Carlini <paolo.carlini@oracle.com> PR c++/81812 * g++.dg/torture/pr81812.C: New. From-SVN: r258150
Paolo Carlini committed -
PR c++/84664 * typeck.c (cp_perform_integral_promotions): Check the result of mark_rvalue_use. * g++.dg/cpp0x/lambda/lambda-ice28.C: New test. From-SVN: r258149
Marek Polacek committed -
re PR c++/84663 (internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334) PR c++/84663 * decl.c (cp_complete_array_type): Check error_mark_node. * g++.dg/parse/array-size3.C: New test. From-SVN: r258148
Marek Polacek committed -
PR c++/84171 * c-warn.c (warn_for_sign_compare): Bail out if any of the operands is erroneous. * g++.dg/warn/Wsign-compare-8.C: New test. From-SVN: r258147
Marek Polacek committed -
re PR c++/84662 (internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944) PR c++/84662 * pt.c (tsubst_copy_and_build) <case TEMPLATE_ID_EXPR>: Use RETURN instead of return. <case POINTER_PLUS_EXPR>: Likewise. <case CONVERT_EXPR>: If op0 is error_mark_node, just return it instead of wrapping it into CONVERT_EXPR. * g++.dg/cpp1y/pr84662.C: New test. From-SVN: r258146
Jakub Jelinek committed -
* pt.c (type_dependent_expression_p): Check DECL_LANG_SPECIFIC. From-SVN: r258143
Jason Merrill committed -
gcc/testsuite/ * g++.dg/lto/20080915_0.C: Don't use "dg-lto-options". * g++.dg/lto/20080907_0.C: Use "#pragma GCC" instead of "dg-lto-options". * g++.dg/lto/20101010-1_0.C: Likewise. * g++.dg/lto/20101010-2_0.C: Likewise. Reviewed-by: Jason Merrill <jason@redhat.com> From-SVN: r258142
Thomas Schwinge committed -
contrib/ * update-copyright.py: Remove "libcilkrts" reference. gcc/c-family/ * c-attribs.c (c_common_attribute_table): Remove "cilk simd function". gcc/ * doc/invoke.texi: Remove "Cilk Plus" references. From-SVN: r258141
Thomas Schwinge committed
-