$ 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)
The variable II in "CALL DAXPY(N,DUM,V(1,II),1,V(1,I),1)" is not initialized.
(In reply to comment #1) > The variable II in "CALL DAXPY(N,DUM,V(1,II),1,V(1,I),1)" is not initialized. > This is fixed at revision 143124. Closing.