This is the mail archive of the gcc@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]

Help with Dependency question


Hi, 
        For this simple loop, I get the following distance and direction vector 

Distance {1,-1) 
Direction  (2,0) 

for(J = 1; J <= N-1; J++)
    for(I = 1; I <= N-1; I++)
      {
        XX = X[I+1][J];
        XY = X[I][J+1];
    } 


Can some body explain why thats so ? 
thanks
Shreyas


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