aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog74
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/testsuite/ChangeLog57
-rw-r--r--libstdc++-v3/ChangeLog104
6 files changed, 247 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fa91da5..6404ddd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,77 @@
+2022-12-22 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * doc/md.texi: Move example code remark next to it's code block.
+
+2022-12-22 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * doc/md.texi: Fix inconsistent example name.
+
+2022-12-22 Andrew Carlotti <andrew.carlotti@arm.com>
+
+ * doc/md.texi: Fix incorrect pxref.
+
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ PR bootstrap/106482
+ * doc/install.texi (ISO C++11 Compiler): Document GCC version
+ known to work.
+
+2022-12-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/108166
+ * tree-ssa-phiopt.cc (value_replacement): For the maybe_equal_p
+ case turned into equal_p reset SSA_NAME_RANGE_INFO of phi result.
+
+2022-12-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/108193
+ * cse.cc (compute_const_anchors): Change n type to
+ unsigned HOST_WIDE_INT, adjust comparison against it to avoid
+ warnings. Formatting fix.
+ (insert_const_anchor): Use gen_int_mode instead of GEN_INT.
+
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/107451
+ * tree-vect-stmts.cc (vectorizable_load): Avoid loading
+ SLP group members from group numbers in excess of the
+ vectorization factor.
+
+2022-12-22 Jakub Jelinek <jakub@redhat.com>
+
+ * config/aarch64/t-aarch64 (TM_H): Don't add aarch64-cores.def,
+ add aarch64-fusion-pairs.def, aarch64-tuning-flags.def and
+ aarch64-option-extensions.def.
+ (OPTIONS_H_EXTRA): Don't add aarch64-fusion-pairs.def nor
+ aarch64-tuning-flags.def.
+
+2022-12-22 Jan Hubicka <hubicka@ucw.cz>
+
+ * config/i386/i386-expand.cc (ix86_expand_set_or_cpymem): Add
+ TARGET_AVX512_SPLIT_REGS
+ * config/i386/i386-options.cc (ix86_option_override_internal):
+ Honor x86_TONE_AVOID_256FMA_CHAINS.
+ * config/i386/i386.cc (ix86_vec_cost): Honor TARGET_AVX512_SPLIT_REGS.
+ (ix86_reassociation_width): Likewise.
+ * config/i386/i386.h (TARGET_AVX512_SPLIT_REGS): New tune.
+ * config/i386/x86-tune.def (X86_TUNE_USE_GATHER_2PARTS): Disable
+ for znver4.
+ (X86_TUNE_USE_GATHER_4PARTS): Likewise.
+ (X86_TUNE_AVOID_256FMA_CHAINS): Set for znver4.
+ (X86_TUNE_AVOID_512FMA_CHAINS): New utne; set for znver4.
+ (X86_TUNE_AVX256_OPTIMAL): Add znver4.
+ (X86_TUNE_AVX512_SPLIT_REGS): New tune.
+ (X86_TUNE_AVX256_MOVE_BY_PIECES): Add znver1-3.
+ (X86_TUNE_AVX256_STORE_BY_PIECES): Add znver1-3.
+ (X86_TUNE_AVX512_MOVE_BY_PIECES): Add znver4.
+ (X86_TUNE_AVX512_STORE_BY_PIECES): Add znver4.
+
+2022-12-22 Jan Hubicka <hubicka@ucw.cz>
+
+ * config/i386/x86-tune-costs.h (znver4_cost): Upate costs of FP and SSE
+ moves, division multiplication, gathers, L2 cache size, and more
+ complex FP instrutions.
+
2022-12-21 Andrew Pinski <apinski@marvell.com>
PR tree-optimization/105532
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 4bbb3ed..7a58b9c 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20221222
+20221223
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index f95aa8b..df36cc3 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,10 @@
+2022-12-22 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/69604
+ * match.cc (chk_stmt_fcn_body): New function. Check for invalid uses
+ of statement functions arguments.
+ (gfc_match_st_function): Use above.
+
2022-12-20 Harald Anlauf <anlauf@gmx.de>
PR fortran/95375
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index 23699e9..e88eaee 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ * lto-common.cc (compare_tree_sccs_1): Compare DECL_NOT_FLEXARRAY.
+
2022-12-21 Jan Hubicka <hubicka@ucw.cz>
* lto-common.cc (lto_resolution_read): With incremental linking
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cba33f33..35581c7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,60 @@
+2022-12-22 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/coroutines/coro.h: #include <stdio.h> instead of
+ declaring puts/printf.
+ * g++.dg/coroutines/torture/mid-suspend-destruction-0.C:
+ #include <stdio.h>.
+ * g++.dg/coroutines/pr95599.C: Use PRINT instead of puts.
+ * g++.dg/coroutines/torture/call-00-co-aw-arg.C:
+ * g++.dg/coroutines/torture/call-01-multiple-co-aw.C:
+ * g++.dg/coroutines/torture/call-02-temp-co-aw.C:
+ * g++.dg/coroutines/torture/call-03-temp-ref-co-aw.C:
+ * g++.dg/coroutines/torture/co-await-00-trivial.C:
+ * g++.dg/coroutines/torture/co-await-01-with-value.C:
+ * g++.dg/coroutines/torture/co-await-02-xform.C:
+ * g++.dg/coroutines/torture/co-await-03-rhs-op.C:
+ * g++.dg/coroutines/torture/co-await-04-control-flow.C:
+ * g++.dg/coroutines/torture/co-await-05-loop.C:
+ * g++.dg/coroutines/torture/co-await-06-ovl.C:
+ * g++.dg/coroutines/torture/co-await-07-tmpl.C:
+ * g++.dg/coroutines/torture/co-await-08-cascade.C:
+ * g++.dg/coroutines/torture/co-await-09-pair.C:
+ * g++.dg/coroutines/torture/co-await-11-forwarding.C:
+ * g++.dg/coroutines/torture/co-await-12-operator-2.C:
+ * g++.dg/coroutines/torture/co-await-13-return-ref.C:
+ * g++.dg/coroutines/torture/co-await-14-return-ref-to-auto.C:
+ * g++.dg/coroutines/torture/pr95003.C: Likewise.
+
+2022-12-22 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/69604
+ * gfortran.dg/statement_function_4.f90: New test.
+
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/107809
+ * gcc.dg/vect/vect-recurr-1.c: Require vect_perm.
+ * gcc.dg/vect/vect-recurr-2.c: Likewise.
+ * gcc.dg/vect/vect-recurr-3.c: Likewise.
+ * gcc.dg/vect/vect-recurr-4.c: Likewise.
+ * gcc.dg/vect/vect-recurr-5.c: Likewise.
+ * gcc.dg/vect/vect-recurr-6.c: Likewise.
+
+2022-12-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/108166
+ * g++.dg/torture/pr108166.C: New test.
+
+2022-12-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/108193
+ * gfortran.dg/pr108193.f90: New test.
+
+2022-12-22 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/107451
+ * gcc.dg/torture/pr107451.c: New testcase.
+
2022-12-21 Jonathan Yong <10walls@gmail.com>
* gcc.c-torture/compile/pr55569.c: fix excess errors.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e4fc3a7..6a8f6e0 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,107 @@
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/105730
+ * src/c++11/compatibility-condvar.cc (__nothrow_wait_cv::wait):
+ Access private data member of base class and call its wait
+ member.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/Makefile.am: Add new header.
+ * include/Makefile.in: Regenerate.
+ * include/std/chrono (operator<<): Move to new header.
+ (nonexistent_local_time::_M_make_what_str): Define correctly.
+ (ambiguous_local_time::_M_make_what_str): Likewise.
+ * include/bits/chrono_io.h: New file.
+ * src/c++20/tzdb.cc (operator<<(ostream&, const Rule&)): Use
+ new ostream output for month and weekday types.
+ * testsuite/20_util/duration/io.cc: Test std::format support.
+ * testsuite/std/time/exceptions.cc: Check what() strings.
+ * testsuite/std/time/syn_c++20.cc: Uncomment local_time_format.
+ * testsuite/std/time/time_zone/get_info_local.cc: Enable check
+ for formatted output of local_info objects.
+ * testsuite/std/time/clock/file/io.cc: New test.
+ * testsuite/std/time/clock/gps/io.cc: New test.
+ * testsuite/std/time/clock/system/io.cc: New test.
+ * testsuite/std/time/clock/tai/io.cc: New test.
+ * testsuite/std/time/clock/utc/io.cc: New test.
+ * testsuite/std/time/day/io.cc: New test.
+ * testsuite/std/time/format.cc: New test.
+ * testsuite/std/time/hh_mm_ss/io.cc: New test.
+ * testsuite/std/time/month/io.cc: New test.
+ * testsuite/std/time/weekday/io.cc: New test.
+ * testsuite/std/time/year/io.cc: New test.
+ * testsuite/std/time/year_month_day/io.cc: New test.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/format (__format::__write_padded_as_spec): New
+ function.
+ (__format::__formatter_str, __format::__formatter_int::format)
+ (formatter<const void*, charT>): Use it.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * python/libstdcxx/v6/printers.py (StdChronoDurationPrinter)
+ (StdChronoTimePointPrinter, StdChronoZonedTimePrinter)
+ (StdChronoCalendarPrinter, StdChronoTimeZonePrinter)
+ (StdChronoLeapSecondPrinter, StdChronoTzdbPrinter)
+ (StdChronoTimeZoneRulePrinter): New printers.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * acinclude.m4 (GLIBCXX_ZONEINFO_DIR): New macro.
+ * config.h.in: Regenerate.
+ * config/abi/pre/gnu.ver: Export new symbols.
+ * configure: Regenerate.
+ * configure.ac (GLIBCXX_ZONEINFO_DIR): Use new macro.
+ * include/std/chrono (utc_clock::from_sys): Correct handling
+ of leap seconds.
+ (nonexistent_local_time::_M_make_what_str): Define.
+ (ambiguous_local_time::_M_make_what_str): Define.
+ (__throw_bad_local_time): Define new function.
+ (time_zone, tzdb_list, tzdb): Implement all members.
+ (remote_version, zoned_time, get_leap_second_info): Define.
+ * include/std/version: Add comment for __cpp_lib_chrono.
+ * src/c++20/Makefile.am: Add new file.
+ * src/c++20/Makefile.in: Regenerate.
+ * src/c++20/tzdb.cc: New file.
+ * testsuite/lib/libstdc++.exp: Define effective target tzdb.
+ * testsuite/std/time/clock/file/members.cc: Check file_time
+ alias and file_clock::now() member.
+ * testsuite/std/time/clock/gps/1.cc: Likewise for gps_clock.
+ * testsuite/std/time/clock/tai/1.cc: Likewise for tai_clock.
+ * testsuite/std/time/syn_c++20.cc: Uncomment everything except
+ parse.
+ * testsuite/std/time/clock/utc/leap_second_info.cc: New test.
+ * testsuite/std/time/exceptions.cc: New test.
+ * testsuite/std/time/time_zone/get_info_local.cc: New test.
+ * testsuite/std/time/time_zone/get_info_sys.cc: New test.
+ * testsuite/std/time/time_zone/requirements.cc: New test.
+ * testsuite/std/time/tzdb/1.cc: New test.
+ * testsuite/std/time/tzdb/leap_seconds.cc: New test.
+ * testsuite/std/time/tzdb_list/1.cc: New test.
+ * testsuite/std/time/tzdb_list/requirements.cc: New test.
+ * testsuite/std/time/zoned_time/1.cc: New test.
+ * testsuite/std/time/zoned_time/custom.cc: New test.
+ * testsuite/std/time/zoned_time/deduction.cc: New test.
+ * testsuite/std/time/zoned_time/req_neg.cc: New test.
+ * testsuite/std/time/zoned_time/requirements.cc: New test.
+ * testsuite/std/time/zoned_traits.cc: New test.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/chrono.h (__is_duration_v, __is_time_point_v):
+ New variable templates.
+ (duration_cast): Add simplified definition for noconv case.
+ (treat_as_floating_point_v): Add explicit specializations.
+ (duration::operator%=, floor, ceil, round): Simplify SFINAE
+ constraints.
+
+2022-12-22 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/chrono: Use nodiscard attribute.
+
2022-12-21 Jakub Jelinek <jakub@redhat.com>
* testsuite/20_util/to_chars/float16_c++23.cc (test): Use 3 argument