[nvptx] Add asserts in nvptx_goacc_validate_dims
authorTom de Vries <tdevries@suse.de>
Mon, 7 Jan 2019 08:09:58 +0000 (08:09 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Mon, 7 Jan 2019 08:09:58 +0000 (08:09 +0000)
commit21fbea5c338f96a5f291ca8e4bc68a4dfbf6af6d
tree5bf26b86232be0dc752a74d92285949a4eda07f7
parent43493c97a6e8ee3b1e52e3983ac255722cdcfdd4
[nvptx] Add asserts in nvptx_goacc_validate_dims

Add a few asserts to nvptx_goacc_validate_dims.

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

* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Add asserts.

From-SVN: r267625
gcc/ChangeLog
gcc/config/nvptx/nvptx.c