]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: fix parsing of omp task affinity iterator clause [PR101330]
authorHarald Anlauf <anlauf@gmx.de>
Wed, 20 Jul 2022 18:40:23 +0000 (20:40 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Wed, 20 Jul 2022 18:40:23 +0000 (20:40 +0200)
commit26bbe78f77f73bb66af1ac13d0deec888a3c6510
tree3f76e1766f5a612d1fcc19397cc86fa96f94fc8f
parentdaa36cfc2fc2538810db071b81d250f4d621f7ea
Fortran: fix parsing of omp task affinity iterator clause [PR101330]

gcc/fortran/ChangeLog:

PR fortran/101330
* openmp.cc (gfc_match_iterator): Remove left-over code from
development that could lead to a crash on invalid input.

gcc/testsuite/ChangeLog:

PR fortran/101330
* gfortran.dg/gomp/affinity-clause-7.f90: New test.
gcc/fortran/openmp.cc
gcc/testsuite/gfortran.dg/gomp/affinity-clause-7.f90 [new file with mode: 0644]