This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/12366] New: array assignment fails


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]