From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ef9528cffd47e7a,start X-Google-Attributes: gidfee84,public From: jrredho@sandia.gov (John Red-Horse) Subject: 64-bit Pointers and Array Indexing with 32-bit Integers Date: 1995/04/18 Message-ID: <3n0tcu$t09@news.sandia.gov>#1/1 X-Deja-AN: 101096502 organization: Sandia National Laboratories, Albuquerque New Mexico newsgroups: comp.unix.osf.osf1 Howdy All, We're currently in the porting stage for a Fortran-based memory management package that I support and a curious question came to mind: How does the Fortran compiler access array locations by integer indexing that overflow 32 bits? I have a motivation for stating the problem this way, but the fact is not all array accesses are done via processes like DO loops (which, I guess, one could internally convert to pointer arithmetic on the fly). For example, I might compute the array location by doing some integer arithmetic on an index. thanks, john ------ John Red-Horse jrredho@sandia.gov Structural Dynamics & Vibration Control Sandia National Laboratories (505)845-9190