aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog88
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog17
-rw-r--r--gcc/testsuite/ChangeLog131
-rw-r--r--libcpp/ChangeLog23
-rw-r--r--libstdc++-v3/ChangeLog26
7 files changed, 293 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index eadda2a..a7c2fff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,91 @@
+2024-10-02 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116098
+ * tree-ssa-phiopt.cc (move_stmt): Rewrite VCEs from integer to integer
+ types to case.
+
+2024-10-02 Victor Do Nascimento <victor.donascimento@arm.com>
+
+ * tree-if-conv.cc (predicate_statements): Fix handling of
+ predicated function calls.
+
+2024-10-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * config/arm/arm.cc (check_dec_insn): New helper function containing
+ code hoisted from...
+ (arm_mve_dlstp_check_dec_counter): ... here. Use check_dec_insn to
+ check the validity of the candidate dec_insn.
+
+2024-10-02 Filip Kastl <fkastl@suse.cz>
+
+ PR tree-optimization/116616
+ * tree-switch-conversion.cc (can_pow2p): Remove this function.
+ (gen_pow2p): Generate bitmagic instead of a builtin. Remove the
+ TYPE parameter.
+ (switch_conversion::is_exp_index_transform_viable): Don't call
+ can_pow2p.
+ (switch_conversion::exp_index_transform): Call gen_pow2p without
+ the TYPE parameter.
+ * tree-switch-conversion.h: Remove
+ m_exp_index_transform_pow2p_type.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/113197
+ * tree-ssa-structalias.cc (handle_call_arg): Remove bougs
+ assert.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/114855
+ * predict.cc (ssa_expected_value): New global.
+ (expr_expected_value): Do not take bitmap.
+ (expr_expected_value_1): Likewise. Use ssa_expected_value
+ to cache results for a SSA def.
+ (tree_predict_by_opcode): Adjust.
+ (tree_estimate_probability): Manage ssa_expected_value.
+ (tree_guess_outgoing_edge_probabilities): Likewise.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116566
+ * tree-vect-loop.cc (vectorizable_induction): Handle single-lane
+ SLP for VLA vectors.
+
+2024-10-02 Gerald Pfeifer <gerald@pfeifer.com>
+
+ PR target/69374
+ * doc/install.texi (Specific) <h8300-hms>: Drop obsolete
+ reference to binaries download docs.
+
+2024-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/96842
+ * doc/invoke.texi (Wheader-guard): Document.
+
+2024-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ * Makefile.in ($(OPT_URLS_HTML_DEPS)): Add dependencies of the
+ Option-Index.html files on the corresponding index.html files.
+ Don't mention the requirement that all languages that have their own
+ HTML manuals to be enabled.
+
+2024-10-02 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116922
+ * gimple-ssa-backprop.cc (remove_unused_var): Handle phi
+ nodes correctly.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116654
+ * tree-vect-data-refs.cc (vect_supportable_dr_alignment):
+ Treat non-grouped accesses like non-SLP.
+
+2024-10-02 Pan Li <pan2.li@intel.com>
+
+ * match.pd: Add case 2 matching pattern for signed SAT_SUB.
+
2024-10-01 Georg-Johann Lay <avr@gjlay.de>
* config/avr/avr.cc (avr_out_compare): Drop superfluous sub-condition.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index f464e65..aab92d4 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20241002
+20241003
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 789d280..c314d85 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2024-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/96842
+ * c.opt (Wheader-guard): New option.
+ * c.opt.urls: Regenerated.
+ * c-ppoutput.cc (init_pp_output): Initialize also cb->get_suggestion.
+
2024-10-01 Jason Merrill <jason@redhat.com>
* c-cppbuiltin.cc (c_cpp_builtins): Don't define __cpp_concepts
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 0a02eb6..9ffca20 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,20 @@
+2024-10-02 Simon Martin <simon@nasilyan.com>
+
+ PR c++/116722
+ * constexpr.cc (cxx_bind_parameters_in_call): When !ctx->quiet,
+ emit error before bailing out due to a call to {con,de}structor
+ for a class with virtual bases.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * pt.cc (iterative_hash_template_arg): Use iterative_hash_hashval_t
+ to hash TYPE_HASH.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * pt.cc (iterative_hash_template_arg): Avoid using
+ iterative_hash_object.
+
2024-10-01 Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* constraint.cc (diagnose_trait_expr): New diagnostic.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 30f1d5f..693524d 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,134 @@
+2024-10-02 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116098
+ * c-c++-common/torture/pr116098-2.c: New test.
+ * g++.dg/torture/pr116098-1.C: New test.
+
+2024-10-02 Georg-Johann Lay <avr@gjlay.de>
+
+ PR testsuite/52641
+ * gcc.dg/strict-flex-array-3.c (expect) [AVR]: Use custom
+ version due to AVR-LibC limitations.
+ (stuff): Use __SIZEOF_INT__ instead of hard-coded values.
+
+2024-10-02 Georg-Johann Lay <avr@gjlay.de>
+
+ * gcc.dg/pr113596.c: Require less memory so it works on AVR.
+
+2024-10-02 Georg-Johann Lay <avr@gjlay.de>
+
+ PR testsuite/52641
+ * gcc.dg/pr93820-2.c: Add dg-require-effective-target int32.
+
+2024-10-02 Georg-Johann Lay <avr@gjlay.de>
+
+ PR testsuite/52641
+ * gcc.dg/signbit-6.c (main): Initialize a[0] and b[0]
+ with INT32_MIN (instead of with INT_MIN).
+
+2024-10-02 Victor Do Nascimento <victor.donascimento@arm.com>
+
+ * gcc.dg/vect/vect-fncall-mask.c: New.
+
+2024-10-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * gcc.target/arm/mve/dlstp-loop-form.c: New test.
+
+2024-10-02 Filip Kastl <fkastl@suse.cz>
+
+ PR tree-optimization/116616
+ * gcc.target/i386/switch-exp-transform-1.c: Don't test for
+ presence of the POPCOUNT internal fn call.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/slp-12a.c: Adjust.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/slp-19c.c: Adjust expectation.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/vect-double-reduc-5.c: Un-XFAIL everywhere.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/116596
+ * gcc.dg/vect/slp-11a.c: Fix.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/113197
+ * gcc.dg/lto/pr113197_0.c: New testcase.
+ * gcc.dg/lto/pr113197_1.c: Likewise.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/116660
+ * gcc.dg/vect/no-scevccp-outer-12.c: Add vect_pack_trunc.
+ * gcc.dg/vect/vect-multitypes-6.c: Add vect_char_add, remove
+ explicit 32bit sparc XFAIL.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116566
+ * gcc.dg/tree-ssa/reassoc-46.c: When using partial vectors
+ the dump-scan doesn't look for the required .COND_ADD so
+ skip for partial vectors.
+
+2024-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/96842
+ * c-c++-common/cpp/Wheader-guard-1.c: New test.
+ * c-c++-common/cpp/Wheader-guard-1-1.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-2.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-3.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-4.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-5.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-6.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-7.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-8.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-9.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-10.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-11.h: New test.
+ * c-c++-common/cpp/Wheader-guard-1-12.h: New test.
+ * c-c++-common/cpp/Wheader-guard-2.c: New test.
+ * c-c++-common/cpp/Wheader-guard-2.h: New test.
+ * c-c++-common/cpp/Wheader-guard-3.c: New test.
+ * c-c++-common/cpp/Wheader-guard-3.h: New test.
+
+2024-10-02 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR tree-optimization/116922
+ * gcc.dg/torture/pr116922.c: New test.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/pr116905.c: Add float16 options.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/116654
+ * gcc.target/powerpc/p9-vec-length-full-8.c: Adjust.
+
+2024-10-02 Richard Biener <rguenther@suse.de>
+
+ PR testsuite/116654
+ * gcc.dg/vect/costmodel/ppc/costmodel-slp-12.c: Adjust.
+
+2024-10-02 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/sat_arith.h: Add test helper macros.
+ * gcc.target/riscv/sat_s_sub-2-i16.c: New test.
+ * gcc.target/riscv/sat_s_sub-2-i32.c: New test.
+ * gcc.target/riscv/sat_s_sub-2-i64.c: New test.
+ * gcc.target/riscv/sat_s_sub-2-i8.c: New test.
+ * gcc.target/riscv/sat_s_sub-run-2-i16.c: New test.
+ * gcc.target/riscv/sat_s_sub-run-2-i32.c: New test.
+ * gcc.target/riscv/sat_s_sub-run-2-i64.c: New test.
+ * gcc.target/riscv/sat_s_sub-run-2-i8.c: New test.
+
2024-10-01 Thomas Koenig <tkoenig@gcc.gnu.org>
* gfortran.dg/unsigned_34.f90: New test.
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index fb91613..c02b92d 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,26 @@
+2024-10-02 Jakub Jelinek <jakub@redhat.com>
+
+ PR preprocessor/96842
+ * include/cpplib.h (struct cpp_options): Add warn_header_guard member.
+ (enum cpp_warning_reason): Add CPP_W_HEADER_GUARD enumerator.
+ * internal.h (struct cpp_reader): Add mi_def_cmacro, mi_loc and
+ mi_def_loc members.
+ (_cpp_defined_macro_p): Constify type pointed by argument type.
+ Formatting fix.
+ * init.cc (cpp_create_reader): Clear
+ CPP_OPTION (pfile, warn_header_guard).
+ * directives.cc (struct if_stack): Add def_loc and mi_def_cmacro
+ members.
+ (DIRECTIVE_TABLE): Add IF_COND flag to define.
+ (do_define): Set ifs->mi_def_cmacro on a define immediately following
+ #ifndef directive for the guard. Clear pfile->mi_valid. Formatting
+ fix.
+ (do_endif): Copy over pfile->mi_def_cmacro and pfile->mi_def_loc
+ if ifs->mi_def_cmacro is set and pfile->mi_cmacro isn't a defined
+ macro.
+ (push_conditional): Clear mi_def_cmacro and mi_def_loc members.
+ * files.cc (_cpp_pop_file_buffer): Emit -Wheader-guard diagnostics.
+
2024-09-13 Jakub Jelinek <jakub@redhat.com>
* files.cc (finish_embed): Initialize toks to tok rather
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6b2c98b..d7276ff 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,29 @@
+2024-10-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * config/locale/dragonfly/time_members.cc
+ (__timepunct<char>::_M_initialize_timepunc)
+ (__timepunct<wchar_t>::_M_initialize_timepunc): Set
+ _M_date_time_format for C locale. Set %Ex formats to the same
+ values as the %x formats.
+ * config/locale/generic/time_members.cc: Likewise.
+ * config/locale/gnu/time_members.cc: Likewise.
+ * testsuite/22_locale/time_get/get/char/5.cc: New test.
+ * testsuite/22_locale/time_get/get/wchar_t/5.cc: New test.
+
+2024-10-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/chrono_io.h (__detail::__use_floor): New
+ function.
+ (__detail::__round): New function.
+ (from_stream): Use __detail::__round.
+ * testsuite/std/time/clock/file/io.cc: Check for expected
+ rounding in parse.
+ * testsuite/std/time/clock/gps/io.cc: Likewise.
+
+2024-10-02 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/bits/postypes.h: Fix -Wlong-long warning.
+
2024-10-01 Hans-Peter Nilsson <hp@axis.com>
PR libstdc++/116895