]> git.ipfire.org Git - thirdparty/gcc.git/commit
gfortran.dg/gomp/depend-6.f90: minor fix + dump update
authorTobias Burnus <tobias@codesourcery.com>
Tue, 30 Aug 2022 17:48:37 +0000 (19:48 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 30 Aug 2022 17:48:37 +0000 (19:48 +0200)
commit2d8aa5cc5d34fa333df2b215a89063e37d483eaf
tree80d7486b204ce67a9ff49a99ee0e465be229eb1d
parent6c1026c26678919796c376720d19fda88e8531e0
gfortran.dg/gomp/depend-6.f90: minor fix + dump update

Contains the minor fix of upstream commit
r13-2152-gf05e3b2c63f3307ba405900f1a80c25b2e87b0a3
to avoid setting the same array element twice, which is:
Exactly the same as previous commit for depend-4.f90, r13-2151.

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'.

The latter is likewise the same as done for depend-4.f90 on the OG12
branch in commit d77133b29fc51de4e0f37de5f6ad2b5496124346-

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