public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r9-9702] Fix 'OMP_CLAUSE_TILE' operands handling in 'gcc/tree.c:walk_tree_1'
@ 2021-08-31 17:32 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2021-08-31 17:32 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1514a668b96a9b66539646ec3d2a6ef9c6f39fb2
commit r9-9702-g1514a668b96a9b66539646ec3d2a6ef9c6f39fb2
Author: Thomas Schwinge <thomas@codesourcery.com>
Date: Fri Aug 27 07:49:35 2021 +0200
Fix 'OMP_CLAUSE_TILE' operands handling in 'gcc/tree.c:walk_tree_1'
In r245300 (commit 02889d23ee3b02854dff203dd87b9a25e30b61b4)
"OpenACC tile clause support" that one had changed to three operands,
similar to 'OMP_CLAUSE_COLLAPSE'.
There is no (existing) test case where this seems to matter (likewise
for 'OMP_CLAUSE_COLLAPSE'), but it's good to be consistent.
gcc/
* tree.c (walk_tree_1) <OMP_CLAUSE_TILE>: Handle three operands.
(cherry picked from commit 92dc5d844a2088db79bc4521be3ecb4e2f284444)
Diff:
---
gcc/tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/tree.c b/gcc/tree.c
index be311754393..99f4318306a 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -12340,7 +12340,6 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data,
case OMP_CLAUSE_DEFAULTMAP:
case OMP_CLAUSE_AUTO:
case OMP_CLAUSE_SEQ:
- case OMP_CLAUSE_TILE:
case OMP_CLAUSE__SIMT_:
case OMP_CLAUSE_IF_PRESENT:
case OMP_CLAUSE_FINALIZE:
@@ -12352,6 +12351,7 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data,
WALK_SUBTREE_TAIL (OMP_CLAUSE_CHAIN (*tp));
case OMP_CLAUSE_COLLAPSE:
+ case OMP_CLAUSE_TILE:
{
int i;
for (i = 0; i < 3; i++)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-31 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 17:32 [gcc r9-9702] Fix 'OMP_CLAUSE_TILE' operands handling in 'gcc/tree.c:walk_tree_1' Thomas Schwinge
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).