Daily bump.

This commit is contained in:
GCC Administrator 2023-11-24 00:17:53 +00:00
parent 7572fa2b58
commit 6fb55db0e1
11 changed files with 412 additions and 1 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -1 +1 @@
20231123
20231124

View File

@ -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".

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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.