aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog62
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog12
-rw-r--r--gcc/c/ChangeLog28
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/fortran/ChangeLog10
-rw-r--r--gcc/testsuite/ChangeLog79
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libstdc++-v3/ChangeLog68
9 files changed, 270 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 07180dc..2be87f2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 2073d1c..7c44885 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241127
+20241128
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index d3eafc6..e6d0b4d 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 06f60c1..01d4510 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index e527d5d..420b8d2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d240b70..5d2be55 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 5038e29..b3f8876 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index f479a01..e15f63d 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -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
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 32fd983..dbfe484 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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