home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!cis.ohio-state.edu!heurikon.UUCP!dale
- From: dale@heurikon.UUCP (Dale Wade)
- Subject: Question on bitfield implementation...
- Message-ID: <9208281551.AA00869@frodo.heurikon.com.noname>
- Sender: daemon@cis.ohio-state.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Fri, 28 Aug 1992 15:51:11 GMT
- Lines: 26
-
-
- Sir or Madam,
-
- I am using gcc version 1.37.1, targeting the Motrola 68020 architecture.
- I found this email address while searching through the "Using and Porting
- GNU CC" document for the info that I need. What I am looking for is
- information on how bitfields within a structure are implemented in gcc
- (when compiling for the above architecture). i.e. Can one be assured that
- bitfields assigned from the top to the bottom of the structure are packed
- LSB to MSB (or perhaps the reverse)? Is there any word or byte aligning
- that takes place? Any padding? And can one always count on these rules
- (the rules that hopefully you will be able to give me)?
-
- Thank you in advance for any help that you can offer.
-
-
- Sincerely,
- -Dale Wade
-
-
- +------------------------------------------------------------------------------+
- | Dale Wade | email: dale@heurikon.com |
- | Software Customer Support | voice: (800) 327-1251 |
- | Heurikon Corporation | (608) 831-5500 |
- +------------------------------------------------------------------------------+
-
-