r267555 - in /trunk/gcc: ChangeLog config/nvptx...

vries@gcc.gnu.org vries@gcc.gnu.org
Thu Jan 3 15:08:00 GMT 2019


Author: vries
Date: Thu Jan  3 15:08:06 2019
New Revision: 267555

URL: https://gcc.gnu.org/viewcvs?rev=267555&root=gcc&view=rev
Log:
[nvptx] Eliminate changed local var in nvptx_goacc_validate_dims

The TARGET_GOACC_VALIDATE_DIMS hook requires an implementation to return a bool
indicating whether the dims parameter has changed.

Factor nvptx_goacc_validate_dims_1 out of nvptx_goacc_validate_dims, and
calculate the return value in nvptx_goacc_validate_dims.

2019-01-03  Tom de Vries  <tdevries@suse.de>

	* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): New function,
	factored out of ...
	(nvptx_goacc_validate_dims): ... here.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nvptx/nvptx.c



More information about the Gcc-cvs mailing list