comparison gcc/testsuite/gfortran.dg/pr56015.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 ! PR middle-end/56015
2 ! { dg-do run }
3 ! { dg-options "-Ofast -fno-inline" }
4
5 program pr56015
6 implicit none
7 complex*16 p(10)
8 p(:) = (0.1d0, 0.2d0)
9 p(:) = (0.0d0, 1.0d0) * p(:)
10 call foo (p)
11 contains
12 subroutine foo (p)
13 complex*16 p(10)
14 if (any (p .ne. (-0.2d0, 0.1d0))) call abort
15 end subroutine
16 end program pr56015