]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix 'OMP_CLAUSE_TILE' operands handling in 'gcc/tree.c:walk_tree_1'
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 27 Aug 2021 05:49:35 +0000 (07:49 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 31 Aug 2021 17:30:26 +0000 (19:30 +0200)
commite6880aa976f962ecf78d20b58f7815b585791647
tree80e3f6075c0485766fec7e3f0545c573ddb4612a
parent374428891ef50912ae1bdab394fc415267079e5c
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)
gcc/tree.c