diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-12-14 07:03:52 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-12-14 07:17:18 +0100 |
commit | 228d64af4e244faabab5c47506920a1bde85d74e (patch) | |
tree | 1bd61fe7f2852055eecd5ff8434c3fb409ed6000 /gcc/c/c-parser.c | |
parent | 7f1239cb43fad3293cf5bcd3678d1cba128d04c6 (diff) | |
download | gcc-228d64af4e244faabab5c47506920a1bde85d74e.zip gcc-228d64af4e244faabab5c47506920a1bde85d74e.tar.gz gcc-228d64af4e244faabab5c47506920a1bde85d74e.tar.bz2 |
Adjust 'gfortran.dg/goacc/privatization-1-*' [PR103576, PR103697]
... for the recent commit 494ebfa7c9aacaeb6ec1fccc47a0e49f31eb2bb8
"Fortran: Handle compare in OpenMP atomic", which changes the GIMPLE IR
such that a temporary is no longer used; 'original' dump:
x = *a;
- {
- integer(kind=4) D.4237;
-
- D.4237 = *a;
#pragma omp atomic relaxed
- &y = D.4237;
- }
+ &y = *a;
}
(I'm not familiar to comment whether that's correct; but it appears that the
difference again disappears in later compiler passes.)
These OpenACC test cases verify behavior re OpenACC privatization levels, and
have to be adjusted accordingly.
gcc/testsuite/
PR fortran/103576
PR testsuite/103697
* gfortran.dg/goacc/privatization-1-compute-loop.f90: Adjust.
* gfortran.dg/goacc/privatization-1-compute.f90: Likewise.
* gfortran.dg/goacc/privatization-1-routine_gang-loop.f90:
Likewise.
* gfortran.dg/goacc/privatization-1-routine_gang.f90: Likewise.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions