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/35418] [4.4 Regression]: Revision 132592 miscompiles 172.mgrid



------- 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


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