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
This commit is contained in:
Jakub Jelinek 2019-10-17 08:46:53 +02:00 committed by Jakub Jelinek
parent abf0474f8a
commit 62900598df
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2019-10-17 Jakub Jelinek <jakub@redhat.com>
PR fortran/87752
* gfortran.dg/gomp/pr87752.f90: New test.
2019-10-17 Richard Biener <rguenther@suse.de>
PR debug/91887

View File

@ -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