aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorKwok Cheung Yeung <kcyeung@baylibre.com>2025-04-16 11:43:00 +0100
committerSandra Loosemore <sloosemore@baylibre.com>2025-05-15 20:25:52 +0000
commit791936457451ad3a2867d02b7ffc743b96b04c42 (patch)
tree8b159f6cc6408d087ec90ed307bfdd6932dd25be /gcc/c
parent12341d4f4a89cf2ebe3f73037b83d33f75baff11 (diff)
downloadgcc-791936457451ad3a2867d02b7ffc743b96b04c42.zip
gcc-791936457451ad3a2867d02b7ffc743b96b04c42.tar.gz
gcc-791936457451ad3a2867d02b7ffc743b96b04c42.tar.bz2
openmp, fortran: Revert to using tree expressions when translating Fortran OpenMP array sections
In the patch 'OpenACC 2.7: Implement reductions for arrays and records', temporaries are used to hold the decl and bias of clauses resulting from array sections, which breaks some assumptions made for map iterator support. This patch reverts the change for OpenMP only. gcc/fortran/ * trans-openmp.cc (gfc_trans_omp_array_section): Use temporaries only when translating OpenACC. gcc/testsuite/ * gfortran.dg/gomp/target-enter-exit-data.f90: Revert expected tree dumps.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions