https://gcc.gnu.org/g:6d450ade1fb4bb762f6d9773deb5dd334abeed71 commit 6d450ade1fb4bb762f6d9773deb5dd334abeed71 Author: GCC Administrator Date: Thu Jul 23 00:16:28 2020 +0000 Daily bump. Diff: --- ChangeLog | 4 ++++ gcc/ChangeLog | 42 ++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 5 +++++ gcc/c/ChangeLog | 6 ++++++ gcc/cp/ChangeLog | 42 ++++++++++++++++++++++++++++++++++++++++++ gcc/fortran/ChangeLog | 21 +++++++++++++++++++++ gcc/testsuite/ChangeLog | 47 +++++++++++++++++++++++++++++++++++++++++++++++ libgomp/ChangeLog | 14 ++++++++++++++ libstdc++-v3/ChangeLog | 19 +++++++++++++++++++ 10 files changed, 201 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c254769017..86f567aebdc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2020-07-22 Przemyslaw Wirkus + + * MAINTAINERS (Write After Approval): Add myself. + 2020-06-12 Martin Liska * .gitignore: Add .clang-tidy. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c06f731cc6..0ebabdf0ba1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,45 @@ +2020-07-22 Peter Bergner + + PR target/96236 + * config/rs6000/rs6000-call.c (rs6000_gimple_fold_mma_builtin): Handle + little-endian memory ordering. + +2020-07-22 Nathan Sidwell + + * dumpfile.c (parse_dump_option): Deal with filenames + containing '-' + +2020-07-22 Nathan Sidwell + + * incpath.c (add_path): Avoid multiple strlen calls. + +2020-07-22 Jozef Lawrynowicz + + * expmed.c (expand_sdiv_pow2): Check return value from emit_store_flag + is not NULL_RTX before use. + +2020-07-22 Jozef Lawrynowicz + + * expr.c (convert_modes): Allow a constant integer to be converted to + any scalar int mode. + +2020-07-22 Przemyslaw Wirkus + + * config/aarch64/aarch64-ldpstp.md: Add two peepholes for adjusted vector + V2SI, V2SF, V2DI, V2DF load pair and store pair modes. + * config/aarch64/aarch64-protos.h (aarch64_gen_adjusted_ldpstp): + Change mode parameter to machine_mode. + (aarch64_operands_adjust_ok_for_ldpstp): Change mode parameter to + machine_mode. + * config/aarch64/aarch64.c (aarch64_operands_adjust_ok_for_ldpstp): + Change mode parameter to machine_mode. + (aarch64_gen_adjusted_ldpstp): Change mode parameter to machine_mode. + * config/aarch64/iterators.md (VP_2E): New iterator for 2 element vectors. + +2020-07-22 Wei Wentao + + * doc/languages.texi: Fix “then”/“than” typo. + 2020-07-21 Sunil K Pandey PR target/95237 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 71fc8c18748..659a031602d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200722 +20200723 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 7a0803038b0..b189c7c3a50 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2020-07-22 Tobias Burnus + + * c-omp.c (c_finish_omp_critical): Check for no name but + nonzero hint provided. + 2020-07-20 Jason Merrill * c-cppbuiltin.c (c_cpp_builtins): Update diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 9478dcdd754..dea042971f1 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2020-07-22 Tobias Burnus + + * c-parser.c (c_parser_omp_clause_hint): Require nonnegative hint clause. + (c_parser_omp_critical): Permit hint(0) clause without named critical. + (c_parser_omp_construct): Don't assert if error_mark_node is returned. + 2020-07-21 Sunil K Pandey PR target/95237 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8d45a4016de..174ff0321a7 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,45 @@ +2020-07-22 Nathan Sidwell + + * class.c (maybe_add_class_template_decl_list): Don't add CONST_DECLs. + +2020-07-22 Nathan Sidwell + + * typeck.c (structural_comptypes): [DECLTYPE_TYPE] break + apart complex if. + [UNDERLYING_TYPE]: Use an if. + [TYPEOF_TYPE]: New. + +2020-07-22 Nathan Sidwell + + * decl.c (decls_match): Move variables into scopes + they're needed in. + (duplicate_decls): Use STRIP_TEMPLATE. + (build_typename_type): Move var decls to their assignments. + (begin_function_body): Likewise. + * decl2.c (get_guard): Likewise. + (mark_used): Use true for truthiness. + * error.c (dump_aggr_type): Hold the decl in a var called + 'decl', not 'name'. + +2020-07-22 Nathan Sidwell + + * cp-tree.h (struct tree_lambda_expr): Shrink + default_capture_mode & discriminator. + +2020-07-22 Nathan Sidwell + + * mangle.c (decl_is_template_id): Rename to ... + (maybe_template_info): ... here. Return the template info, + rather than use a pointer. Adjust all callers. + (find_substitution): Use template_args_equal, rather than + local check. + +2020-07-22 Tobias Burnus + + * parser.c (cp_parser_omp_clause_hint): Require nonnegative hint. + (cp_parser_omp_critical): Permit hint(0) clause without named critical. + * pt.c (tsubst_expr): Re-check the latter for templates. + 2020-07-21 Sunil K Pandey PR target/95237 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 57c9db9c58f..72efe3d5a9c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2020-07-22 Tobias Burnus + + * gfortran.h (enum gfc_omp_if_kind): Add OMP_IF_CANCEL and OMP_IF_SIMD. + * openmp.c (OMP_SIMD_CLAUSES): Add OMP_CLAUSE_IF. + (gfc_match_omp_clauses, resolve_omp_clauses): Handle 'if (simd/cancel:'. + * dump-parse-tree.c (show_omp_clauses): Likewise. + * trans-openmp.c (gfc_trans_omp_clauses, gfc_trans_omp_cancel, + (gfc_split_omp_clauses): Likewise. + +2020-07-22 Tobias Burnus + + * openmp.c (gfc_match_omp_critical): Fix handling hints; permit + hint clause without named critical. + (resolve_omp_clauses): Require nonnegative constant integer + for the hint clause. + (gfc_resolve_omp_directive): Check for no name but + nonzero value for hint clause. + * parse.c (parse_omp_structured_block): Fix same-name check + for critical. + * trans-openmp.c (gfc_trans_omp_critical): Handle hint clause properly. + 2020-07-21 Harald Anlauf PR fortran/89574 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 552f2df0fc2..cfbfc44d0a3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,50 @@ +2020-07-22 Tobias Burnus + + * gfortran.dg/gomp/cancel-2.f90: New test. + * gfortran.dg/gomp/cancel-3.f90: New test. + * gfortran.dg/gomp/if-1.f90: New test. + +2020-07-22 Peter Bergner + + PR target/96236 + * gcc.target/powerpc/mma-double-test.c: Update storing results for + correct little-endian ordering. + * gcc.target/powerpc/mma-single-test.c: Likewise. + +2020-07-22 H.J. Lu + + PR target/95237 + * c-c++-common/pr95237-6.c: Only run for x86 targets. + +2020-07-22 Tobias Burnus + + * c-c++-common/gomp/critical-hint-1.c: Moved to libgomp/. + * c-c++-common/gomp/critical-hint-2.c: Moved to libgomp/. + * gfortran.dg/gomp/critical-hint-1.f90: Moved to libgomp/. + * gfortran.dg/gomp/critical-hint-2.f90: Moved to libgomp/. + +2020-07-22 Przemyslaw Wirkus + + * gcc.target/aarch64/ldp_vec_v2sf.c: New test. + * gcc.target/aarch64/ldp_vec_v2si.c: New test. + * gcc.target/aarch64/stp_vec_v2df.c: New test. + * gcc.target/aarch64/stp_vec_v2di.c: New test. + * gcc.target/aarch64/stp_vec_v2sf.c: New test. + * gcc.target/aarch64/stp_vec_v2si.c: New test. + +2020-07-22 Tobias Burnus + + * g++.dg/gomp/critical-3.C: Add nameless critical with hint testcase. + * c-c++-common/gomp/critical-hint-1.c: New test. + * c-c++-common/gomp/critical-hint-2.c: New test. + * gfortran.dg/gomp/critical-hint-1.f90: New test. + * gfortran.dg/gomp/critical-hint-2.f90: New test. + +2020-07-22 Hans-Peter Nilsson + + * gcc.dg/no_profile_instrument_function-attr-1.c: Adjust scanned + regex for NO_DOT_IN_LABEL. + 2020-07-21 Sunil K Pandey PR target/95237 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 992dc36cd64..ab602de04c6 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,17 @@ +2020-07-22 Tobias Burnus + + * testsuite/libgomp.c-c++-common/critical-hint-1.c: New; moved from + gcc/testsuite/c-c++-common/gomp/. + * testsuite/libgomp.c-c++-common/critical-hint-2.c: Likewise. + * testsuite/libgomp.fortran/critical-hint-1.f90: New; moved + from gcc/testsuite/gfortran.dg/gomp/. + * testsuite/libgomp.fortran/critical-hint-2.f90: Likewise. + +2020-07-22 Tobias Burnus + + * omp_lib.f90.in: Add omp_sync_hint_* and omp_sync_hint_kind. + * omp_lib.h.in: Likewise. + 2020-07-18 H.J. Lu PR target/95620 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 76c3e5cb7c0..9bce1831eab 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,22 @@ +2020-07-22 Jonathan Wakely + + * include/std/future (future, shared_future, promise): Add + static assertions to the primary template to reject array and + function types. + * testsuite/30_threads/future/requirements/lwg3458.cc: New test. + * testsuite/30_threads/promise/requirements/lwg3466.cc: New test. + * testsuite/30_threads/shared_future/requirements/lwg3458.cc: New test. + +2020-07-22 Jonathan Wakely + + * include/bits/stl_iterator.h (reverse_iterator): Constrain + converting constructor and converting assignment operator. + Access source iterator's data member directly instead of + calling base(). + (move_iterator): Likewise. + * testsuite/24_iterators/move_iterator/dr3435.cc: New test. + * testsuite/24_iterators/reverse_iterator/dr3435.cc: New test. + 2020-07-20 Jonathan Wakely * acinclude.m4 (libtool_VERSION): Bump version.