public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-2392] Daily bump.
@ 2022-09-04  0:17 GCC Administrator
  0 siblings, 0 replies; only message in thread
From: GCC Administrator @ 2022-09-04  0:17 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:83f2f22850a647bcf1e7cd155fb2ed67f23fc4b3

commit r13-2392-g83f2f22850a647bcf1e7cd155fb2ed67f23fc4b3
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Sun Sep 4 00:16:49 2022 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           | 70 +++++++++++++++++++++++++++++++++++++++++++++++++
 gcc/DATESTAMP           |  2 +-
 gcc/c-family/ChangeLog  |  7 +++++
 gcc/c/ChangeLog         | 27 +++++++++++++++++++
 gcc/cp/ChangeLog        | 35 +++++++++++++++++++++++++
 gcc/fortran/ChangeLog   | 14 ++++++++++
 gcc/testsuite/ChangeLog | 19 ++++++++++++++
 7 files changed, 173 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ca2daf31c0b..4213860a856 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,73 @@
+2022-09-03  Aldy Hernandez  <aldyh@redhat.com>
+
+	* value-range.cc (frange::singleton_p): Move NAN check to the top.
+
+2022-09-03  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+	* config/nvptx/nvptx.h (ASM_OUTPUT_DEF): Reference macro arguments.
+
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_DOACROSS.
+	(enum omp_clause_depend_kind): Remove OMP_CLAUSE_DEPEND_SOURCE
+	and OMP_CLAUSE_DEPEND_SINK, add OMP_CLAUSE_DEPEND_INVALID.
+	(enum omp_clause_doacross_kind): New type.
+	(struct tree_omp_clause): Add subcode.doacross_kind member.
+	* tree.h (OMP_CLAUSE_DEPEND_SINK_NEGATIVE): Remove.
+	(OMP_CLAUSE_DOACROSS_KIND): Define.
+	(OMP_CLAUSE_DOACROSS_SINK_NEGATIVE): Define.
+	(OMP_CLAUSE_DOACROSS_DEPEND): Define.
+	(OMP_CLAUSE_ORDERED_DOACROSS): Define.
+	* tree.cc (omp_clause_num_ops, omp_clause_code_name): Add
+	OMP_CLAUSE_DOACROSS entries.
+	* tree-nested.cc (convert_nonlocal_omp_clauses,
+	convert_local_omp_clauses): Handle OMP_CLAUSE_DOACROSS.
+	* tree-pretty-print.cc (dump_omp_clause): Don't handle
+	OMP_CLAUSE_DEPEND_SOURCE and OMP_CLAUSE_DEPEND_SINK.  Handle
+	OMP_CLAUSE_DOACROSS.
+	* gimplify.cc (gimplify_omp_depend): Don't handle
+	OMP_CLAUSE_DEPEND_SOURCE and OMP_CLAUSE_DEPEND_SINK.
+	(gimplify_scan_omp_clauses): Likewise.  Handle OMP_CLAUSE_DOACROSS.
+	(gimplify_adjust_omp_clauses): Handle OMP_CLAUSE_DOACROSS.
+	(find_standalone_omp_ordered): New function.
+	(gimplify_omp_for): When OMP_CLAUSE_ORDERED is present, search
+	body for OMP_ORDERED with OMP_CLAUSE_DOACROSS and if found,
+	set OMP_CLAUSE_ORDERED_DOACROSS.
+	(gimplify_omp_ordered): Don't handle OMP_CLAUSE_DEPEND_SINK or
+	OMP_CLAUSE_DEPEND_SOURCE, instead check OMP_CLAUSE_DOACROSS, adjust
+	diagnostics that presence or absence of ordered clause parameter
+	is irrelevant.  Handle doacross(sink:omp_cur_iteration-1).  Use
+	actual user name of the clause - doacross or depend - in diagnostics.
+	* omp-general.cc (omp_extract_for_data): Don't set fd->ordered
+	if !OMP_CLAUSE_ORDERED_DOACROSS (t).  If
+	OMP_CLAUSE_ORDERED_DOACROSS (t) but !OMP_CLAUSE_ORDERED_EXPR (t),
+	set fd->ordered to -1 and set it after the loop in that case to
+	fd->collapse.
+	* omp-low.cc (check_omp_nesting_restrictions): Don't handle
+	OMP_CLAUSE_DEPEND_SOURCE nor OMP_CLAUSE_DEPEND_SINK, instead check
+	OMP_CLAUSE_DOACROSS.  Use actual user name of the clause - doacross
+	or depend - in diagnostics.  Diagnose mixing of stand-alone and
+	block associated ordered constructs binding to the same loop.
+	(lower_omp_ordered_clauses): Don't handle OMP_CLAUSE_DEPEND_SINK,
+	instead handle OMP_CLAUSE_DOACROSS.
+	(lower_omp_ordered): Look for OMP_CLAUSE_DOACROSS instead of
+	OMP_CLAUSE_DEPEND.
+	(lower_depend_clauses): Don't handle OMP_CLAUSE_DEPEND_SOURCE and
+	OMP_CLAUSE_DEPEND_SINK.
+	* omp-expand.cc (expand_omp_ordered_sink): Emit a sorry for
+	doacross(sink:omp_cur_iteration-1).
+	(expand_omp_ordered_source_sink): Use
+	OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
+	OMP_CLAUSE_DEPEND_SINK_NEGATIVE.  Use actual user name of the clause
+	- doacross or depend - in diagnostics.
+	(expand_omp): Look for OMP_CLAUSE_DOACROSS clause instead of
+	OMP_CLAUSE_DEPEND.
+	(build_omp_regions_1): Likewise.
+	(omp_make_gimple_edges): Likewise.
+	* lto-streamer-out.cc (hash_tree): Handle OMP_CLAUSE_DOACROSS.
+	* tree-streamer-in.cc (unpack_ts_omp_clause_value_fields): Likewise.
+	* tree-streamer-out.cc (pack_ts_omp_clause_value_fields): Likewise.
+
 2022-09-02  David Malcolm  <dmalcolm@redhat.com>
 
 	PR c/90885
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index e15744dd99e..999da9a9e8d 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220903
+20220904
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 360586e3fbf..3fcf73ba2c4 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,10 @@
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_DOACROSS.
+	* c-omp.cc (c_finish_omp_depobj): Check also for OMP_CLAUSE_DOACROSS
+	clause and diagnose it.  Don't handle OMP_CLAUSE_DEPEND_SOURCE and
+	OMP_CLAUSE_DEPEND_SINK.  Assert kind is not OMP_CLAUSE_DEPEND_INVALID.
+
 2022-09-02  David Malcolm  <dmalcolm@redhat.com>
 
 	PR c/90885
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index fb3f97059b4..a97faa68a77 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,30 @@
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* c-parser.cc (c_parser_omp_clause_name): Handle doacross.
+	(c_parser_omp_clause_depend_sink): Renamed to ...
+	(c_parser_omp_clause_doacross_sink): ... this.  Add depend_p argument.
+	Handle parsing of doacross(sink:omp_cur_iteration-1).  Use
+	OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
+	OMP_CLAUSE_DEPEND_SINK_NEGATIVE, build OMP_CLAUSE_DOACROSS instead
+	of OMP_CLAUSE_DEPEND and set OMP_CLAUSE_DOACROSS_DEPEND flag on it.
+	(c_parser_omp_clause_depend): Use OMP_CLAUSE_DOACROSS_SINK and
+	OMP_CLAUSE_DOACROSS_SOURCE instead of OMP_CLAUSE_DEPEND_SINK and
+	OMP_CLAUSE_DEPEND_SOURCE, build OMP_CLAUSE_DOACROSS for depend(source)
+	and set OMP_CLAUSE_DOACROSS_DEPEND on it.
+	(c_parser_omp_clause_doacross): New function.
+	(c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_DOACROSS.
+	(c_parser_omp_depobj): Use OMP_CLAUSE_DEPEND_INVALID instead of
+	OMP_CLAUSE_DEPEND_SOURCE.
+	(c_parser_omp_for_loop): Don't diagnose here linear clause together
+	with ordered with argument.
+	(c_parser_omp_simd): Don't diagnose ordered clause with argument on
+	for simd.
+	(OMP_ORDERED_DEPEND_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_DOACROSS.
+	(c_parser_omp_ordered): Handle also doacross and adjust for it
+	diagnostic wording.
+	* c-typeck.cc (c_finish_omp_clauses): Handle OMP_CLAUSE_DOACROSS.
+	Don't handle OMP_CLAUSE_DEPEND_SOURCE and OMP_CLAUSE_DEPEND_SINK.
+
 2022-09-02  David Malcolm  <dmalcolm@redhat.com>
 
 	PR c/90885
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3d2cd755fc2..a11675ee50f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,38 @@
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* parser.cc (cp_parser_omp_clause_name): Handle doacross.
+	(cp_parser_omp_clause_depend_sink): Renamed to ...
+	(cp_parser_omp_clause_doacross_sink): ... this.  Add depend_p
+	argument.  Handle parsing of doacross(sink:omp_cur_iteration-1).  Use
+	OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
+	OMP_CLAUSE_DEPEND_SINK_NEGATIVE, build OMP_CLAUSE_DOACROSS instead
+	of OMP_CLAUSE_DEPEND and set OMP_CLAUSE_DOACROSS_DEPEND flag on it.
+	(cp_parser_omp_clause_depend): Use OMP_CLAUSE_DOACROSS_SINK and
+	OMP_CLAUSE_DOACROSS_SOURCE instead of OMP_CLAUSE_DEPEND_SINK and
+	OMP_CLAUSE_DEPEND_SOURCE, build OMP_CLAUSE_DOACROSS for depend(source)
+	and set OMP_CLAUSE_DOACROSS_DEPEND on it.
+	(cp_parser_omp_clause_doacross): New function.
+	(cp_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_DOACROSS.
+	(cp_parser_omp_depobj): Use OMP_CLAUSE_DEPEND_INVALID instead of
+	OMP_CLAUSE_DEPEND_SOURCE.
+	(cp_parser_omp_for_loop): Don't diagnose here linear clause together
+	with ordered with argument.
+	(cp_parser_omp_simd): Don't diagnose ordered clause with argument on
+	for simd.
+	(OMP_ORDERED_DEPEND_CLAUSE_MASK): Add PRAGMA_OMP_CLAUSE_DOACROSS.
+	(cp_parser_omp_ordered): Handle also doacross and adjust for it
+	diagnostic wording.
+	* pt.cc (tsubst_omp_clause_decl): Use
+	OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
+	OMP_CLAUSE_DEPEND_SINK_NEGATIVE.
+	(tsubst_omp_clauses): Handle OMP_CLAUSE_DOACROSS.
+	(tsubst_expr): Use OMP_CLAUSE_DEPEND_INVALID instead of
+	OMP_CLAUSE_DEPEND_SOURCE.
+	* semantics.cc (cp_finish_omp_clause_depend_sink): Rename to ...
+	(cp_finish_omp_clause_doacross_sink): ... this.
+	(finish_omp_clauses): Handle OMP_CLAUSE_DOACROSS.  Don't handle
+	OMP_CLAUSE_DEPEND_SOURCE and OMP_CLAUSE_DEPEND_SINK.
+
 2022-09-02  David Malcolm  <dmalcolm@redhat.com>
 
 	PR c/90885
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 8baf15a19cb..14d5a671b2b 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,17 @@
+2022-09-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
+
+	PR fortran/100245
+	* trans-expr.cc (trans_class_assignment): Add if clause to handle
+	derived type in the LHS.
+
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* trans-openmp.cc (gfc_trans_omp_clauses): Use
+	OMP_CLAUSE_DOACROSS_SINK_NEGATIVE instead of
+	OMP_CLAUSE_DEPEND_SINK_NEGATIVE, build OMP_CLAUSE_DOACROSS
+	clause instead of OMP_CLAUSE_DEPEND and set OMP_CLAUSE_DOACROSS_DEPEND
+	on it.
+
 2022-09-02  Harald Anlauf  <anlauf@gmx.de>
 	    Steven G. Kargl  <kargl@gcc.gnu.org>
 
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 96808a48f18..209b507099e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,22 @@
+2022-09-03  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
+
+	PR fortran/100245
+	* gfortran.dg/PR100245.f90: New test.
+
+2022-09-03  Aldy Hernandez  <aldyh@redhat.com>
+
+	* gcc.dg/tree-ssa/pr106819.c: New test.
+
+2022-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* c-c++-common/gomp/doacross-2.c: Adjust expected diagnostics.
+	* c-c++-common/gomp/doacross-5.c: New test.
+	* c-c++-common/gomp/doacross-6.c: New test.
+	* c-c++-common/gomp/nesting-2.c: Adjust expected diagnostics.
+	* c-c++-common/gomp/ordered-3.c: Likewise.
+	* c-c++-common/gomp/sink-3.c: Likewise.
+	* gfortran.dg/gomp/nesting-2.f90: Likewise.
+
 2022-09-02  David Malcolm  <dmalcolm@redhat.com>
 
 	PR c/90885

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-04  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04  0:17 [gcc r13-2392] Daily bump GCC Administrator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).