Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!phd_ivo@gsbacd.uchicago.edu From: phd_ivo@gsbacd.uchicago.edu Newsgroups: comp.sys.mac.programmer Subject: Suggestion for the LSC compiler writers Message-ID: <1993@tank.uchicago.edu> Date: 24 Feb 89 15:27:40 GMT Sender: news@tank.uchicago.edu Organization: University of Chicago Graduate School of Business Lines: 14 The reason I don't use LSC or any other micro compiler is that there is a lack of protection against my out-of-range pointers overwriting some other storage space. It would be trivial for a compiler to include an optional "anti-efficiency" switch so that each time the compiler creates an assignment (e.g. to a pointer), the compiler inserts code that checks if this location is outside the data segment. If there is, a warning or abort routine could be called. This would be extremely trivial to do for the compiler implementer, and would go very far in making the development process much less painful. ivo welch phd_ivo@gsbacd.uchicago.edu