Path: utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!bellcore!faline!ulysses!gamma!pyuxp!pyuxe!pyuxf!robf2 From: robf2@pyuxf.UUCP (robert fair) Newsgroups: comp.sys.ibm.pc Subject: Re: MSC 5.0 Intrinsic Bug Message-ID: <205@pyuxf.UUCP> Date: 23 Dec 87 15:02:56 GMT References: <211@mosys.UUCP> Organization: Bell Communications Research Lines: 28 Summary: Don't use intrinsic in large model In article <211@mosys.UUCP>, nortond@mosys.UUCP (Daniel A. Norton) writes: > Copyright (c) 1987, Daniel A. Norton. All Rights Reserved. decribes a bug in the intrinsic strlen() for MSC 5.0 using large model. Every intrinsic I have tried (strlen,strcpy,strncpy,memcpy...) has the same bug in large model (-AL -AH, -AC). Since these tend to produce horrible, subtle problems in the code I would suggest avoid using intrinsic functions *at all* in large model [Speaking from a very frustrating weekend tracking down such `bugs'] and once again flame Microsoft for sending out a product which must be almost totally untested ! The loop optimization is also very buggy in large model, producing `hidden' bad code in inappropriate places. In short, the `optimizing' compiler really is: "An optimizing compiler for small & medium models and a joke for large model" A very pissed off MSC 5.0 user (and I LIKED MSC 3.0 & 4.0...) Rob Fair Currently at: Bellcore/CHC ihnp4!pyuxww!pyuxf!robf2