diff options
author | Julian Brown <julian@codesourcery.com> | 2021-01-29 17:18:07 -0800 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2021-02-04 15:05:50 -0800 |
commit | f743fe231663e32d52db987650d0ec3381a777af (patch) | |
tree | e4f3bc1833f3baf1cddedd8a96eded74f06b8404 /gcc/fortran/openmp.c | |
parent | cff6e8db880b6e262730b1ce9a9cb00c1f5571e2 (diff) | |
download | gcc-f743fe231663e32d52db987650d0ec3381a777af.zip gcc-f743fe231663e32d52db987650d0ec3381a777af.tar.gz gcc-f743fe231663e32d52db987650d0ec3381a777af.tar.bz2 |
openacc: Use class_pointer instead of pointer attribute for class types
Elsewhere in the Fortran front-end, the class_pointer attribute is
used for BT_CLASS entities instead of the pointer attribute. This patch
follows suit for OpenACC. I couldn't actually come up with a test case
where this makes a difference (i.e., where "class_pointer" and "pointer"
have different values at this point in the code), but this may nonetheless
fix a latent bug.
gcc/fortran/
* trans-openmp.c (gfc_trans_omp_clauses): Use class_pointer attribute
for BT_CLASS.
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions