This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35418] [4.4 Regression]: Revision 132592 miscompiles 172.mgrid
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2008 22:50:21 -0000
- Subject: [Bug fortran/35418] [4.4 Regression]: Revision 132592 miscompiles 172.mgrid
- References: <bug-35418-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from hjl dot tools at gmail dot com 2008-03-01 22:50 -------
The code looks like
SUBROUTINE RESID(U,V,R,N,A)
INTEGER N
REAL*8 U(N,N,N),V(N,N,N),R(N,N,N),A(0:3)
INTEGER I3, I2, I1
DO 600 I3=2,N-1
DO 600 I2=2,N-1
DO 600 I1=2,N-1
N is a 4 byte integer and gcc uses 8byte integer for array bound.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35418