repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
pr68019.f90
blob
77fd55bd331df43f6f601e0cdcb893fbd3c98b62
1
! { dg-do compile }
2
! Original code from Gerhard Steinmetz
3
! Gerhard dot Steinmetz for fortran at t-online dot de
4
! PR fortran/68019
5
!
6
program
p
7
integer
::
i
8
type
t
9
integer
::
n
10
end type
11
type
(
t
),
parameter
::
vec
(*) = [(
t
(
i
),
i
=
1
,
4
)]
12
type
(
t
),
parameter
::
arr
(*) =
reshape
(
vec
, [
2
,
2
])
! { dg-error "Rank mismatch" }
13
end