levy@ttrdc.UUCP (Daniel R. Levy) (07/18/88)
In article <8807121629.AA07169@explorer.dgp.toronto.edu>, flaps@dgp.toronto.edu (Alan J Rosenthal) writes: > [a certain MS-DOS C compiler can't compile an array larger than a segment] > MS-DOS C compilers seem only to accept a subset > of the C language because it allows them to compile certain benchmarks > into faster code. Accepting a "subset of the C language," as you put it, might make it EASIER to write a PC compiler in order to compiler "certain benchmarks" faster, etc., but it's not NECESSARY. In the example you cited, there's nothing that would theoretically keep the compiler from having the smarts to generate fast code to do well by the small arrays in benchmarks and slower but working code for larger, multi-segment arrays. Now the COMPILER might then be slower, but that's another story. -- |------------Dan Levy------------| THE OPINIONS EXPRESSED HEREIN ARE MINE ONLY | AT&T Data Systems Group | AND ARE NOT TO BE IMPUTED TO AT&T. | Skokie, Illinois | |-----Path: att!ttbcad!levy-----|