]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 28 Nov 2024 00:19:41 +0000 (00:19 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Thu, 28 Nov 2024 00:19:41 +0000 (00:19 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libcpp/ChangeLog
libstdc++-v3/ChangeLog

index 07180dc46cde5e2d6cead7a2d3fb6b672d04906d..2be87f2079ccf3d2257980fc79c3f4ce30c40ae0 100644 (file)
@@ -1,3 +1,65 @@
+2024-11-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/36503
+       * config/i386/i386.md (*ashl<mode>3_add):
+       New define_insn_and_split pattern.
+       (*ashl<mode>3_add_1): Ditto.
+       (*<insn><mode>3_add): Ditto.
+       (*<insn><mode>3_add_1): Ditto.
+       (*ashl<mode>3_sub): Rename from *ashl<mode>3_negcnt.
+       (*ashl<mode>3_sub_1): Rename from *ashl<mode>3_negcnt_1.
+       (*<insn><mode>3_sub): Rename from *<insn><mode>3_negcnt.
+       (*<insn><mode>3_sub_1): Rename from *<insn><mode>3_negcnt_1.
+
+2024-11-27  Andrew Pinski  <quic_apinski@quicinc.com>
+
+       PR tree-optimization/117776
+       * match.pd (nested int casts): Allow for the case
+       where the final prec is greater than the original
+       prec.
+
+2024-11-27  Pan Li  <pan2.li@intel.com>
+
+       * match.pd: Refactor sorts of unsigned SAT_ADD match pattern for
+       IFN ADD_OVERFLOW.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/117642
+       * builtins.cc (expand_builtin_sync_lock_release): Change return type
+       from void to rtx, return result of expand_atomic_store.
+       (expand_builtin) <case BUILT_IN_SYNC_LOCK_RELEASE_16>: If
+       expand_builtin_sync_lock_release returns NULL, do a break rather
+       than return const0_rtx.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/117692
+       * tree.cc (get_range_pos_neg): Adjust function comment, use
+       non-negative instead of positive.
+       * match.pd
+       (((X /[ex] C1) +- C2) * (C1 * C3) -> (X * C3) +- (C1 * C2 * C3)):
+       Use casts to utype if type is signed, factor isn't 1 and
+       C1 and C2 could have different sign for + or could have the
+       same sign for -.
+
+2024-11-27  Alexandre Oliva  <oliva@adacore.com>
+
+       * tree-ssa-ifcombine.cc (ifcombine_ifandif): Avoid fallback
+       conjunction of noncontiguous conditions.
+
+2024-11-27  Florian Weimer  <fweimer@redhat.com>
+
+       * doc/invoke.texi: Document -Wfree-labels.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+           Andrew Pinski  <quic_apinski@quicinc.com>
+           Andi Kleen  <ak@gcc.gnu.org>
+
+       PR bootstrap/117350
+       * tree.cc (need_assembler_name_p): Keep assembler name
+       for abstract declarations when autofdo is used.
+
 2024-11-26  David Malcolm  <dmalcolm@redhat.com>
 
        * selftest.cc (selftest::print_diff): New function.
index 2073d1c39026851d43cee3a776968c003eec6073..7c44885e94f222564a0a2f105a29cf54cdade440 100644 (file)
@@ -1 +1 @@
-20241127
+20241128
index d3eafc6fee3737f65b467df4d6aa8ee50c054f17..e6d0b4dd2c883677533a1b4f18135b41144fbfb0 100644 (file)
@@ -1,3 +1,15 @@
+2024-11-27  Florian Weimer  <fweimer@redhat.com>
+
+       * c-opts.cc (c_common_post_options): Initialize
+       warn_free_labels.
+       * c.opt (Wfree-labels): New option.
+       * c.opt.urls: Regenerate.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * c-opts.cc (c_common_post_options): Enable -Warray-compare
+       in C++20.
+
 2024-11-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/43374
index 06f60c1afa8f7b17f2ada0bc42af109241706cd6..01d45103f0e18826f560d6f8a387efea4096918c 100644 (file)
@@ -1,3 +1,31 @@
+2024-11-27  Joseph Myers  <josmyers@redhat.com>
+
+       PR c/91193
+       * c-parser.cc (c_parser_maybe_reclassify_token): Define earlier.
+       (c_parser_declaration_or_fndef): Call
+       c_parser_maybe_reclassify_token before parsing old-style parameter
+       definitions.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/117745
+       * c-parser.cc (c_parser_sizeof_expression): If type_name is NULL,
+       just expr.set_error () and goto sizeof_expr instead of doing error
+       recovery manually.
+
+2024-11-27  Joseph Myers  <josmyers@redhat.com>
+
+       PR c/117781
+       * c-parser.cc (c_parser_typeof_specifier): Do not remove _Atomic
+       from array element type for typeof_unqual.
+
+2024-11-27  Florian Weimer  <fweimer@redhat.com>
+
+       * c-parser.cc (c_parser_compound_statement_nostart): Use
+       OPT_Wfree_labels for warning about labels on declarations.
+       (c_parser_compound_statement_nostart): Use OPT_Wfree_labels
+       for warning about labels at end of compound statements.
+
 2024-11-26  David Malcolm  <dmalcolm@redhat.com>
 
        PR c/94370
index e527d5d8adaf48e29bc128f7c335eda84cb2d37b..420b8d254080714d5d49839d7c80b60d9e5630c2 100644 (file)
@@ -1,3 +1,8 @@
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * module.cc (trees_out::core_bools): Check vague_linkage_p.
+       (has_definition): Likewise.
+
 2024-11-23  Lewis Hyatt  <lhyatt@gmail.com>
 
        * module.cc (bytes_out::loc): New function.
index d240b706ca201d134908b3fe2c3bde3430b72861..5d2be55a36c4501aac3d4c4928f3cd361e67bf48 100644 (file)
@@ -1,3 +1,13 @@
+2024-11-27  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/84674
+       PR fortran/117768
+       * class.cc (add_proc_comp): If the component points to a tbp
+       that is abstract, do not return since the new version is more
+       likely to be usable.
+       * resolve.cc (resolve_fl_derived): Remove the condition that
+       rejected a completely empty derived type extension.
+
 2024-11-26  Harald Anlauf  <anlauf@gmx.de>
 
        * expr.cc (find_inquiry_ref): Fix memleak introduced by scanning
index 5038e29f9e0e2255842993b6a2cf2207fe4354ab..b3f887692930438b941862d76626b277eb907edf 100644 (file)
@@ -1,3 +1,82 @@
+2024-11-27  Jan Hubicka  <hubicka@ucw.cz>
+
+       * g++.dg/tree-ssa/empty-loop.C: xfail optimization at cddce2 and check
+       it happens at cddce3.
+       * g++.dg/tree-ssa/string-1.C: New test.
+
+2024-11-27  Joseph Myers  <josmyers@redhat.com>
+
+       PR c/91193
+       * gcc.dg/pr91193-1.c, gcc.dg/pr91193-2.c: New tests.
+
+2024-11-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/36503
+       * gcc.target/i386/pr36503-3.c: New test.
+       * gcc.target/i386/pr36503-4.c: New test.
+
+2024-11-27  Andrew Pinski  <quic_apinski@quicinc.com>
+
+       PR tree-optimization/117776
+       * g++.dg/vect/pr117776.cc: New test.
+       * gcc.dg/tree-ssa/cast-3.c: New test.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/117745
+       * gcc.dg/pr117745.c: New test.
+
+2024-11-27  Pan Li  <pan2.li@intel.com>
+
+       PR target/112600
+       * gcc.target/i386/pr112600-5-u16.c: New test.
+       * gcc.target/i386/pr112600-5-u32.c: New test.
+       * gcc.target/i386/pr112600-5-u64.c: New test.
+       * gcc.target/i386/pr112600-5-u8.c: New test.
+       * gcc.target/i386/pr112600-5.h: New test.
+
+2024-11-27  Joseph Myers  <josmyers@redhat.com>
+
+       PR c/117781
+       * gcc.dg/c23-typeof-5.c: New test.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/117642
+       * gcc.target/i386/pr117642-1.c: New test.
+       * gcc.target/i386/pr117642-2.c: New test.
+
+2024-11-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/117692
+       * gcc.dg/tree-ssa/mulexactdiv-5.c: Expect 8 nop_exprs.
+       * gcc.dg/tree-ssa/pr117692.c: New test.
+
+2024-11-27  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/117768
+       * gfortran.dg/pr117768.f90: New test.
+
+2024-11-27  Florian Weimer  <fweimer@redhat.com>
+
+       * gcc.dg/Wfree-labels-1.c: New test.
+       * gcc.dg/Wfree-labels-2.c: New test.
+       * gcc.dg/Wfree-labels-3.c: New test.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/modules/static-3_b.C: New test.
+       * g++.dg/modules/static-3_a.H: New test.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/tree-ssa/pr15791-1.C: Add -Wno-array-compare.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/modules/dashinclude-1_b.C: Add an #error.
+       * g++.dg/modules/dashinclude-1_a.H: Remove dg-module-do run.
+
 2024-11-26  Andrew Pinski  <quic_apinski@quicinc.com>
 
        * g++.dg/ext/sve-sizeless-2.C: Update the expected error message
index f479a01c3f174ad7f14e73358554fe8d5fa74293..e15f63d033aa2f5560abc2fe69bc00f44493f619 100644 (file)
@@ -1,3 +1,8 @@
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * files.cc (_cpp_stack_file): Handle -include of header unit more
+       specially.
+
 2024-11-23  Lewis Hyatt  <lhyatt@gmail.com>
 
        PR preprocessor/117118
index 32fd9833720b0e23ba43da3d093d4072a88f4116..dbfe48479c0d8152828cc893179b5a11698f071c 100644 (file)
@@ -1,3 +1,71 @@
+2024-11-27  Jan Hubicka  <hubicka@ucw.cz>
+
+       * include/bits/basic_string.h (basic_string::size(),
+       basic_string::length(), basic_string::capacity()): Add
+       __builtin_unreachable to declare value ranges.
+       (basic_string::empty()): Implement directly
+       (basic_string::max_size()): Account correctly the terminating 0
+       and limits implied by ptrdiff_t.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/c++config (__glibcxx_assert): Remove useless
+       __builtin_expect from constexpr-only assertion. Improve
+       comments.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/117650
+       * include/bits/c++config (__glibcxx_assert_fail): Add cold
+       attribute.
+       * include/debug/formatter.h (_Error_formatter::_M_error):
+       Likewise.
+
+2024-11-27  Patrick Palka  <ppalka@redhat.com>
+
+       * include/std/ranges (views::__adaptor::_RangeAdaptorClosure):
+       Befriend both operator| overloads.
+       * src/c++23/std.cc.in: Don't export views::__adaptor::operator|.
+
+2024-11-27  Jason Merrill  <jason@redhat.com>
+
+       * src/c++23/std.cc.in: Fix iter_move/swap.  Add fold_left_first, to,
+       concat, and some operators.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/forward_list.h (forward_list::front): Add
+       non-empty assertions.
+       * include/bits/stl_list.h (list::front, list::back): Add
+       non-empty assertions.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/forward_list.h (operator=(forward_list&&)): Use
+       if constexpr instead of dispatching to _M_move_assign.
+       (assign(InputIterator, InputIterator)): Use if constexpr instead
+       of dispatching to _M_assign.
+       (assign(size_type, const T&)): Use if constexpr instead of
+       dispatching to _M_assign_n.
+       (_M_move_assign, _M_assign_n): Do not define for versioned
+       namespace.
+       (_M_assign): Remove.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/bits/stl_list.h (operator=(list&&)): Use if constexpr
+       instead of dispatching to _M_move_assign.
+       (_M_move_assign): Do not define for versioned namespace.
+
+2024-11-27  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/105857
+       * config/locale/dragonfly/codecvt_members.cc (do_length): Limit
+       size of alloca buffer to 4k.
+       * config/locale/gnu/codecvt_members.cc (do_length): Likewise.
+       * testsuite/22_locale/codecvt/length/wchar_t/105857.cc: New
+       test.
+
 2024-11-26  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/117751