]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 5 Oct 2022 00:17:25 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 5 Oct 2022 00:17:25 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 48397ffb1f90625dc26e822fb4f06152c7864cad..06e188e8e99726aa85032f3cbc1186748de9e0be 100644 (file)
@@ -1,3 +1,87 @@
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * attribs.h (remove_attribute): Declare overload with additional
+       attr_ns argument.
+       (private_lookup_attribute): Declare overload with additional
+       attr_ns and attr_ns_len arguments.
+       (lookup_attribute): New overload with additional attr_ns argument.
+       * attribs.cc (remove_attribute): New overload with additional
+       attr_ns argument.
+       (private_lookup_attribute): New overload with additional
+       attr_ns and attr_ns_len arguments.
+
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * attribs.cc (handle_ignored_attributes_option, decl_attributes,
+       common_function_versions): Use auto_diagnostic_group.
+
+2022-10-04  Aldy Hernandez  <aldyh@redhat.com>
+
+       * value-range.cc (irange::set_nonzero_bits): Remove assert.
+
+2022-10-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/aarch64.h (AARCH64_ISA_RCPC): New macro.
+       * config/aarch64/aarch64-arches.def (armv8.3-a): Include RCPC.
+       * config/aarch64/aarch64-cores.def (thunderx3t110, zeus, neoverse-v1)
+       (neoverse-512tvb, saphira): Remove RCPC from these Armv8.3-A+ cores.
+       * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Define
+       __ARM_FEATURE_RCPC when appropriate.
+
+2022-10-04  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/invoke.texi (-fopenmp): Mention C++ attribut syntax.
+       (-fopenmp-simd): Likewise; update permitted directives.
+
+2022-10-04  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/install.texi (Specific): Add missing items to bullet list.
+       (amdgcn): Update LLVM requirements, use version not date for newlib.
+       (nvptx): Use version not git hash for newlib.
+
+2022-10-04  Aldy Hernandez  <aldyh@redhat.com>
+
+       * value-range-storage.cc (irange_storage_slot::set_irange): Remove
+       special case.
+       * value-range.cc (irange::irange_set): Adjust for nonzero mask
+       being a wide int.
+       (irange::irange_set_anti_range): Same.
+       (irange::set): Same.
+       (irange::verify_range): Same.
+       (irange::legacy_equal_p): Same.
+       (irange::operator==): Same.
+       (irange::contains_p): Same.
+       (irange::legacy_intersect): Same.
+       (irange::legacy_union): Same.
+       (irange::irange_single_pair_union): Call union_nonzero_bits.
+       (irange::irange_union): Same.
+       (irange::irange_intersect): Call intersect_nonzero_bits.
+       (irange::intersect): Adjust for nonzero mask being a wide int.
+       (irange::invert): Same.
+       (irange::set_nonzero_bits): Same.
+       (irange::get_nonzero_bits_from_range): New.
+       (irange::set_range_from_nonzero_bits): New.
+       (irange::get_nonzero_bits): Adjust for nonzero mask being a wide
+       int.
+       (irange::intersect_nonzero_bits): Same.
+       (irange::union_nonzero_bits): Same.
+       (range_tests_nonzero_bits): Remove test.
+       * value-range.h (irange::varying_compatible_p): Adjust for nonzero
+       mask being a wide int.
+       (gt_ggc_mx): Same.
+       (gt_pch_nx): Same.
+       (irange::set_undefined): Same.
+       (irange::set_varying): Same.
+       (irange::normalize_kind): Same.
+
+2022-10-04  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/107130
+       * gimple-range-op.cc (class cfn_popcount): Call op_cfn_ffs.
+       (class cfn_ffs): New.
+       (gimple_range_op_handler::maybe_builtin_call): Separate out
+       CASE_CFN_FFS into its own case.
+
 2022-10-03  Sergei Trofimovich  <siarheit@google.com>
 
        * config/i386/t-i386: Add build-time dependencies against
index 59c7fe23e2ac15e484b0c6e9099c08e777333caf..7759c903eed01c732e1f47c45deb985cd36789e0 100644 (file)
@@ -1 +1 @@
-20221004
+20221005
index ea4b2546482a7e189c2618b2cbf08f6a8fde3c79..c062fe1556f0d48664e064a3d51176d491f86daf 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-omp.cc (c_omp_directives): Uncomment begin declare target
+       entry.
+
 2022-10-03  Patrick Palka  <ppalka@redhat.com>
 
        * c-common.cc (c_common_reswords): Use RID_IS_SAME instead of
index f5c9a592dfa6b2274ca40c1aad1bf9006d318c50..48eb23e02380a29a7c7fb34eba59005beb7212f9 100644 (file)
@@ -1,3 +1,30 @@
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-lang.h (struct c_omp_declare_target_attr): New type.
+       (current_omp_declare_target_attribute): Change type from
+       int to vec<c_omp_declare_target_attr, va_gc> *.
+       * c-parser.cc (c_parser_translation_unit): Adjust for that change.
+       If last pushed directive was begin declare target, use different
+       wording and simplify format strings for easier translations.
+       (c_parser_omp_clause_device_type): Uncomment
+       check_no_duplicate_clause call.
+       (c_parser_omp_declare_target): Adjust for the
+       current_omp_declare_target_attribute type change, push { -1 }.
+       Use error_at rather than warning_at for declare target with
+       only device_type clauses.
+       (OMP_BEGIN_DECLARE_TARGET_CLAUSE_MASK): Define.
+       (c_parser_omp_begin): Add begin declare target support.
+       (c_parser_omp_end): Adjust for the
+       current_omp_declare_target_attribute type change, adjust
+       diagnostics wording and simplify format strings for easier
+       translations.
+       * c-decl.cc (current_omp_declare_target_attribute): Change type from
+       int to vec<c_omp_declare_target_attr, va_gc> *.
+       (c_decl_attributes): Adjust for the
+       current_omp_declare_target_attribute type change.  If device_type
+       was present on begin declare target, add "omp declare target host"
+       and/or "omp declare target nohost" attributes.
+
 2022-09-29  Joseph Myers  <joseph@codesourcery.com>
 
        * c-decl.cc (handle_std_noreturn_attribute): New function.
index db6fea132ce33a84038803f122069c39fa2e291c..3249d8303addb6716451e6ac01d5770ea1631fde 100644 (file)
@@ -1,3 +1,43 @@
+2022-10-04  Jason Merrill  <jason@redhat.com>
+
+       PR c++/107154
+       * cp-gimplify.cc (cp_genericize_init_expr): Use iloc_sentinel.
+       (cp_genericize_target_expr): Likewise.
+
+2022-10-04  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/107136
+       * Make-lang.in (CP_PLUGIN_HEADERS): Add cp-trait.def.
+
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-tree.h (struct omp_declare_target_attr): Rename to ...
+       (cp_omp_declare_target_attr): ... this.  Add device_type member.
+       (omp_begin_assumes_data): Rename to ...
+       (cp_omp_begin_assumes_data): ... this.
+       (struct saved_scope): Change types of omp_declare_target_attribute
+       and omp_begin_assumes.
+       * parser.cc (cp_parser_omp_clause_device_type): Uncomment
+       check_no_duplicate_clause call.
+       (cp_parser_omp_all_clauses): Fix up pasto, c_name for OMP_CLAUSE_LINK
+       should be "link" rather than "to".
+       (cp_parser_omp_declare_target): Adjust for omp_declare_target_attr
+       to cp_omp_declare_target_attr changes, push -1 as device_type.  Use
+       error_at rather than warning_at for declare target with only
+       device_type clauses.
+       (OMP_BEGIN_DECLARE_TARGET_CLAUSE_MASK): Define.
+       (cp_parser_omp_begin): Add begin declare target support.  Adjust
+       for omp_begin_assumes_data to cp_omp_begin_assumes_data change.
+       (cp_parser_omp_end): Adjust for the
+       omp_declare_target_attr to cp_omp_declare_target_attr and
+       omp_begin_assumes_data to cp_omp_begin_assumes_data type changes,
+       adjust diagnostics wording and simplify format strings for easier
+       translations.
+       * semantics.cc (finish_translation_unit): Likewise.
+       * decl2.cc (cplus_decl_attributes): If device_type was present on
+       begin declare target, add "omp declare target host" and/or
+       "omp declare target nohost" attributes.
+
 2022-10-03  Jakub Jelinek  <jakub@redhat.com>
 
        * cp-tree.h (BCS_STMT_EXPR): New enumerator.
index 0559fc3aeed1f8b7637407166204f67dfc6ce5d6..692303068fb8d3ceacff61c60a7bc8f55b8ea958 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-04  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parse.cc (decode_omp_directive): Handle '(end) loop' and 'scan'
+       also with -fopenmp-simd.
+
 2022-10-01  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
 
        PR fortran/100040
index 0c6e5d4b269494c7c3833a65e96362970a21ff42..8a30bb479f62f511198abdb97ac2d16dc5023e0e 100644 (file)
@@ -1,3 +1,39 @@
+2022-10-04  Jason Merrill  <jason@redhat.com>
+
+       PR c++/107154
+       * g++.dg/debug/dwarf2/lineno-array1.C: New test.
+
+2022-10-04  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gcc.target/aarch64/pragma_cpp_predefs_1.c: Add RCPC tests.
+
+2022-10-04  Tobias Burnus  <tobias@codesourcery.com>
+
+       * gfortran.dg/gomp/openmp-simd-7.f90: New test.
+
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-c++-common/gomp/declare-target-4.c: Move tests that are now
+       rejected into declare-target-7.c.
+       * c-c++-common/gomp/declare-target-6.c: Adjust expected diagnostics.
+       * c-c++-common/gomp/declare-target-7.c: New test.
+       * c-c++-common/gomp/begin-declare-target-1.c: New test.
+       * c-c++-common/gomp/begin-declare-target-2.c: New test.
+       * c-c++-common/gomp/begin-declare-target-3.c: New test.
+       * c-c++-common/gomp/begin-declare-target-4.c: New test.
+       * g++.dg/gomp/attrs-9.C: Add begin declare target tests.
+       * g++.dg/gomp/attrs-18.C: New test.
+
+2022-10-04  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/107130
+       * gcc.dg/tree-ssa/pr107130.c: New test.
+
+2022-10-04  Lewis Hyatt  <lhyatt@gmail.com>
+
+       PR c/91669
+       * c-c++-common/pr91669.c: New test.
+
 2022-10-03  Torbjörn SVENSSON  <torbjorn.svensson@foss.st.com>
            Yvan ROUX   <yvan.roux@foss.st.com>
 
index 0377b5cbe00d1f0a5bfe0048df561e1fa14e80a2..adb619ad6299a5df57b4e8df89e2d5e0b0853441 100644 (file)
@@ -1,3 +1,8 @@
+2022-10-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * libgomp.texi (Support begin/end declare target syntax in C/C++):
+       Mark as implemented.
+
 2022-09-30  Tobias Burnus  <tobias@codesourcery.com>
 
        PR fortran/105318
index be69777d55e31979e50b3af69669f32e60bcdfa6..81588d6ca3806c219a13b395091aa17b0c3eaa2d 100644 (file)
@@ -1,3 +1,77 @@
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/std/ranges/adaptors/join_with/1.cc: Remove unused
+       <sstream header.
+       (test04): Remove constexpr for old std::string ABI and test at
+       runtime.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/type_traits (remove_cv): Use __remove_cv built-in.
+       (remove_reference): Use __remove_reference built-in.
+       (remove_cvref): Use __remove_cvref built-in. Remove inheritance
+       for fallback implementation.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/random.h (__is_seed_seq): Replace with ...
+       (_If_seed_seq_for): ... this.
+       * include/ext/random: Adjust to use _If_seed_seq_for.
+
+2022-10-04  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (join_with_view::_Iterator::operator*):
+       Replace use of std::visit with manual visitation.
+       (join_with_view::_Iterator::operator++): Likewise.
+       (join_with_view::_Iterator::operator--): Likewise.
+       (join_with_view::_Iterator::iter_move): Likewise.
+       (join_with_view::_Iterator::iter_swap): Likewise.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/25_algorithms/stable_sort/mem_check.cc: Do nto run
+       for freestanding.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/107139
+       * include/std/coroutine: Remove all _GLIBCXXHOSTED preprocessor
+       conditionals.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/107134
+       * include/c_global/cstdint [!_GLIBCXX_HOSTED]: Include
+       <stdint-gcc.h> directly.
+
+2022-10-04  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/107135
+       * include/bits/functexcept.h [!_GLIBCXX_HOSTED]
+       (__throw_invalid_argument, __throw_out_of_range)
+       (__throw_out_of_range_fmt, __throw_runtime_error)
+       (__throw_overflow_error): Define inline.
+       * include/std/bitset (_M_copy_from_ptr) [!_GLIBCXX_HOSTED]:
+       Replace __builtin_abort with __throw_invalid_argument.
+
+2022-10-04  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges: Include <variant> for C++23.
+       (__detail::__compatible_joinable_ranges): Define.
+       (__detail::__bidirectional_common): Define.
+       (join_with_view): Define.
+       (join_with_view::_Iterator): Define.
+       (join_with_view::_Sentinel): Define.
+       (views::__detail::__can_join_with_view): Define.
+       (views::_JoinWith, views::join_with): Define.
+       * testsuite/std/ranges/adaptors/join_with/1.cc: New test.
+
+2022-10-04  Arsen Arsenović  <arsen@aarsen.me>
+
+       * include/std/iostream: Use ///< for inline documentation.
+       * include/std/limits: Likewise.
+       * include/experimental/internet: Likewise.
+
 2022-10-03  Jonathan Wakely  <jwakely@redhat.com>
 
        * doc/xml/manual/status_cxx2020.xml: Update C++20 status.