aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-08-18 00:16:43 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-08-18 00:16:43 +0000
commit0342f034adc677aa93e9a4587eb0b1e9dff9eab7 (patch)
treeedbace84f625d5f6c224410b997f8a34b0f53c30 /gcc
parentc352361b5eec003d5f26feaf1ef58a0c55f659ad (diff)
downloadgcc-0342f034adc677aa93e9a4587eb0b1e9dff9eab7.zip
gcc-0342f034adc677aa93e9a4587eb0b1e9dff9eab7.tar.gz
gcc-0342f034adc677aa93e9a4587eb0b1e9dff9eab7.tar.bz2
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog98
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog8
-rw-r--r--gcc/cp/ChangeLog46
-rw-r--r--gcc/fortran/ChangeLog16
-rw-r--r--gcc/testsuite/ChangeLog52
6 files changed, 221 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5786131..e193ffa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,101 @@
+2022-08-17 Roger Sayle <roger@nextmovesoftware.com>
+
+ PR target/106640
+ * config/i386/i386-features.cc
+ (timde_scalar_chain::compute_convert_gain): Replace incorrect use
+ of XINT with INTVAL (XEXP (src, 1)).
+
+2022-08-17 Aldy Hernandez <aldyh@redhat.com>
+
+ * gimple-range-path.cc
+ (path_range_query::compute_ranges_in_block): Remove
+ set_root_oracle call.
+ (path_range_query::compute_ranges): Pass ranger oracle to
+ reset_path.
+ * value-relation.cc (path_oracle::reset_path): Set root oracle.
+ * value-relation.h (path_oracle::reset_path): Add root oracle
+ argument.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/89780
+ * diagnostic-spec.cc (nowarn_spec_t::nowarn_spec_t): Handle
+ OPT_Wpessimizing_move and OPT_Wredundant_move.
+ * diagnostic-spec.h (nowarn_spec_t): Add NW_REDUNDANT enumerator.
+
+2022-08-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/46539
+ * common.opt (static-libquadmath): New option.
+ * gcc.cc (driver_handle_option): Always accept -static-libquadmath.
+ * config/darwin.h (LINK_SPEC): Handle -static-libquadmath.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+
+ * lto-cgraph.cc (input_offload_tables): Improve requires diagnostic
+ when filenames come out identically.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+
+ PR middle-end/106548
+ * omp-low.cc (lower_rec_input_clauses): Use build_outer_var_ref
+ for 'simd' linear-step values that are variable.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/104493
+ * gimplify.cc (omp_notice_variable): Call omp_mappable_type
+ instead of removed langhook.
+ * omp-general.h (omp_mappable_type): New prototype.
+ * omp-general.cc (omp_mappable_type): New; moved from ...
+ * langhooks.cc (lhd_omp_mappable_type): ... here.
+ * langhooks-def.h (lhd_omp_mappable_type,
+ LANG_HOOKS_OMP_MAPPABLE_TYPE): Remove.
+ (LANG_HOOKS_FOR_TYPES_INITIALIZER): Remote the latter.
+ * langhooks.h (struct lang_hooks_for_types): Remove
+ omp_mappable_type.
+
+2022-08-17 Christophe Lyon <christophe.lyon@arm.com>
+
+ * config.gcc (arm): Define with_float to hard if target name ends
+ with 'hf'.
+
+2022-08-17 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-threadbackward.cc
+ (back_threader_profitability): Split profitable_path_p
+ into possibly_profitable_path_p and itself, keep state
+ as new members.
+ (back_threader::m_profit): Remove.
+ (back_threader::find_paths): Likewise.
+ (back_threader::maybe_register_path): Take profitability
+ instance as parameter.
+ (back_threader::find_paths_to_names): Likewise. Use
+ possibly_profitable_path_p and avoid the path range query
+ when the path is currently too large.
+ (back_threader::find_paths): Fold into ...
+ (back_threader::maybe_thread_block): ... this.
+ (get_gimple_control_stmt): Remove.
+ (back_threader_profitability::possibly_profitable_path_p):
+ Split out from profitable_path_p, do early profitability
+ checks.
+ (back_threader_profitability::profitable_path_p): Do final
+ profitability path after the taken edge has been determined.
+
+2022-08-17 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md (fmax<mode>3): New RTL pattern.
+ (fmin<mode>3): Likewise.
+
+2022-08-17 Andrew MacLeod <amacleod@redhat.com>
+
+ * gimple-range-fold.cc (gimple_range_ssa_names): New.
+ * gimple-range-fold.h (gimple_range_ssa_names): New prototype.
+ * gimple-range-gori.cc (range_def_chain::get_def_chain): Move
+ code to new routine.
+
2022-08-16 Martin Liska <mliska@suse.cz>
PR target/106637
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 3016a0c..17147d2 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220817
+20220818
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 985c96c..a57d62f 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,11 @@
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/104493
+ * c-decl.cc (c_decl_attributes, finish_decl): Call omp_mappable_type
+ instead of removed langhook.
+ * c-typeck.cc (c_finish_omp_clauses): Likewise.
+
2022-08-11 Marek Polacek <polacek@redhat.com>
PR middle-end/102633
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8cac94e..63dda6a 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,49 @@
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/90428
+ * typeck.cc (can_do_rvo_p): Rename to ...
+ (can_elide_copy_prvalue_p): ... this.
+ (maybe_warn_pessimizing_move): Extend the
+ -Wredundant-move warning to warn about std::move on a
+ const-qualified object.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/89780
+ * pt.cc (tsubst_copy_and_build) <case CALL_EXPR>: Maybe suppress
+ -Wpessimizing-move.
+ * typeck.cc (maybe_warn_pessimizing_move): Don't issue warnings
+ if they are suppressed.
+ (check_return_expr): Disable -Wpessimizing-move when returning
+ a dependent expression.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/106276
+ * call.cc (build_over_call): Call maybe_warn_pessimizing_move.
+ * cp-tree.h (maybe_warn_pessimizing_move): Declare.
+ * decl.cc (build_aggr_init_full_exprs): Call
+ maybe_warn_pessimizing_move.
+ * typeck.cc (maybe_warn_pessimizing_move): Handle TREE_LIST and
+ CONSTRUCTOR. Add a bool parameter and use it. Adjust a diagnostic
+ message.
+ (check_return_expr): Adjust the call to maybe_warn_pessimizing_move.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/104493
+ * cp-objcp-common.h (LANG_HOOKS_OMP_MAPPABLE_TYPE): Remove.
+ * cp-tree.h (cp_omp_mappable_type, cp_omp_emit_unmappable_type_notes):
+ Remove.
+ * decl2.cc (cp_omp_mappable_type_1, cp_omp_mappable_type,
+ cp_omp_emit_unmappable_type_notes): Remove.
+ (cplus_decl_attributes): Call omp_mappable_type instead of
+ removed langhook.
+ * decl.cc (cp_finish_decl): Likewise; call cxx_incomplete_type_inform
+ in lieu of cp_omp_emit_unmappable_type_notes.
+ * semantics.cc (finish_omp_clauses): Likewise.
+
2022-08-16 Tom Honermann <tom@honermann.net>
PR c++/106423
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index cd7be0f..678059b 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,19 @@
+2022-08-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/46539
+ * lang.opt (static-libquadmath): New option.
+ * invoke.texi (-static-libquadmath): Document it.
+ * options.cc (gfc_handle_option): Error out if -static-libquadmath
+ is passed but we do not support it.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/106566
+ * openmp.cc (gfc_match_omp_clauses): Fix setting linear-step value
+ to 1 when not specified.
+ (gfc_match_omp_declare_simd): Accept module procedures.
+
2022-08-16 Martin Liska <mliska@suse.cz>
* gfortran.texi: Fix link destination to a valid URL.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 855b964..c7c5abb 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,55 @@
+2022-08-17 Maciej W. Rozycki <macro@embecosm.com>
+
+ * gcc.target/riscv/fmax-snan.c: Add `dg-require-effective-target
+ hard_float'.
+ * gcc.target/riscv/fmaxf-snan.c: Likewise.
+ * gcc.target/riscv/fmin-snan.c: Likewise.
+ * gcc.target/riscv/fminf-snan.c: Likewise.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/67906
+ * g++.dg/cpp0x/Wredundant-move11.C: New test.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/90428
+ * g++.dg/cpp0x/Wredundant-move1.C: Adjust dg-warning.
+ * g++.dg/cpp0x/Wredundant-move9.C: Likewise.
+ * g++.dg/cpp0x/Wredundant-move10.C: New test.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/89780
+ * g++.dg/cpp0x/Wpessimizing-move3.C: Remove dg-warning.
+ * g++.dg/cpp0x/Wredundant-move2.C: Likewise.
+ * g++.dg/cpp0x/Wpessimizing-move9.C: New file.
+
+2022-08-17 Marek Polacek <polacek@redhat.com>
+
+ PR c++/106276
+ * g++.dg/cpp0x/Wpessimizing-move7.C: Add dg-warning.
+ * g++.dg/cpp0x/Wpessimizing-move8.C: New test.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+
+ PR fortran/106566
+ * gfortran.dg/gomp/declare-simd-4.f90: New test.
+ * gfortran.dg/gomp/declare-simd-5.f90: New test.
+ * gfortran.dg/gomp/declare-simd-6.f90: New test.
+
+2022-08-17 Tobias Burnus <tobias@codesourcery.com>
+ Chung-Lin Tang <cltang@codesourcery.com>
+
+ PR c++/104493
+ * g++.dg/gomp/unmappable-1.C: Remove dg-error; remove dg-note no
+ longer shown as TYPE_MAIN_DECL is NULL.
+ * c-c++-common/gomp/map-incomplete-type.c: New test.
+
+2022-08-17 Xi Ruoyao <xry111@xry111.site>
+
+ * gcc.target/loongarch/fmax-fmin.c: New test.
+
2022-08-16 Jason Merrill <jason@redhat.com>
* g++.dg/warn/Wstringop-overflow-4.C: Only xfail for C++98.