blob: 85fb9779510f2b493e910d2fcee8a364ea9a8da9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
! { dg-do compile }
! { dg-options "-O2 -fdump-tree-original" }
integer :: i(5)
real(4) :: x(5)
equivalence(x,i)
i = (/ 1, 0, 3, 5, 0 /)
where (i(1:4) .ne. 0)
x(2:5) = -42.
end where
end
! { dg-final { scan-tree-dump-times "malloc" 1 "original" } }
! { dg-final { cleanup-tree-dump "original" } }
|