home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / gnu / gcc / help / 2338 < prev    next >
Encoding:
Internet Message Format  |  1992-10-16  |  2.1 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!think.com!ames!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!blistr.mwc.COM!cef
  2. From: cef@blistr.mwc.COM (Charles  Fiterman, Froggy)
  3. Newsgroups: gnu.gcc.help
  4. Subject: no subject (file transmission)
  5. Message-ID: <9210161358.AA00303@blistr.mwc.com>
  6. Date: 16 Oct 92 17:58:33 GMT
  7. Sender: daemon@cis.ohio-state.edu
  8. Distribution: gnu
  9. Organization: GNUs Not Usenet
  10. Lines: 34
  11.  
  12. From cef
  13. Subject: Trying to port to ESIX V.4
  14. To: help-gcc@blistr.mwc.com
  15. From: Charles (Froggy) Fiterman <cef@blistr.mwc.com>
  16. X-Mailer: ELM [version 2.3 PL11]
  17. Message-Id: <9210161049.AA01119@blistr.mwc.com>
  18. Date: 16 Oct 92 10:49:14 
  19.  
  20. I want to port to ESIX V4 to do some code generation experiments. I run into
  21. a series of problems and feel lost. What setup is  correct? The version I
  22. have builds great .s output calls the as fine and core dumps. The .o files
  23. can be used to produce good output.
  24.  
  25. Also what is really going on with bcopy() etc. When do we build it and when
  26. do we use memcpy() cccp.c seems to want to use these but not build them. I
  27. suspect I've got something #defined wrong.
  28.  
  29. By the way one of the code generation experiments I want to try is a new
  30. keyword nodefault: for switch statements. It means if not compiled for
  31. optomize and a default: occurs abort(). If compiled for optomize assume that
  32. no default may occur and jump the rails if the programmer is wrong. I think
  33. this will make C more usefull for simulators etc by reducing the overhead of
  34. switch statements. In short it means "trust me" it must be one of the cases
  35. don't check. If there are cases for 0, 4, 8, and 12 the expression may be
  36. added to the start of a table with no compares or shifting, and a branch
  37. taken if the programmer said "trust me" and was wrong tough. This may also
  38. reduce some extrainious warnings about uninitialized variables.
  39.  
  40. I hope to have something usefull to add to gcc soon.
  41. -- 
  42. cef@mwc.com        Mark Williams Co       Philosophy is the art of
  43. 708-291-6700 x119  60 Revere Drive        misunderstanding terms in a
  44. 708-291-6750 FAX   Northbrook, Il 60062   specialized language, designed
  45. Charles (Froggy) Fiterman          for that purpose.
  46.