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
* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
reshape_5.f90
blob
a7d4a3f001fa24631033e7757d8e937bc29423c7
1
! { dg-do compile }
2
!
3
! PR fortran/56849
4
!
5
integer
::
x
(
2
,
2
),
y
(
4
)
6
y
=
reshape
([
1
,
2
,
3
,
4
],[
4
])
7
x
(:,
1
:
1
) =
reshape
(
y
(::
2
), [
1
,
2
],
order
=[
1
,
2
])
! { dg-error "Different shape for array assignment at .1. on dimension 1 .2 and 1." }
8
print
*,
y
9
print
*,
x
(:,
1
)
10
end