This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37317] gfortran generates incorrect lbound and ubound
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2008 19:02:36 -0000
- Subject: [Bug fortran/37317] gfortran generates incorrect lbound and ubound
- References: <bug-37317-16654@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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