]> git.ipfire.org Git - thirdparty/gcc.git/commit
gfortran.dg/gomp/depend-4.f90: minor fix + dump update
authorTobias Burnus <tobias@codesourcery.com>
Tue, 23 Aug 2022 11:11:16 +0000 (13:11 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 23 Aug 2022 11:11:16 +0000 (13:11 +0200)
commitd77133b29fc51de4e0f37de5f6ad2b5496124346
treec955c0cda6c741f03c55343bd2e9ce671b2b3297
parent9b937ac0e9551b87d2d2d99079e1012492f1a667
gfortran.dg/gomp/depend-4.f90: minor fix + dump update

Contains the minor fix of upstream commit
r13-2151-g6b2a584ed5bed1b851ee7b4668ac705f20cbb2c4
to avoid setting the same array element twice.

Additionally, it updates the expected tree dumps due to differences
between GCC 12/OG12 and mainline (GCC13); the latter seems to
use a restricted pointer of type '&a[1]' while OG12 has pointerplus
expressions like 'a + 4'.

The changes include -m32/-m64 handling for the depobj var and in
two cases, the expected count increases from 1 to 2 for code like
'D.\[0-9\]+ = daa'.

gcc/testsuite/

* gfortran.dg/gomp/depend-4.f90: Update expected tree dumps.
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/gomp/depend-4.f90