re PR fortran/44847 (ICE: OpenMP with Collapse clause and CYCLE stmt in loop)
authorJakub Jelinek <jakub@redhat.com>
Thu, 8 Jul 2010 17:30:41 +0000 (19:30 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 8 Jul 2010 17:30:41 +0000 (19:30 +0200)
commit84fa59a70c92640f54ef1eb143baf8653309b302
tree895fe9745b208895dd570c4684446e8536a6eb42
parent09411461d2e1d7dfcc3aed713bddc68e34ba223d
re PR fortran/44847 (ICE: OpenMP with Collapse clause and CYCLE stmt in loop)

PR fortran/44847
* match.c (match_exit_cycle): Error on EXIT also from collapsed
!$omp do loops.  Error on CYCLE to non-innermost collapsed
!$omp do loops.

* gfortran.dg/gomp/pr44847.f90: New test.

From-SVN: r161967
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr44847.f90 [new file with mode: 0644]