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/37317] gfortran generates incorrect lbound and ubound



------- Comment #1 from kargl at gcc dot gnu dot org  2008-09-01 19:02 -------
The correct result is given by both 4.3.2 and 4.4.0.  You 
may want to upgrade to a newer version of the compiler
because few if any patches will make it back to the 4.2 branch.

troutmask:sgk[204] ./z
 bounds of yyy=           0          12
 bounds of xxx=           1          13
troutmask:sgk[205] gfortran43 -o z j.f90
troutmask:sgk[206] ./z
 bounds of yyy=           0          12
 bounds of xxx=           0          12
troutmask:sgk[207] ~/work/4x/bin/gfortran -o z j.f90
troutmask:sgk[208] ./z
 bounds of yyy=           0          12
 bounds of xxx=           0          12


-- 


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


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