This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17164] New: index function not working properly
- From: "milan at cmm dot ki dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2004 05:51:46 -0000
- Subject: [Bug fortran/17164] New: index function not working properly
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
index seg faults in the situation like this:
index(a,b), if len(b) > len(a)
Example code:
character*5 x
x='12345'
write(*,*)index(x,'blablabl')
end
--
Summary: index function not working properly
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: milan at cmm dot ki dot si
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17164