[Patch 3/5] OpenACC tile clause support, C/C++ front-end parts

Jakub Jelinek jakub@redhat.com
Fri Nov 18 11:23:00 GMT 2016


On Thu, Nov 17, 2016 at 05:34:34PM +0800, Chung-Lin Tang wrote:
> Updated C/C++ front-end patches, adjusted as reviewed.

Jason is right, finish_omp_clauses will verify the tile operands
when !processing_template_decl are non-negative host INTEGER_CSTs,
so can't you just tsubst it like OMP_CLAUSE_COLLAPSE?  If the operand
is not a constant expression, presumably it will not be INTEGER_CST.
On the other side, OMP_CLAUSE_TILE has now 3 operands instead of just 1,
don't you need to do something during instantiation for the other 2
operands?

	Jakub



More information about the Gcc-patches mailing list