home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 2002 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.5 KB  |  38 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!cis.ohio-state.edu!heurikon.UUCP!dale
  3. From: dale@heurikon.UUCP (Dale Wade)
  4. Subject: Question on bitfield implementation...
  5. Message-ID: <9208281551.AA00869@frodo.heurikon.com.noname>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 28 Aug 1992 15:51:11 GMT
  10. Lines: 26
  11.  
  12.  
  13. Sir or Madam,
  14.  
  15. I am using gcc version 1.37.1, targeting the Motrola 68020 architecture.
  16. I found this email address while searching through the "Using and Porting
  17. GNU CC" document for the info that I need.  What I am looking for is
  18. information on how bitfields within a structure are implemented in gcc
  19. (when compiling for the above architecture).  i.e. Can one be assured that
  20. bitfields assigned from the top to the bottom of the structure are packed
  21. LSB to MSB (or perhaps the reverse)?  Is there any word or byte aligning
  22. that takes place?  Any padding?  And can one always count on these rules
  23. (the rules that hopefully you will be able to give me)?
  24.  
  25. Thank you in advance for any help that you can offer.
  26.  
  27.  
  28. Sincerely,
  29. -Dale Wade
  30.  
  31.  
  32. +------------------------------------------------------------------------------+
  33. |     Dale Wade                     |     email: dale@heurikon.com             |
  34. |     Software Customer Support     |     voice: (800) 327-1251                |
  35. |     Heurikon Corporation          |            (608) 831-5500                |
  36. +------------------------------------------------------------------------------+
  37.  
  38.