aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--contrib/regression/ChangeLog13
-rw-r--r--gcc/ChangeLog162
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog26
-rw-r--r--gcc/c/ChangeLog5
-rw-r--r--gcc/cp/ChangeLog14
-rw-r--r--gcc/fortran/ChangeLog12
-rw-r--r--gcc/testsuite/ChangeLog153
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libstdc++-v3/ChangeLog18
11 files changed, 412 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a9fdc3f..c9a1e91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-23 Nathaniel Shead <nathanieloshead@gmail.com>
+
+ * MAINTAINERS: Add myself to write after approval and DCO
+
2023-11-22 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* libtool.m4: Fix stray call
diff --git a/contrib/regression/ChangeLog b/contrib/regression/ChangeLog
index 27dccac..82abb1f 100644
--- a/contrib/regression/ChangeLog
+++ b/contrib/regression/ChangeLog
@@ -1,3 +1,16 @@
+2023-11-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * btest-gcc.sh (--handle-xpass-as-fail): New option.
+
+2023-11-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * btest-gcc.sh (Option handling): Break out shifts from each
+ option alternative.
+
+2023-11-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * btest-gcc.sh (Option handling): Handle multiple options.
+
2023-02-16 Hans-Peter Nilsson <hp@axis.com>
* objs-gcc.sh: Only bootstrap if source-directory contains gcc.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9709c5f..fa7dbc4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,165 @@
+2023-11-23 Georg-Johann Lay <avr@gjlay.de>
+
+ PR target/86776
+ * config/avr/avr.cc (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define
+ to speculation_safe_value_not_needed.
+
+2023-11-23 Marek Polacek <polacek@redhat.com>
+
+ * common.opt (Whardened, fhardened): New options.
+ * config.in: Regenerate.
+ * config/bpf/bpf.cc: Include "opts.h".
+ (bpf_option_override): If flag_stack_protector_set_by_fhardened_p, do
+ not inform that -fstack-protector does not work.
+ * config/i386/i386-options.cc (ix86_option_override_internal): When
+ -fhardened, maybe enable -fcf-protection=full.
+ * config/linux-protos.h (linux_fortify_source_default_level): Declare.
+ * config/linux.cc (linux_fortify_source_default_level): New.
+ * config/linux.h (TARGET_FORTIFY_SOURCE_DEFAULT_LEVEL): Redefine.
+ * configure: Regenerate.
+ * configure.ac: Check if the linker supports '-z now' and '-z relro'.
+ Check if -fhardened is supported on $target_os.
+ * doc/invoke.texi: Document -fhardened and -Whardened.
+ * doc/tm.texi: Regenerate.
+ * doc/tm.texi.in (TARGET_FORTIFY_SOURCE_DEFAULT_LEVEL): Add.
+ * gcc.cc (driver_handle_option): Remember if any link options or -static
+ were specified on the command line.
+ (process_command): When -fhardened, maybe enable -pie and
+ -Wl,-z,relro,-z,now.
+ * opts.cc (flag_stack_protector_set_by_fhardened_p): New global.
+ (finish_options): When -fhardened, enable
+ -ftrivial-auto-var-init=zero and -fstack-protector-strong.
+ (print_help_hardened): New.
+ (print_help): Call it.
+ * opts.h (flag_stack_protector_set_by_fhardened_p): Declare.
+ * target.def (fortify_source_default_level): New target hook.
+ * targhooks.cc (default_fortify_source_default_level): New.
+ * targhooks.h (default_fortify_source_default_level): Declare.
+ * toplev.cc (process_options): When -fhardened, enable
+ -fstack-clash-protection. If flag_stack_protector_set_by_fhardened_p,
+ do not warn that -fstack-protector not supported for this target.
+ Don't enable -fhardened when !HAVE_FHARDENED_SUPPORT.
+
+2023-11-23 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * config/arm/arm-mve-builtins-functions.h
+ (full_width_access::memory_vector_mode): Add default clause.
+
+2023-11-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/112672
+ * config/i386/i386.md (parityhi2):
+ Use temporary register in the call to gen_parityhi2_cmp.
+
+2023-11-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/89316
+ * config/i386/i386.cc (ix86_expand_split_stack_prologue): Obtain
+ scratch regno when flag_force_indirect_call is set. On 64-bit
+ targets, call __morestack_large_model when flag_force_indirect_call
+ is set and on 32-bit targets with -fpic, manually expand PIC sequence
+ to call __morestack. Move the function address to an indirect
+ call scratch register.
+
+2023-11-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ PR tree-optimization/112678
+ * tree-profile.cc (tree_profiling): Do not use atomic operations
+ for -fprofile-update=single.
+
+2023-11-23 Juergen Christ <jchrist@linux.ibm.com>
+
+ * config/s390/s390-c.cc (s390_cpu_cpp_builtins): Define
+ __GCC_ASM_FLAG_OUTPUTS__.
+ * config/s390/s390.cc (s390_canonicalize_comparison): More
+ UNSPEC_CC_TO_INT cases.
+ (s390_md_asm_adjust): Implement flags output.
+ * config/s390/s390.md (ccstore4): Allow mask operands.
+ * doc/extend.texi: Document flags output.
+
+2023-11-23 Juergen Christ <jchrist@linux.ibm.com>
+
+ * config/s390/s390.md: Split TImode loads.
+
+2023-11-23 Juergen Christ <jchrist@linux.ibm.com>
+
+ * config/s390/vector.md: (*vec_extract) Fix.
+
+2023-11-23 Di Zhao <dizhao@os.amperecomputing.com>
+
+ * tree-ssa-reassoc.cc (get_reassociation_width): check
+ for loop dependent FMAs.
+ (reassociate_bb): For 3 ops, refine the condition to call
+ swap_ops_for_binary_stmt.
+
+2023-11-23 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-protos.h (emit_vec_extract): New function.
+ * config/riscv/riscv-v.cc (emit_vec_extract): Ditto.
+ * config/riscv/riscv.cc (riscv_legitimize_move): Refine codes.
+
+2023-11-23 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ PR target/112599
+ PR target/112670
+ * config/riscv/riscv-avlprop.cc (alv_can_be_propagated_p): New function.
+ (vlmax_ta_p): Disable vrgather AVL propagation.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/112336
+ * expr.cc (EXTEND_BITINT): Don't call reduce_to_bit_field_precision
+ if modifier is EXPAND_INITIALIZER.
+
+2023-11-23 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ * config/riscv/riscv-v.cc (emit_vlmax_gather_insn): Refine codes.
+ (emit_vlmax_masked_gather_mu_insn): Ditto.
+ (modulo_sel_indices): Ditto.
+ (expand_vec_perm): Ditto.
+ (shuffle_generic_patterns): Ditto.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ * doc/extend.texi (__builtin_stdc_bit_ceil, __builtin_stdc_bit_floor,
+ __builtin_stdc_bit_width, __builtin_stdc_count_ones,
+ __builtin_stdc_count_zeros, __builtin_stdc_first_leading_one,
+ __builtin_stdc_first_leading_zero, __builtin_stdc_first_trailing_one,
+ __builtin_stdc_first_trailing_zero, __builtin_stdc_has_single_bit,
+ __builtin_stdc_leading_ones, __builtin_stdc_leading_zeros,
+ __builtin_stdc_trailing_ones, __builtin_stdc_trailing_zeros): Document.
+
+2023-11-23 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/32667
+ * doc/md.texi (cpymem): Document that exact overlap of source
+ and destination needs to work.
+ * doc/standards.texi (ffreestanding): Mention memcpy is required
+ to handle the exact overlap case.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110348
+ * doc/invoke.texi (-Wno-c++26-extensions): Document.
+
+2023-11-23 Manolis Tsamis <manolis.tsamis@vrull.eu>
+
+ * ifcvt.cc (noce_convert_multiple_sets_1): Remove old code.
+
+2023-11-23 Pan Li <pan2.li@intel.com>
+
+ PR target/111720
+ * dse.cc (get_stored_val): Allow vector mode if read size is
+ less than or equal to stored size.
+
+2023-11-23 Costas Argyris <costas.argyris@gmail.com>
+
+ * configure.ac: Handle new --enable-win32-utf8-manifest
+ option.
+ * config.host: allow win32 utf8 manifest to be disabled
+ by user.
+ * configure: Regenerate.
+
2023-11-22 John David Anglin <danglin@gcc.gnu.org>
PR target/112592
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 99cbe76..0222a31 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20231123
+20231124
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index b9fbc4d..69459fd 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,29 @@
+2023-11-23 Marek Polacek <polacek@redhat.com>
+
+ * c-opts.cc: Include "target.h".
+ (c_finish_options): Maybe cpp_define _FORTIFY_SOURCE
+ and _GLIBCXX_ASSERTIONS.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ * c-common.h (enum rid): Add RID_BUILTIN_STDC: New.
+ * c-common.cc (c_common_reswords): Add __builtin_stdc_bit_ceil,
+ __builtin_stdc_bit_floor, __builtin_stdc_bit_width,
+ __builtin_stdc_count_ones, __builtin_stdc_count_zeros,
+ __builtin_stdc_first_leading_one, __builtin_stdc_first_leading_zero,
+ __builtin_stdc_first_trailing_one, __builtin_stdc_first_trailing_zero,
+ __builtin_stdc_has_single_bit, __builtin_stdc_leading_ones,
+ __builtin_stdc_leading_zeros, __builtin_stdc_trailing_ones and
+ __builtin_stdc_trailing_zeros. Move __builtin_assoc_barrier
+ alphabetically earlier.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110348
+ * c.opt (Wc++26-extensions): New option.
+ * c-cppbuiltin.cc (c_cpp_builtins): For C++26 predefine
+ __cpp_static_assert to 202306L rather than 201411L.
+
2023-11-19 David Malcolm <dmalcolm@redhat.com>
* c-lex.cc: Include "rich-location.h".
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 64fd993..139e838 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,8 @@
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ * c-parser.cc (c_parser_postfix_expression): Handle RID_BUILTIN_STDC.
+ * c-decl.cc (names_builtin_p): Likewise.
+
2023-11-14 Jakub Jelinek <jakub@redhat.com>
PR c/111309
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ac193f7..e51f828 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,17 @@
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110348
+ * parser.cc: Implement C++26 P2741R3 - user-generated static_assert
+ messages.
+ (cp_parser_static_assert): Parse message argument as
+ conditional-expression if it is not a pure string literal or
+ several of them concatenated followed by closing paren.
+ * semantics.cc (finish_static_assert): Handle message which is not
+ STRING_CST. For condition with bare parameter packs return early.
+ * pt.cc (tsubst_expr) <case STATIC_ASSERT>: Also tsubst_expr
+ message and make sure that if it wasn't originally STRING_CST, it
+ isn't after tsubst_expr either.
+
2023-11-22 Patrick Palka <ppalka@redhat.com>
PR c++/112633
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 686c771..c5ce037 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,15 @@
+2023-11-23 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/112609
+ * check.cc (gfc_check_system_clock): Add checks on integer arguments
+ to SYSTEM_CLOCK specific to F2023.
+ * error.cc (notify_std_msg): Adjust to handle new features added
+ in F2023.
+ * gfortran.texi (_gfortran_set_options): Document GFC_STD_F2023_DEL,
+ remove obsolete option GFC_STD_F2008_TS and fix enumeration values.
+ * libgfortran.h (GFC_STD_F2023_DEL): Add and use in GFC_STD_OPT_F23.
+ * options.cc (set_default_std_flags): Add GFC_STD_F2023_DEL.
+
2023-11-17 Tobias Burnus <tobias@codesourcery.com>
* gfortran.texi (_gfortran_set_options): Document GFC_STD_F2023.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e724758..3020706 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,156 @@
+2023-11-23 John David Anglin <danglin@gcc.gnu.org>
+
+ * g++.dg/modules/bad-mapper-1.C: Add hppa*-*-hpux* to dg-error
+ "-:failed mapper handshake communication" targets.
+
+2023-11-23 John David Anglin <danglin@gcc.gnu.org>
+
+ * gcc.dg/analyzer/fd-4.c: Define _MODE_T on hpux.
+
+2023-11-23 John David Anglin <danglin@gcc.gnu.org>
+
+ * g++.dg/pr104869.C: Export main on hpux.
+
+2023-11-23 Iain Sandoe <iain@sandoe.co.uk>
+
+ * lib/scanasm.exp: Allow multiple function start symbols,
+ taking the last as the function name.
+
+2023-11-23 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/104819
+ * gfortran.dg/assumed_rank_10.f90: Add MOLD argument to NULL().
+ * gfortran.dg/assumed_rank_8.f90: Likewise.
+
+2023-11-23 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/112609
+ * gfortran.dg/system_clock_1.f90: Add option -std=f2003.
+ * gfortran.dg/system_clock_3.f08: Add option -std=f2008.
+ * gfortran.dg/system_clock_4.f90: New test.
+
+2023-11-23 John David Anglin <danglin@gcc.gnu.org>
+
+ * g++.dg/cpp0x/initlist-const1.C: xfail scan-assembler-not
+ check on hppa*-*-hpux*.
+
+2023-11-23 John David Anglin <danglin@gcc.gnu.org>
+
+ * c-c++-common/Wattributes.c: Don't skip check for warning
+ at line 411 in Wattributes.c on hppa*64*-*-*.
+
+2023-11-23 Marek Polacek <polacek@redhat.com>
+
+ * gcc.misc-tests/help.exp: Test -fhardened.
+ * c-c++-common/fhardened-1.S: New test.
+ * c-c++-common/fhardened-1.c: New test.
+ * c-c++-common/fhardened-10.c: New test.
+ * c-c++-common/fhardened-11.c: New test.
+ * c-c++-common/fhardened-12.c: New test.
+ * c-c++-common/fhardened-13.c: New test.
+ * c-c++-common/fhardened-14.c: New test.
+ * c-c++-common/fhardened-15.c: New test.
+ * c-c++-common/fhardened-2.c: New test.
+ * c-c++-common/fhardened-3.c: New test.
+ * c-c++-common/fhardened-4.c: New test.
+ * c-c++-common/fhardened-5.c: New test.
+ * c-c++-common/fhardened-6.c: New test.
+ * c-c++-common/fhardened-7.c: New test.
+ * c-c++-common/fhardened-8.c: New test.
+ * c-c++-common/fhardened-9.c: New test.
+ * gcc.target/i386/cf_check-6.c: New test.
+
+2023-11-23 Maciej W. Rozycki <macro@embecosm.com>
+
+ * lib/scanasm.exp (scan-assembler-times): Remove the `-inline'
+ option to `regexp' and the wrapping `llength' call.
+
+2023-11-23 Maciej W. Rozycki <macro@embecosm.com>
+
+ * gcc.target/aarch64/ccmp_1.c: Use non-capturing parentheses
+ with `scan-assembler-times'.
+
+2023-11-23 Maciej W. Rozycki <macro@embecosm.com>
+
+ * gcc.target/arm/pr53447-5.c: Use non-capturing parentheses with
+ `scan-assembler-times'.
+
+2023-11-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/112672
+ * gcc.target/i386/pr112672.c: New test.
+
+2023-11-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/89316
+ * g++.target/i386/pr89316.C: New test.
+ * gcc.target/i386/pr112605-1.c: New test.
+ * gcc.target/i386/pr112605-2.c: New test.
+ * gcc.target/i386/pr112605.c: New test.
+
+2023-11-23 Juergen Christ <jchrist@linux.ibm.com>
+
+ * gcc.target/s390/ccor.c: New test.
+
+2023-11-23 Juergen Christ <jchrist@linux.ibm.com>
+
+ * gcc.target/s390/int128load.c: New test.
+
+2023-11-23 Di Zhao <dizhao@os.amperecomputing.com>
+
+ * gcc.dg/pr110279-1.c: New test.
+
+2023-11-23 Juzhe-Zhong <juzhe.zhong@rivai.ai>
+
+ PR target/112599
+ PR target/112670
+ * gcc.target/riscv/rvv/autovec/pr112599-1.c: New test.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/112336
+ * gcc.dg/bitint-41.c: New test.
+
+2023-11-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/110879
+ * g++.dg/opt/pr110879.C: Require C++11 or later.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.dg/builtin-stdc-bit-1.c: New test.
+ * gcc.dg/builtin-stdc-bit-2.c: New test.
+
+2023-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110348
+ * g++.dg/cpp26/static_assert1.C: New test.
+ * g++.dg/cpp26/feat-cxx26.C (__cpp_static_assert): Expect
+ 202306L rather than 201411L.
+ * g++.dg/cpp0x/udlit-error1.C: Expect different diagnostics for
+ static_assert with user-defined literal.
+
+2023-11-23 Pan Li <pan2.li@intel.com>
+
+ PR target/111720
+ * gcc.target/riscv/rvv/base/pr111720-0.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-1.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-10.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-2.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-3.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-4.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-5.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-6.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-7.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-8.c: New test.
+ * gcc.target/riscv/rvv/base/pr111720-9.c: New test.
+
+2023-11-23 Hans-Peter Nilsson <hp@axis.com>
+
+ PR testsuite/106120
+ * g++.dg/warn/Wstringop-overflow-4.C:144 XFAIL bogus warning for
+ lp64 targets with c++98.
+
2023-11-22 Patrick Palka <ppalka@redhat.com>
PR c++/112633
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index b32fcd2..61d45d2 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
+
2023-11-21 Jakub Jelinek <jakub@redhat.com>
* libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 5c5ec50..466aa5e 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,21 @@
+2023-11-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/111055
+ * include/bits/ranges_base.h (from_range_t): Define new tag
+ type.
+ (from_range): Define new tag object.
+ * include/bits/version.def (ranges_to_container): Define.
+ * include/bits/version.h: Regenerate.
+ * include/std/ranges (ranges::to): Define.
+ * testsuite/std/ranges/conv/1.cc: New test.
+ * testsuite/std/ranges/conv/2_neg.cc: New test.
+ * testsuite/std/ranges/conv/version.cc: New test.
+
+2023-11-23 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/util/testsuite_allocator.h (uneq_allocator): Fix
+ equality operator for heterogeneous comparisons.
+
2023-11-21 Jonathan Wakely <jwakely@redhat.com>
* include/bits/version.def (freestanding_cstring): Add.