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 testsuite/38235] New: gfortran.dg/pr37243.f has undefined variables / bounds error


$ ifort -CB pr37243.f
$ ./a.out
forrtl: severe (408): fort: (3): Subscript #2 of the array V has value 0 which
is less than the lower bound of 1

Image              PC        Routine            Line        Source
a.out              0808C357  Unknown               Unknown  Unknown
a.out              0808B977  Unknown               Unknown  Unknown
a.out              0805934E  Unknown               Unknown  Unknown
a.out              0804B106  Unknown               Unknown  Unknown
a.out              0804A79F  Unknown               Unknown  Unknown
a.out              0804A26E  Unknown               Unknown  Unknown
a.out              08049BAF  Unknown               Unknown  Unknown
a.out              08049B61  Unknown               Unknown  Unknown
libc.so.6          B7E52455  Unknown               Unknown  Unknown
a.out              08049A91  Unknown               Unknown  Unknown
$ gfortran -fbounds-check pr37243.f
$ ./a.out
At line 37 of file pr37243.f
Fortran runtime error: Array reference out of bounds for array 'v', lower bound
of dimension 2 exceeded (-1081884012 < 1)


-- 
           Summary: gfortran.dg/pr37243.f has undefined variables / bounds
                    error
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
OtherBugsDependingO 27766
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38235


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