aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2024-06-21 00:19:22 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2024-06-21 00:19:22 +0000
commitdae4d8ee395fbf0fabacc3dd6df7b1588312203f (patch)
tree9a540f643911ec7bab9897e0b3a9d975800b3509
parenta0b92a530ad61389c0cdeb8d8ece4677e019c28e (diff)
downloadgcc-dae4d8ee395fbf0fabacc3dd6df7b1588312203f.zip
gcc-dae4d8ee395fbf0fabacc3dd6df7b1588312203f.tar.gz
gcc-dae4d8ee395fbf0fabacc3dd6df7b1588312203f.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog219
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog28
-rw-r--r--gcc/c/ChangeLog10
-rw-r--r--gcc/cp/ChangeLog19
-rw-r--r--gcc/testsuite/ChangeLog205
-rw-r--r--libcpp/ChangeLog11
-rw-r--r--libgomp/ChangeLog18
-rw-r--r--libquadmath/ChangeLog11
-rw-r--r--libstdc++-v3/ChangeLog13
10 files changed, 535 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index abd19cc..68cdc62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,222 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR driver/115440
+ * opts-common.c (add_misspelling_candidates): If opt1 is non-NULL,
+ add a space and opt1 to the alternative suggestion text.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/115337
+ * fold-const.c (tree_call_nonnegative_warnv_p) <CASE_CFN_CLZ>:
+ If fn is CFN_CLZ, use CLZ_DEFINED_VALUE_AT.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/108789
+ * builtins.c (fold_builtin_arith_overflow): For ovf_only,
+ don't call save_expr and don't build REALPART_EXPR, otherwise
+ set TREE_SIDE_EFFECTS on call before calling save_expr.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114902
+ PR rtl-optimization/115092
+ * combine.c (simplify_compare_const): Don't optimize
+ GE op0 SIGNED_MIN or LT op0 SIGNED_MIN into NE op0 const0_rtx or
+ EQ op0 const0_rtx.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/114956
+ * tree-inline.c: Include asan.h.
+ (copy_bb): Remove also .ASAN_MARK calls if id->dst_fn has asan/hwasan
+ sanitization disabled.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114876
+ * gimple-ssa-sprintf.c (format_character): For min == 0 && max == 0,
+ set max, likely and unlikely members to 1 rather than 0. Remove
+ useless res.knownrange = true;. Formatting fixes.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/114825
+ * tree-nested.c (get_debug_decl): New function.
+ (get_nonlocal_debug_decl): Use it.
+ (get_local_debug_decl): Likewise.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114768
+ * rtlanal.c (set_noop_p): Don't return true for MEM <- MEM
+ sets if src has side-effects or for stores into ZERO_EXTRACT
+ if ZERO_EXTRACT operand has side-effects.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/114753
+ * internal-fn.c (expand_mul_overflow): Save flag_trapv and
+ temporarily clear it for the duration of the function, then
+ restore previous value.
+ (expand_vector_ubsan_overflow): Likewise.
+ (expand_arith_overflow): Likewise.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114634
+ * attribs.c (diag_attr_exclusions): Set attrs[1] to NULL_TREE for
+ decls with NULL TREE_TYPE.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/110027
+ * asan.c (asan_emit_stack_protection): Assert offsets[0] is
+ zero if there is no stack protect guard, otherwise
+ -ASAN_RED_ZONE_SIZE. If alignb > ASAN_RED_ZONE_SIZE and there is
+ stack pointer guard, take the ASAN_RED_ZONE_SIZE bytes allocated at
+ the top of the stack into account when computing base_align_bias.
+ Recompute use_after_return_class from asan_frame_size + base_align_bias
+ and set to -1 if that would overflow to 11.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114566
+ * tree-vect-loop.c (update_epilogue_loop_vinfo): Don't clear
+ base_misaligned.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114537
+ * fold-const.c (native_encode_initializer): Look through
+ NON_LVALUE_EXPR if val is INTEGER_CST.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * ipa-icf.c (sem_item_optimizer::merge_classes): Reset
+ SSA_NAME_RANGE_INFO and SSA_NAME_PTR_INFO on successfully ICF merged
+ functions.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * config/aarch64/aarch64.c (aarch64_expand_compare_and_swap): For
+ TImode force newval into a register.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/110079
+ * bb-reorder.c (fix_crossing_unconditional_branches): Don't adjust
+ asm goto.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114184
+ * config/i386/i386-expand.c (ix86_expand_move): If XFmode op1
+ is SUBREG of CONSTANT_P, force the SUBREG_REG into memory or
+ register.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/113674
+ * attribs.c (extract_attribute_substring): Remove.
+ (lookup_scoped_attribute_spec): Don't call it.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113603
+ * tree-ssa-strlen.c (strlen_pass::handle_store): After
+ count_nonzero_bytes call refetch si using get_strinfo in case it
+ has been unshared in the meantime.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ * doc/generic.texi (VECTOR_CST): Fix typo - petterns -> patterns.
+ * doc/rtl.texi (CONST_VECTOR): Likewise.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/113122
+ * config/i386/i386.c (x86_function_profiler): Add -masm=intel
+ support. Add missing space after , in emitted assembly in some
+ cases. Formatting fixes.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113372
+ PR middle-end/90348
+ PR middle-end/110115
+ PR middle-end/111422
+ * cfgexpand.c (add_scope_conflicts_2): New function.
+ (add_scope_conflicts_1): Use it.
+
2024-06-12 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Backported from master:
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 9df1831..e778c42 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240620
+20240621
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index ee3e542..f82ac08 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,31 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * c-lex.c (c_common_has_attribute): Parse 2 CPP_COLONs with
+ the first one with COLON_SCOPE flag the same as CPP_SCOPE but
+ ensure 0 is returned then.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/113674
+ * c-lex.c (c_common_has_attribute): Call canonicalize_attr_name.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113262
+ * c-attribs.c (handle_copy_attribute): Don't use
+ DECL_SOURCE_LOCATION (decl) if decl is not DECL_P, use input_location
+ instead. Formatting fixes.
+
2024-05-08 Andrew Pinski <quic_apinski@quicinc.com>
Backported from master:
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index c6a2e86..c2e1f24 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,13 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114493
+ * c-decl.c (c_fixup_may_alias): New function.
+ (finish_struct): Call it if "may_alias" attribute is
+ specified.
+
2023-05-29 Release Manager
* GCC 11.4.0 released.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5f74493..0fbbcf9 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,22 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114691
+ * semantics.c (simplify_loop_decl_cond): Use cp_build_unary_op with
+ TRUTH_NOT_EXPR on ANNOTATE_EXPR argument (if any) rather than
+ ANNOTATE_EXPR itself.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114572
+ * cp-gimplify.c (cxx_omp_clause_apply_fn): Call build_cplus_new
+ on build_call_a result if it has class type.
+
2024-05-24 Jason Merrill <jason@redhat.com>
Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fd5e1cd..b688f48 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,208 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR driver/115440
+ * g++.dg/cpp1z/pr115440.C: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114493
+ * gcc.dg/pr114493-1.c: New test.
+ * gcc.dg/pr114493-2.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-06-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/108789
+ * gcc.c-torture/execute/pr108789.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114902
+ PR rtl-optimization/115092
+ * gcc.dg/pr114902.c: New test.
+ * gcc.dg/pr115092.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-05-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR sanitizer/114956
+ * gcc.dg/asan/pr114956.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114876
+ * gcc.dg/pr114876.c: New test.
+ * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Adjust expected
+ diagnostics.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-25 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/114825
+ * gfortran.dg/gomp/pr114825.f90: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/114768
+ * gcc.dg/pr114768.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/114753
+ * gcc.dg/pr114753.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114634
+ * g++.dg/ext/attrib68.C: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114691
+ * g++.dg/ext/pr114691.C: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/110027
+ * gcc.dg/asan/pr110027.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/114566
+ * gcc.target/i386/avx512f-pr114566.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114537
+ * g++.dg/cpp2a/bit-cast16.C: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * gcc.dg/pr113907-1.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * gcc.dg/pr114310.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/110079
+ * gcc.dg/pr110079.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-03-04 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114184
+ * gcc.target/i386/pr114184.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * gcc.dg/c23-attr-syntax-8.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-12 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/113674
+ * c-c++-common/Wattributes-3.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-30 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113603
+ * gcc.c-torture/compile/pr113603.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/113122
+ * gcc.target/i386/pr113122-1.c: New test.
+ * gcc.target/i386/pr113122-2.c: New test.
+ * gcc.target/i386/pr113122-3.c: New test.
+ * gcc.target/i386/pr113122-4.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/113372
+ PR middle-end/90348
+ PR middle-end/110115
+ PR middle-end/111422
+ * gcc.c-torture/execute/pr90348.c: New test.
+ * gcc.c-torture/execute/pr110115.c: New test.
+ * gcc.c-torture/execute/pr111422.c: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/113262
+ * gcc.dg/pr113262.c: New test.
+
2024-06-12 Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Backported from master:
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 8edf621..f307f5a 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,14 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-02-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/114007
+ * include/cpplib.h (COLON_SCOPE): Define to PURE_ZERO.
+ * lex.c (_cpp_lex_direct): When lexing CPP_COLON with another
+ colon after it, if !CPP_OPTION (pfile, scope) set COLON_SCOPE
+ flag on the first CPP_COLON token.
+
2023-05-29 Release Manager
* GCC 11.4.0 released.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 1c18a92..d40ba28 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,21 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-05 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/114572
+ * testsuite/libgomp.c++/pr114572.C: New test.
+
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-01-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR libgomp/113192
+ * configure.ac (FLOCK): Use $libgomp_abs_srcdir/testsuite/flock
+ instead of \$(abs_top_srcdir)/testsuite/flock.
+ * configure: Regenerated.
+
2023-06-28 Thomas Schwinge <thomas@codesourcery.com>
Backported from master:
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index 8733d23..212a2a9 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,3 +1,14 @@
+2024-06-20 Jakub Jelinek <jakub@redhat.com>
+
+ Backported from master:
+ 2024-04-03 Simon Chopin <simon.chopin@canonical.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR libquadmath/114533
+ * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy to copy
+ __float128 out of args.
+ * printf/printf_fphex.c (__quadmath_printf_fphex): Likewise.
+
2023-05-29 Release Manager
* GCC 11.4.0 released.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 9c539c7..be6b102 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,16 @@
+2024-06-20 Matthias Kretz <m.kretz@gsi.de>
+
+ Backported from master:
+ 2024-06-20 Matthias Kretz <m.kretz@gsi.de>
+
+ PR libstdc++/115454
+ * include/experimental/bits/simd_x86.h (_S_not_equal_to): Use
+ neq comparison instead of bitwise negation after eq.
+ (_S_find_last_set): Clear unused high bits before computing
+ bit_width.
+ * testsuite/experimental/simd/pr115454_find_last_set.cc: New
+ test.
+
2024-06-01 Jonathan Wakely <jwakely@redhat.com>
Backported from master: