From: Jakub Jelinek Date: Thu, 17 Oct 2019 06:46:53 +0000 (+0200) Subject: re PR fortran/87752 (ICE in omp_add_variable, at gimplify.c:6776) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62900598dfec3c26b203bb8847277db9f4c40ed2;p=gcc.git re PR fortran/87752 (ICE in omp_add_variable, at gimplify.c:6776) PR fortran/87752 * gfortran.dg/gomp/pr87752.f90: New test. From-SVN: r277091 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b574d995ebd..e23272ae456 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-10-17 Jakub Jelinek + + PR fortran/87752 + * gfortran.dg/gomp/pr87752.f90: New test. + 2019-10-17 Richard Biener PR debug/91887 diff --git a/gcc/testsuite/gfortran.dg/gomp/pr87752.f90 b/gcc/testsuite/gfortran.dg/gomp/pr87752.f90 new file mode 100644 index 00000000000..072de218253 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/gomp/pr87752.f90 @@ -0,0 +1,12 @@ +! PR fortran/87752 +! { dg-do compile } +! { dg-additional-options "-Ofast" } + +subroutine foo (n, u, v) + integer :: n + real, pointer :: u(:), v(:) + !$omp parallel do simd + do i = 1, n + u(:) = v(:) + end do +end