annotate gcc/testsuite/gfortran.dg/array_3.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900 (2020-02-13)
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! PR31610 ICE with transfer, merge in gfc_conv_expr_descriptor
kono
parents:
diff changeset
3 integer :: i(1) = 1
kono
parents:
diff changeset
4 integer :: foo(3)
kono
parents:
diff changeset
5 integer :: n(1)
kono
parents:
diff changeset
6 foo(1) = 17
kono
parents:
diff changeset
7 foo(2) = 55
kono
parents:
diff changeset
8 foo(3) = 314
kono
parents:
diff changeset
9 print *, i, foo
kono
parents:
diff changeset
10 write(*,*) foo([1]), foo([1]+i), [1]+1
kono
parents:
diff changeset
11 n = foo([1]+i)
kono
parents:
diff changeset
12 print *, n, shape(foo([1]+i)), shape(foo(i+[1]))
kono
parents:
diff changeset
13 end