Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mailrus!iuvax!uxc!uxc.cso.uiuc.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu Newsgroups: comp.sys.ibm.pc Subject: Re: Looking for a decent C compiler Message-ID: <17100009@ux1.cso.uiuc.edu> Date: 6 Jun 89 22:09:00 GMT References: <1440@bucket.UUCP> Lines: 14 Nf-ID: #R:bucket.UUCP:1440:ux1.cso.uiuc.edu:17100009:000:593 Nf-From: ux1.cso.uiuc.edu!phil Jun 6 17:09:00 1989 What's wrong with a C compiler than knows if an array is larger than a 64K segment that it just simply has to generate code that can calculate the correct segment address and displacement each time it needs to access an array location. It's not THAT hard to do, but sure, it will slow down the program. What would be nice is a compiler than CAN do this if the array is declared obviously larger than 64K. Also, pointer arithmetic may need this code, and this should be specifiable as a compile option as well. So, can any 8086 C compiler DO THAT? --Phil howard--