From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.102.1 with SMTP id fk1mr16718869pab.14.1422863708199; Sun, 01 Feb 2015 23:55:08 -0800 (PST) X-Received: by 10.140.107.4 with SMTP id g4mr207767qgf.0.1422863708151; Sun, 01 Feb 2015 23:55:08 -0800 (PST) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!hl2no7229903igb.0!news-out.google.com!q4ni26qan.0!nntp.google.com!bm13no5116557qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 1 Feb 2015 23:55:07 -0800 (PST) In-Reply-To: <92cf52a4-e49f-4eb9-a2b0-9f2a97bea182@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.209.98.159; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 90.209.98.159 References: <49494faf-1e2d-43a1-a2b0-fd25af3850cc@googlegroups.com> <92cf52a4-e49f-4eb9-a2b0-9f2a97bea182@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <246d97c2-b9a2-47b7-8da6-88a98094ef56@googlegroups.com> Subject: Re: What shoudl GNAT do wrt variant record and representation clauses? From: Lucretia Injection-Date: Mon, 02 Feb 2015 07:55:08 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.giganews.com comp.lang.ada:192151 Date: 2015-02-01T23:55:07-08:00 List-Id: On Monday, 2 February 2015 07:45:14 UTC, jsqu...@gmail.com wrote: > Hey Luke, > > The default for all enumerated types is a 4 byte integer is this correct? > > I think that since the record is an unchecked union making the ranges of the members different may have caused some undesirable behavior. I might try playing around with unchecked unions and see if I get similar results. no, that record is bits wide when used within the final record. they are all convention => C.