home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18183 < prev    next >
Encoding:
Text File  |  1992-11-09  |  891 b   |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!zaphod.mps.ohio-state.edu!rpi!simsh
  3. From: simsh@crockett1a.its.rpi.edu (Chewbacca)
  4. Subject: Another THINK C 5.0.3 bug?
  5. Message-ID: <#9m158g@rpi.edu>
  6. Nntp-Posting-Host: crockett1a.its.rpi.edu
  7. Date: Mon, 9 Nov 1992 16:22:15 GMT
  8. Lines: 20
  9.  
  10. Hello everyone. Here is my test program:
  11.  
  12.    #include <stdio.h>
  13.  
  14.    void main()
  15.    {
  16.       int h;
  17.       h=5;
  18.       printf("%d\n",h);
  19.    }
  20.  
  21. Simple enough. Well, with 4-bit ints turned on, this program prints out 0.
  22. With 4-bit ints off, it prints 5 like it should. The global optimizer is off.
  23. Is this another bug? Or has it already been seen and I just didn't read about
  24. it?
  25.  
  26. -- 
  27. -------------------------------------------------------------------------------
  28.      Hillel Sims                        e-mail: simsh@rpi.edu
  29.      >:-) The Smiling Vulcan            Rensselaer Polytechnic Institute
  30.