diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 902e496e2d1ede979aeec93f3b7df99451188bfe..f986deed3d083a89959fd2e6747a5dc8c3472c68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,74 @@ +2020-12-09 Jakub Jelinek <jakub@redhat.com> + + 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 <przemyslaw.wirkus@arm.com> + + * 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 <ubizjak@gmail.com> + + * config/i386/i386.h (REG_ALLOC_ORDER): Remove + +2020-12-09 Richard Biener <rguenther@suse.de> + + 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 <kyrylo.tkachov@arm.com> + + * 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 <jakub@redhat.com> + + PR tree-optimization/98199 + * fold-const.c (native_encode_initializer): Fix handling bit-fields + when off > 0. + +2020-12-09 Jakub Jelinek <jakub@redhat.com> + + 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 <mliska@suse.cz> PR tree-optimization/98182 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index c8f34b85e9517b080bb555f977d3f88ff7ce0cf2..9320aaa99a8856c917f7a790f069f86e319d5d41 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201209 +20201210 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 79b7bec9cfcc76e6edd5bb99f9fdd8805419d2d4..d0bfaaebe4de60f67d04e274ed49a2f32c12a32e 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2020-12-09 Tobias Burnus <tobias@codesourcery.com> + + * c-pragma.c (omp_pragmas): Add 'allocate'. + * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_ALLOCATE. + 2020-12-08 Jakub Jelinek <jakub@redhat.com> PR c++/98187 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 15eaa3d24333887e728ebe4a4a354ad7e7fa56eb..bb21d0c76541455f2a9db4434e412e60f8fddc09 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,14 @@ +2020-12-09 Tobias Burnus <tobias@codesourcery.com> + + * c-parser.c (c_parser_omp_allocate): New. + (c_parser_omp_construct): Call it. + +2020-12-09 Richard Biener <rguenther@suse.de> + + PR c/98200 + * gimple-parser.c (c_parser_gimple_postfix_expression): Return + early on error. + 2020-12-07 Martin Uecker <muecker@gwdg.de> PR c/97981 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cb91fedcb2d2d82a4244ac4e8040507554561ad3..ce97c8553f99dc20bd234477968c9acb6d313fa9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,78 @@ +2020-12-09 Nathan Sidwell <nathan@acm.org> + + * 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 <polacek@redhat.com> + + 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 <nathan@acm.org> + + * 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 <tobias@codesourcery.com> + + * parser.c (cp_parser_omp_allocate): New. + (cp_parser_omp_construct, cp_parser_pragma): Call it. + +2020-12-09 Jason Merrill <jason@redhat.com> + + PR c++/98019 + * cvt.c (maybe_warn_nodiscard): Check c_inhibit_evaluation_warnings. + +2020-12-09 Jason Merrill <jason@redhat.com> + + 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 <polacek@redhat.com> PR c++/98103 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b22f0d535b801b7f6ff5bf50b05eec5c9ae4490f..63abb26fe35f2dbd540705037a89ce10bacc465d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,66 @@ +2020-12-09 Ian Lance Taylor <iant@golang.org> + + * go.test/go-test.exp (errchk): Rewrite regexp quoting to use + curly braces, making it much simpler. + +2020-12-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/98213 + * g++.dg/pr98213.C: New testcase. + +2020-12-09 Marek Polacek <polacek@redhat.com> + + PR c++/97517 + * g++.dg/diagnostic/nullptr.C: New test. + +2020-12-09 Martin Liska <mliska@suse.cz> + + 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 <iii@linux.ibm.com> + + * 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 <tobias@codesourcery.com> + + * c-c++-common/gomp/allocate-5.c: New test. + +2020-12-09 Richard Biener <rguenther@suse.de> + + PR c/98200 + * gcc.dg/gimplefe-error-8.c: New testcase. + +2020-12-09 Tobias Burnus <tobias@codesourcery.com> + + * 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 <jakub@redhat.com> + + PR tree-optimization/98199 + * gcc.c-torture/compile/pr98199.c: New test. + +2020-12-09 Jakub Jelinek <jakub@redhat.com> + + PR c++/98193 + * g++.dg/cpp2a/bit-cast7.C: New test. + +2020-12-09 Jason Merrill <jason@redhat.com> + + * g++.dg/cpp2a/concepts-nodiscard1.C: Remove xfail. + +2020-12-09 Jason Merrill <jason@redhat.com> + + PR c++/59238 + * g++.dg/cpp0x/new4.C: New test. + 2020-12-08 Jakub Jelinek <jakub@redhat.com> PR tree-optimization/98191 diff --git a/include/ChangeLog b/include/ChangeLog index 41e3b76766ea0e1c985ba6f5c47a6ede4ea42a26..f49e8cd0a016f9f1cd6642a2bb58278aa9e86785 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2020-12-09 Andrew Stubbs <ams@codesourcery.com> + + * hsa.h: Replace whole file. + * hsa_ext_amd.h: New file. + * hsa_ext_image.h: New file. + 2020-09-24 Mark Wielaard <mark@klomp.org> * dwarf2.def: Add DWARF5 Unit type header encoding macros diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 016c8fca67d06973f5cb7274e6b461dbba80e0f5..326011fc11c3a749d1fe6148edc9d4bafd82ce00 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2020-12-09 Andrew Stubbs <ams@codesourcery.com> + + * plugin/plugin-gcn.c: Include hsa_ext_amd.h. + (HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT): Delete redundant definition. + 2020-12-08 Tobias Burnus <tobias@codesourcery.com> * testsuite/libgomp.fortran/scan-1.f90: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9c4467bb6a900fd9e68dfb3e21204fe3c7aad6e3..e494f05490aaec9b194745d6b887eb71f9e53ecc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2020-12-09 Jonathan Wakely <jwakely@redhat.com> + + * 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 <jason@redhat.com> PR c++/96299