This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/12366] New: array assignment fails
- From: "tcc at sentex dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2003 13:15:09 -0000
- Subject: [Bug fortran/12366] New: array assignment fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12366
Summary: array assignment fails
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tcc at sentex dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: 3.5-tree-ssa 20030920
GCC host triplet: i386-pc-linux-gnu
GCC target triplet: i386-pc-linux-gnu
This bug was encountered using the precompiled biaries recently uploaded to
Sourceforge. "Internal compiler error" occurs in following code:
program testg
real, dimension(5) :: a
real, dimension(3) :: b
a=(/ 1.5,2.1,3.2,4.6,5.3 /)
b=a((/ 2,3,1 /)) !fails
print *, b
end