diff options
author | Tom de Vries <tdevries@suse.de> | 2018-12-17 21:26:49 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2018-12-17 21:26:49 +0000 |
commit | 207e7fea7b49c52c9075f17d024ecc315f2cf4b4 (patch) | |
tree | dda0290fe2b2db0a1b811f69dde1959ad358da08 /gcc/combine.c | |
parent | ec6c865c6dc342dd6e99842377da5c18706a74ee (diff) | |
download | gcc-207e7fea7b49c52c9075f17d024ecc315f2cf4b4.zip gcc-207e7fea7b49c52c9075f17d024ecc315f2cf4b4.tar.gz gcc-207e7fea7b49c52c9075f17d024ecc315f2cf4b4.tar.bz2 |
[nvptx] Unify C/Fortran routine handling in nvptx_goacc_validate_dims
The Fortran front-end has a bug (PR72741) that means what when
nvptx_goacc_validate_dims is called for a Fortran routine, the dims parameter
is not the same as it would have been if the function would have been called for
an equivalent C routine.
Work around this bug by overriding the dims parameter for routines, allowing the
function to handle routines in Fortran and C the same.
Build and reg-tested on x86_64 with nvptx accelerator.
2018-12-17 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Work around Fortran
bug PR72741 by overriding dims parameter for routines.
From-SVN: r267213
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions