Path: utzoo!attcan!uunet!husc6!bloom-beacon!ht!spt!gz From: gz@spt.entity.com (Gail Zacharias) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW C 2.0.2 bug suspected, how do I localize it? Message-ID: <317@spt.entity.com> Date: 14 Jun 88 00:48:33 GMT References: <1215@spar.SPAR.SLB.COM> Reply-To: gz@entity.com (Gail Zacharias) Organization: The Entity, Cambridge, MA Lines: 19 In article <1215@spar.SPAR.SLB.COM> freeman@spar.UUCP (Jay Freeman) writes: >I have a possible bug in MPW C 2.0.2, that is sufficiently subtle that I am >having great difficulty localizing it well enough to report neatly; I seek >advice on how best to do so. > .... So I restored the declaration of "myLong" to its original >form, and added to "foo" a call to a bogus function: > bogus( &myLong ); >WITH THE CALL TO "bogus" INSTALLED, THE BUG WENT AWAY! Sounds like you've localized it. Now just disassemble (i.e. dumpobj) "foo" both with and without the call to "bogus" and take a good look at the code generated. (I won't even mention the relevance of this kind of situation to a certain other discussion taking place in this group...) -- gz@entity.com ...!mit-eddie!spt!gz Now let's all repeat the non-conformist oath.