From: GCC Administrator Date: Thu, 10 Dec 2020 00:16:47 +0000 (+0000) Subject: Daily bump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca2bd9494927c0caf7b3fce96a5bcda43f3e0c3e;p=gcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 902e496e2d1..f986deed3d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,74 @@ +2020-12-09 Jakub Jelinek + + PR bootstrap/98188 + * tree-ssa-phiopt.c (two_value_replacement): Don't special case + BOOLEAN_TYPEs for ranges, instead if get_range_info doesn't return + VR_RANGE, set min/max to wi::min/max_value. + +2020-12-09 Przemyslaw Wirkus + + * config/aarch64/aarch64-option-extensions.def + (AARCH64_OPT_EXTENSION): New +pauth option in -march for AArch64. + * config/aarch64/aarch64.h (AARCH64_FL_PAUTH): New pauth extension bitmask. + (AARCH64_ISA_PUATH): New ISA bitmask for PAUTH. + (AARCH64_FL_FOR_ARCH8_3): Add PAUTH to Armv8.3-A. + (TARGET_PAUTH): New target mask to isolate PAUTH instructions. + * config/aarch64/aarch64.md (do_return): Condition set to TARGET_PAUTH. + * doc/invoke.texi: Update docs for +flagm and +pauth. + +2020-12-09 Uroš Bizjak + + * config/i386/i386.h (REG_ALLOC_ORDER): Remove + +2020-12-09 Richard Biener + + PR tree-optimization/98213 + * tree-ssa-loop-im.c (sm_seq_valid_bb): Cache successfully + processed PHIs. + (hoist_memory_references): Adjust. + +2020-12-09 Kyrylo Tkachov + + * config/aarch64/aarch64-protos.h (cpu_vector_cost): Move simd + fields to... + (simd_vec_cost): ... Here. Define. + (advsimd_vec_cost): Define. + (sve_vec_cost): Define. + * config/aarch64/aarch64.c (generic_advsimd_vector_cost): + Define. + (generic_sve_vector_cost): Likewise. + (generic_vector_cost): Update. + (qdf24xx_advsimd_vector_cost): Define. + (qdf24xx_vector_cost): Update. + (thunderx_advsimd_vector_cost): Define. + (thunderx_vector_cost): Update. + (tsv110_advsimd_vector_cost): Define. + (tsv110_vector_cost): Likewise. + (cortexa57_advsimd_vector_cost): Define. + (cortexa57_vector_cost): Update. + (exynosm1_advsimd_vector_cost): Define. + (exynosm1_vector_cost): Update. + (xgene1_advsimd_vector_cost): Define. + (xgene1_vector_cost): Update. + (thunderx2t99_advsimd_vector_cost): Define. + (thunderx2t99_vector_cost): Update. + (thunderx3t110_advsimd_vector_cost): Define. + (thunderx3t110_vector_cost): Update. + (aarch64_builtin_vectorization_cost): Handle sve and advsimd + vector cost fields. + +2020-12-09 Jakub Jelinek + + PR tree-optimization/98199 + * fold-const.c (native_encode_initializer): Fix handling bit-fields + when off > 0. + +2020-12-09 Jakub Jelinek + + PR c++/98193 + * fold-const.c (native_encode_initializer): Set pos to field's + byte position if iterating over a field with missing initializer. + 2020-12-08 Martin Liska PR tree-optimization/98182 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c8f34b85e95..9320aaa99a8 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201209 +20201210 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 79b7bec9cfc..d0bfaaebe4d 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2020-12-09 Tobias Burnus + + * c-pragma.c (omp_pragmas): Add 'allocate'. + * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_ALLOCATE. + 2020-12-08 Jakub Jelinek PR c++/98187 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 15eaa3d2433..bb21d0c7654 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,14 @@ +2020-12-09 Tobias Burnus + + * c-parser.c (c_parser_omp_allocate): New. + (c_parser_omp_construct): Call it. + +2020-12-09 Richard Biener + + PR c/98200 + * gimple-parser.c (c_parser_gimple_postfix_expression): Return + early on error. + 2020-12-07 Martin Uecker PR c/97981 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cb91fedcb2d..ce97c8553f9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,78 @@ +2020-12-09 Nathan Sidwell + + * parser.h (struct cp_token): Add main_source_p field. + * parser.c (cp_lexer_new_main): Pass thought module token filter. + Check macros. + (cp_lexer_get_preprocessor_token): Set main_source_p. + (enum module_parse): New. + (cp_parser_diagnose_invalid_type_name): Deal with unrecognized + module-directives. + (cp_parser_skip_to_closing_parenthesize_1): Skip module-directivres. + (cp_parser_skip_to_end_of_statement): Likewise. + (cp_parser_skiup_to_end_of_block_or_statement): Likewise. + (cp_parser_translation_unit): Add module parsing calls. + (cp_parser_module_name, cp_parser_module_declaration): New. + (cp_parser_import_declaration, cp_parser_module_export): New. + (cp_parser_declaration): Add module export detection. + (cp_parser_template_declaration): Adjust 'export' error message. + (cp_parser_function_definition_after_declarator): Add + module-specific logic. + * module.cc (import_module, declare_module) + (maybe_check_all_macros): Stubs. + +2020-12-09 Marek Polacek + + PR c++/97517 + * cxx-pretty-print.c (cxx_pretty_printer::simple_type_specifier): Handle + NULLPTR_TYPE. + (pp_cxx_type_specifier_seq): Likewise. + (cxx_pretty_printer::type_id): Likewise. + +2020-12-09 Nathan Sidwell + + * decl.c (duplicate_decls): Add module-specific redeclaration + logic. + (cxx_init_decl_processing): Export the global namespace, maybe + initialize modules. + (start_decl): Reject local-extern in a module, adjust linkage of + template var. + (xref_tag_1): Add module-specific redeclaration logic. + (start_enum): Likewise. + (finish_enum_value_list): Export unscoped members of an exported + enum. + (grokmethod): Implement p1779 linkage of in-class defined + functions. + * decl2.c (no_linkage_error): Imports are ok. + (c_parse_final_cleanups): Call fini_modules. + * lex.c (cxx_dup_lang_specific): Clear some module flags in the + copy. + * module.cc (module_kind): Define. + (module_may_redeclare, set_defining_module): Stubs. + (init_modules): Error on modules. + (fini_modules): Stub. + * rtti.c (push_abi_namespace): Save and reset module_kind. + (pop_abi_namespace): Restore module kind. + (build_dynamic_cast_1, tinfo_base_init): Adjust. + * semantics.c (begin_class_definition): Add module-specific logic. + (expand_or_defer_fn_1): Keep bodies of more fns when modules_p. + +2020-12-09 Tobias Burnus + + * parser.c (cp_parser_omp_allocate): New. + (cp_parser_omp_construct, cp_parser_pragma): Call it. + +2020-12-09 Jason Merrill + + PR c++/98019 + * cvt.c (maybe_warn_nodiscard): Check c_inhibit_evaluation_warnings. + +2020-12-09 Jason Merrill + + PR c++/59238 + * init.c (expand_default_init): Pass tf_no_cleanup when building + a TARGET_EXPR to go on the RHS of an INIT_EXPR. + * typeck.c (cp_build_modify_expr): Likewise. + 2020-12-08 Marek Polacek PR c++/98103 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b22f0d535b8..63abb26fe35 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2020-12-09 Ian Lance Taylor + + * go.test/go-test.exp (errchk): Rewrite regexp quoting to use + curly braces, making it much simpler. + +2020-12-09 Richard Biener + + PR tree-optimization/98213 + * g++.dg/pr98213.C: New testcase. + +2020-12-09 Marek Polacek + + PR c++/97517 + * g++.dg/diagnostic/nullptr.C: New test. + +2020-12-09 Martin Liska + + PR tree-optimization/98182 + * gcc.dg/tree-ssa/if-to-switch-1.c: Add case-values-threshold in + order to fix them for aarch64. + * gcc.dg/tree-ssa/if-to-switch-10.c: Likewise. + +2020-12-09 Ilya Leoshkevich + + * gcc.target/s390/zvector/autovec-double-signaling-eq.c: Build + with exceptions. + * gcc.target/s390/zvector/autovec-float-signaling-eq.c: + Likewise. + +2020-12-09 Tobias Burnus + + * c-c++-common/gomp/allocate-5.c: New test. + +2020-12-09 Richard Biener + + PR c/98200 + * gcc.dg/gimplefe-error-8.c: New testcase. + +2020-12-09 Tobias Burnus + + * gfortran.dg/gomp/reduction4.f90: Update scan-trees, add + lost testcase; move test with FE error to ... + * gfortran.dg/gomp/reduction5.f90: ... here. + +2020-12-09 Jakub Jelinek + + PR tree-optimization/98199 + * gcc.c-torture/compile/pr98199.c: New test. + +2020-12-09 Jakub Jelinek + + PR c++/98193 + * g++.dg/cpp2a/bit-cast7.C: New test. + +2020-12-09 Jason Merrill + + * g++.dg/cpp2a/concepts-nodiscard1.C: Remove xfail. + +2020-12-09 Jason Merrill + + PR c++/59238 + * g++.dg/cpp0x/new4.C: New test. + 2020-12-08 Jakub Jelinek PR tree-optimization/98191 diff --git a/include/ChangeLog b/include/ChangeLog index 41e3b76766e..f49e8cd0a01 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2020-12-09 Andrew Stubbs + + * hsa.h: Replace whole file. + * hsa_ext_amd.h: New file. + * hsa_ext_image.h: New file. + 2020-09-24 Mark Wielaard * dwarf2.def: Add DWARF5 Unit type header encoding macros diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 016c8fca67d..326011fc11c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2020-12-09 Andrew Stubbs + + * plugin/plugin-gcn.c: Include hsa_ext_amd.h. + (HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT): Delete redundant definition. + 2020-12-08 Tobias Burnus * testsuite/libgomp.fortran/scan-1.f90: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9c4467bb6a9..e494f05490a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2020-12-09 Jonathan Wakely + + * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Define NO_SLEEP + if none of nanosleep, sleep and Sleep is available. + * config.h.in: Regenerate. + * configure: Regenerate. + * include/std/thread [_GLIBCXX_NO_SLEEP] (__sleep_for): Do + not declare. + [_GLIBCXX_NO_SLEEP] (sleep_for, sleep_until): Do not + define. + * src/c++11/thread.cc [_GLIBCXX_NO_SLEEP] (__sleep_for): Do + not define. + 2020-12-08 Jason Merrill PR c++/96299