home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14040 < prev    next >
Encoding:
Text File  |  1992-08-15  |  1.3 KB  |  39 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!amgen!nuntius
  3. From: Michael Brennan <mikeb@sam.amgen.com>
  4. Subject: Re: HINT on upgrading from THINK C 4.0 to 5.0.2
  5. Message-ID: <1992Aug14.182109.3182@amgen.com>
  6. Sender: news@amgen.com
  7. Nntp-Posting-Host: swalker
  8. Organization: Amgen
  9. X-Useragent: Nuntius v1.1
  10. References: <1992Aug5.180617.16041@Csli.Stanford.EDU>
  11.      <PHILS.92Aug7094944@chaos.cs.brandeis.edu>
  12. Date: Fri, 14 Aug 1992 18:21:09 GMT
  13. Lines: 24
  14.  
  15. In article <1992Aug5.193816.27403@hobbes.kzoo.edu> Jamie R. McCarthy,
  16. k044477@hobbes.kzoo.edu writes:
  17. >Does anyone else have any problems (known or rumored) with any of the
  18. >optimizations?
  19.  
  20. I encountered quite a few very nasty bugs with optimization in 5.0.
  21. Mostly with the global
  22. optimizations.  In one instance, it took an expression within a loop
  23. (whose value was
  24. incrementing in the loop), and decided to use a temporary value for the
  25. expression
  26. whose value was defined before entering the loop. The code in the loop
  27. therefore failed.
  28. In another instance, it decided two variables were never used at the same
  29. time,
  30. so it assigned them the same memory space. In fact, the two variables
  31. WERE used
  32. at the same time in a number of places, so the optimization wreaked havoc
  33. with
  34. the code.
  35.  
  36. I haven't encountered any such problems with 5.0.2 so far, but I am leary
  37. of the
  38. optimizations nonetheless.
  39.