summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog22
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog19
-rw-r--r--gcc/c/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog15
-rw-r--r--gcc/m2/ChangeLog64
-rw-r--r--gcc/testsuite/ChangeLog70
-rw-r--r--libcpp/po/ChangeLog4
-rw-r--r--libgfortran/ChangeLog40
-rw-r--r--libstdc++-v3/ChangeLog29
10 files changed, 271 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 597f7b0c51b..a7c454e3587 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,25 @@
+2023-02-28 Qing Zhao <qing.zhao@oracle.com>
+
+ PR middle-end/107411
+ PR middle-end/107411
+ * gimplify.cc (gimple_add_init_for_auto_var): Use sprintf to replace
+ xasprintf.
+ * tree-ssa-uninit.cc (warn_uninit): Handle the case when the
+ LHS varaible of a .DEFERRED_INIT call doesn't have a DECL_NAME.
+
+2023-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/108894
+ * ubsan.cc (ubsan_expand_bounds_ifn): Emit index >= bound
+ comparison rather than index > bound.
+ * gimple-fold.cc (gimple_fold_call): Use tree_int_cst_lt
+ rather than tree_int_cst_le for IFN_UBSAN_BOUND comparison.
+ * doc/invoke.texi (-fsanitize=bounds): Document that whether
+ flexible array member-like arrays are instrumented or not depends
+ on -fstrict-flex-arrays* options of strict_flex_array attributes.
+ (-fsanitize=bounds-strict): Document that flexible array members
+ are not instrumented.
+
2023-02-27 Uroš Bizjak <ubizjak@gmail.com>
PR target/108922
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 3a02054ac49..a0a140e40cc 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20230228
+20230301
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index b417f75a200..2cd2aefd321 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,22 @@
+2023-02-28 Marek Polacek <polacek@redhat.com>
+
+ PR c++/107938
+ * c-warn.cc (check_address_or_pointer_of_packed_member): Check
+ POINTER_TYPE_P.
+
+2023-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/108894
+ * c-common.h (c_strict_flex_array_level_of): Declare.
+ * c-common.cc (c_strict_flex_array_level_of): New function,
+ moved and renamed from c-decl.cc's strict_flex_array_level_of.
+ * c-ubsan.cc (ubsan_instrument_bounds): Fix comment typo. For
+ C check c_strict_flex_array_level_of whether a trailing array
+ should be treated as flexible member like. Handle C [0] arrays.
+ Add 1 + index_off_by_one rather than index_off_by_one to bounds
+ and use tree_int_cst_lt rather than tree_int_cst_le for idx vs.
+ bounds comparison.
+
2023-02-23 Jakub Jelinek <jakub@redhat.com>
PR translation/108890
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index d3cd60bd909..c566302c8bd 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2023-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/108894
+ * c-decl.cc (strict_flex_array_level_of): Move to c-common.cc
+ and rename to c_strict_flex_array_level_of.
+ (is_flexible_array_member_p): Adjust caller.
+
2023-02-18 Martin Uecker <uecker@tugraz.at>
PR c/108375
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 302e06665b9..3c33e92c482 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,18 @@
+2023-02-28 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/108848
+ * pt.cc (finish_template_variable): Move dependence check
+ to here from ...
+ (lookup_and_finish_template_variable): ... here.
+ * semantics.cc (finish_id_expression_1): Call
+ finish_template_variable sooner, before (and regardless of) the
+ type_dependent_expression_p test.
+
+2023-02-28 Marek Polacek <polacek@redhat.com>
+
+ PR c++/108550
+ * pt.cc (lookup_and_finish_template_variable): Clear tf_partial.
+
2023-02-20 Marek Polacek <polacek@redhat.com>
PR c++/101073
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index fff63c6bd27..51d0ab9584b 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,67 @@
+2023-02-28 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/108956
+ * Make-lang.in (m2/gm2-libs-boot/M2RTS.o): New specific rule to
+ add the --suppress-noreturn option.
+ * Make-maintainer.in (m2/gm2-ppg-boot/$(SRC_PREFIX)M2RTS.o): New
+ specific rule to add the --suppress-noreturn option.
+ (m2/gm2-pg-boot/$(SRC_PREFIX)M2RTS.o): New
+ specific rule to add the --suppress-noreturn option.
+ (m2/gm2-pg-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir).
+ (m2/gm2-pge-boot/$(SRC_PREFIX)M2RTS.o): New
+ specific rule to add the --suppress-noreturn option.
+ (m2/gm2-pge-boot/$(SRC_PREFIX)%.o): Add missing $(srcdir).
+ * gm2-libs-ch/UnixArgs.cc (LIBNAME): New define.
+ (_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule.
+ * gm2-libs-ch/dtoa.cc (LIBNAME): New define.
+ (_M2_dtoa_ctor): Add LIBNAME parameter to RegisterModule.
+ * gm2-libs-ch/ldtoa.cc (LIBNAME): New define.
+ (_M2_ldtoa_ctor): Add LIBNAME parameter to RegisterModule.
+ * pge-boot/m2rts.h (M2RTS_RegisterModule): Add libname
+ parameter.
+ * gm2-libs-ch/m2rts.h (M2RTS_RegisterModule): Add libname
+ parameter.
+ * mc-boot-ch/GUnixArgs.cc (_M2_UnixArgs_ctor): Remove.
+ * pge-boot/GUnixArgs.cc (LIBNAME): New define.
+ (_M2_UnixArgs_ctor): Add LIBNAME parameter to RegisterModule.
+ * gm2-libs/RTint.def (AttachVector): Rename parameter.
+ * mc-boot/GDynamicStrings.c: Rebuilt.
+ * mc-boot/GFIO.c: Rebuilt.
+ * mc-boot/GIndexing.c: Rebuilt.
+ * mc-boot/GM2EXCEPTION.c: Rebuilt.
+ * mc-boot/GPushBackInput.c: Rebuilt.
+ * mc-boot/GRTExceptions.c: Rebuilt.
+ * mc-boot/GRTint.c: Rebuilt.
+ * mc-boot/GRTint.h: Rebuilt.
+ * mc-boot/GStdIO.c: Rebuilt.
+ * mc-boot/GStringConvert.c: Rebuilt.
+ * mc-boot/GSysStorage.c: Rebuilt.
+ * mc-boot/Gdecl.c: Rebuilt.
+ * mc-boot/Gkeyc.c: Rebuilt.
+ * mc-boot/GmcComment.c: Rebuilt.
+ * mc-boot/GmcComp.c: Rebuilt.
+ * mc-boot/GmcDebug.c: Rebuilt.
+ * mc-boot/GmcMetaError.c: Rebuilt.
+ * mc-boot/GmcOptions.c: Rebuilt.
+ * mc-boot/GmcOptions.h: Rebuilt.
+ * mc-boot/GmcStack.c: Rebuilt.
+ * mc-boot/GnameKey.c: Rebuilt.
+ * mc-boot/GsymbolKey.c: Rebuilt.
+ * mc/decl.mod:: Rebuilt.
+ * mc/mcOptions.def: Rebuilt.
+ * mc/mcOptions.mod:: Rebuilt.
+ * pge-boot/GDynamicStrings.c: Rebuilt.
+ * pge-boot/GFIO.c: Rebuilt.
+ * pge-boot/GIndexing.c: Rebuilt.
+ * pge-boot/GM2EXCEPTION.c: Rebuilt.
+ * pge-boot/GM2RTS.c: Rebuilt.
+ * pge-boot/GNameKey.c: Rebuilt.
+ * pge-boot/GPushBackInput.c: Rebuilt.
+ * pge-boot/GRTExceptions.c: Rebuilt.
+ * pge-boot/GStdIO.c: Rebuilt.
+ * pge-boot/GSymbolKey.c: Rebuilt.
+ * pge-boot/GSysStorage.c: Rebuilt.
+
2023-02-25 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/108261
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 96fe12cf253..d811c84abe9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,73 @@
+2023-02-28 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/108848
+ * g++.dg/cpp1y/noexcept1.C: Don't expect a bogus "different
+ exception specifier" error. Expect a separate "not usable
+ in a constant expression" error.
+ * g++.dg/cpp1y/var-templ75.C: New test.
+ * g++.dg/cpp1y/var-templ76.C: New test.
+
+2023-02-28 Qing Zhao <qing.zhao@oracle.com>
+
+ PR middle-end/107411
+ PR middle-end/107411
+ * g++.dg/pr107411.C: New test.
+
+2023-02-28 Marek Polacek <polacek@redhat.com>
+
+ PR c++/108550
+ * g++.dg/cpp1y/var-templ70.C: New test.
+ * g++.dg/cpp1y/var-templ71.C: New test.
+ * g++.dg/cpp1y/var-templ72.C: New test.
+
+2023-02-28 Marek Polacek <polacek@redhat.com>
+
+ PR c++/107938
+ * g++.dg/cpp1y/var-templ73.C: New test.
+ * g++.dg/cpp1y/var-templ74.C: New test.
+ * g++.dg/warn/Waddress-of-packed-member3.C: New test.
+
+2023-02-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/108894
+ * gcc.dg/ubsan/bounds-4.c: New test.
+ * gcc.dg/ubsan/bounds-4a.c: New test.
+ * gcc.dg/ubsan/bounds-4b.c: New test.
+ * gcc.dg/ubsan/bounds-4c.c: New test.
+ * gcc.dg/ubsan/bounds-4d.c: New test.
+ * g++.dg/ubsan/bounds-1.C: New test.
+
+2023-02-28 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/108942
+ * gcc.dg/torture/ssa-fre-7.c: Use __SIZETYPE__.
+
+2023-02-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * gcc.dg/plugin/infoleak-vfio_iommu_type1.c: Don't xfail bogus
+ message for "default_packed" targets.
+
+2023-02-28 Hans-Peter Nilsson <hp@axis.com>
+
+ * lib/multiline.exp (handle-multiline-outputs): Shorten
+ message to the same for fail and pass.
+
+2023-02-28 Hans-Peter Nilsson <hp@axis.com>
+
+ PR testsuite/91419
+ * gcc.dg/tree-ssa/pr91091-2.c:15 Remove xfail for RHS.
+
+2023-02-28 Hans-Peter Nilsson <hp@axis.com>
+
+ PR testsuite/79356
+ * gcc.dg/attr-alloc_size-11.c: Add CRIS to the list
+ of targets excluding xfail on lines 50 and 51.
+
+2023-02-28 Hans-Peter Nilsson <hp@axis.com>
+
+ PR tree-optimization/108828
+ * gcc.dg/Wuse-after-free-2.c: Add -fno-ivopts.
+
2023-02-27 Harald Anlauf <anlauf@gmx.de>
PR fortran/108937
diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog
index 90c80fde9bf..0d93b77cfa7 100644
--- a/libcpp/po/ChangeLog
+++ b/libcpp/po/ChangeLog
@@ -1,3 +1,7 @@
+2023-02-28 Joseph Myers <joseph@codesourcery.com>
+
+ * sr.po, sv.po: Update.
+
2023-02-24 Joseph Myers <joseph@codesourcery.com>
* be.po, ca.po, da.po, de.po, el.po, eo.po, es.po, fi.po, fr.po,
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index e3997ebed6d..dbe2bb720a9 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,43 @@
+2023-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * generated/pack_c10.c (pack_c10): Regenerated.
+ * generated/pack_c16.c (pack_c16): Regenerated.
+ * generated/pack_c17.c (pack_c17): Regenerated.
+ * generated/pack_c4.c (pack_c4): Regenerated.
+ * generated/pack_c8.c (pack_c8): Regenerated.
+ * generated/pack_i1.c (pack_i1): Regenerated.
+ * generated/pack_i16.c (pack_i16): Regenerated.
+ * generated/pack_i2.c (pack_i2): Regenerated.
+ * generated/pack_i4.c (pack_i4): Regenerated.
+ * generated/pack_i8.c (pack_i8): Regenerated.
+ * generated/pack_r10.c (pack_r10): Regenerated.
+ * generated/pack_r16.c (pack_r16): Regenerated.
+ * generated/pack_r17.c (pack_r17): Regenerated.
+ * generated/pack_r4.c (pack_r4): Regenerated.
+ * generated/pack_r8.c (pack_r8): Regenerated.
+ * generated/spread_c10.c (spread_c10): Regenerated.
+ * generated/spread_c16.c (spread_c16): Regenerated.
+ * generated/spread_c17.c (spread_c17): Regenerated.
+ * generated/spread_c4.c (spread_c4): Regenerated.
+ * generated/spread_c8.c (spread_c8): Regenerated.
+ * generated/spread_i1.c (spread_i1): Regenerated.
+ * generated/spread_i16.c (spread_i16): Regenerated.
+ * generated/spread_i2.c (spread_i2): Regenerated.
+ * generated/spread_i4.c (spread_i4): Regenerated.
+ * generated/spread_i8.c (spread_i8): Regenerated.
+ * generated/spread_r10.c (spread_r10): Regenerated.
+ * generated/spread_r16.c (spread_r16): Regenerated.
+ * generated/spread_r17.c (spread_r17): Regenerated.
+ * generated/spread_r4.c (spread_r4): Regenerated.
+ * generated/spread_r8.c (spread_r8): Regenerated.
+ * intrinsics/execute_command_line.c (execute_command_line_i4),
+ (execute_command_line_i8): Set estat_initial to zero.
+ * intrinsics/pack_generic.c (pack_internal): Set sstride[0] and
+ mstride[0] to zero.
+ * intrinsics/spread_generic.c (spread_internal): Set sstride[0].
+ * m4/pack.m4: Set sstride[0] and mstride[0].
+ * m4/spread.m4: Set sstride[0].
+
2023-01-18 Tobias Burnus <tobias@codesourcery.com>
* intrinsics/execute_command_line.c (execute_command_line): On
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 782836831ed..f9b099eba2a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,32 @@
+2023-02-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108952
+ * include/bits/uses_allocator_args.h
+ (uses_allocator_construction_args): Implement LWG 3527.
+ * testsuite/20_util/pair/astuple/get-2.cc: New test.
+ * testsuite/20_util/scoped_allocator/108952.cc: New test.
+ * testsuite/20_util/uses_allocator/lwg3527.cc: New test.
+
+2023-02-28 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/108846
+ * include/bits/stl_algobase.h (__copy_move<false, false, RA>)
+ Add __assign_one static member function.
+ (__copy_move<true, false, RA>): Likewise.
+ (__copy_move<IsMove, true, RA>): Do not use memmove for a single
+ value.
+ (__copy_move_backward<IsMove, true, RA>): Likewise.
+ * testsuite/25_algorithms/copy/108846.cc: New test.
+ * testsuite/25_algorithms/copy_backward/108846.cc: New test.
+ * testsuite/25_algorithms/copy_n/108846.cc: New test.
+ * testsuite/25_algorithms/move/108846.cc: New test.
+ * testsuite/25_algorithms/move_backward/108846.cc: New test.
+
+2023-02-28 Jonathan Wakely <jwakely@redhat.com>
+
+ * src/c++11/codecvt.cc: Add [[likely]] and [[unlikely]]
+ attributes.
+
2023-02-27 Jonathan Wakely <jwakely@redhat.com>
* include/bits/basic_ios.h (basic_ios::_M_setstate): Add