re PR fortran/71705 (ICE in lower_omp_target, at omp-low.c:16136)
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 Jun 2016 17:39:52 +0000 (19:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 Jun 2016 17:39:52 +0000 (19:39 +0200)
commit351beab7f57e82ee88abaedc407ff793542c08ab
tree3a088fb6ebdb57541d5260fd4ddb760455645693
parent5a3a6a5eaed91e241fe879af65162507eafd6e5f
re PR fortran/71705 (ICE in lower_omp_target, at omp-low.c:16136)

PR fortran/71705
* trans-openmp.c (gfc_trans_omp_clauses): Set TREE_ADDRESSABLE on
decls in to/from clauses.

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

From-SVN: r237887
gcc/fortran/ChangeLog
gcc/fortran/trans-openmp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/gomp/pr71705.f90 [new file with mode: 0644]