]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/42162 (OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282)
authorJakub Jelinek <jakub@redhat.com>
Wed, 25 Nov 2009 20:28:56 +0000 (21:28 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 25 Nov 2009 20:28:56 +0000 (21:28 +0100)
commit281e33e1bb62f77b7f999213da93db0088d08e1d
treee09f0b243a46a3ff9e7a5acdd73e3b23f01bee52
parentfc07d9e3cb53293002fde46afb834aa965bab195
re PR fortran/42162 (OpenMP: ICE: tree check in omp_add_variable, at gimplify.c:5282)

PR fortran/42162
* trans-openmp.c (gfc_trans_omp_do): When dovar isn't a VAR_DECL,
don't use simple loop and handle clauses properly.

* testsuite/libgomp.fortran/pr42162.f90: New test.

From-SVN: r154654
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/pr42162.f90 [new file with mode: 0644]