From: dewar@gnat.com (Robert Dewar)
To: aj@suse.de, dje@watson.ibm.com
Cc: dewar@gnat.com, gcc@gcc.gnu.org, jh@suse.cz
Subject: Re: Ada and x86_64
Date: Wed, 28 Aug 2002 04:49:00 -0000 [thread overview]
Message-ID: <20020828114904.9A814F2D79@nile.gnat.com> (raw)
> > David Edelsohn <dje@watson.ibm.com> writes:
> >
> >> While knowing nothing about Ada,
> >>
> >> private
> >> type sigset_t is array (0 .. 31) of unsigned_long;
> >> pragma Convention (C, sigset_t);
> >> for sigset_t'Size use 1024;
> >
> > unsigned_long is is 64 bit on x86-64, I think , so the minimum size
> > for the array is indeed 2048 bits. You could change unsigned_long to
> > unsigned_int; this should in 1024 bits on x86-64, too. However, I'm
> > not sure if sigset_t really has this size on x86-64.
>
> The solution we come up with is to use array (0..15) to get 1024
> bytes,
This is only the correct solution if that matches the definition of sigset_t
in C. There is nothing sacred out the size in the size clause. it must be
modified to meet the requirement of matching the C definition.
next reply other threads:[~2002-08-28 4:49 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-28 4:49 Robert Dewar [this message]
2002-08-28 4:50 ` Andreas Jaeger
-- strict thread matches above, loose matches on Subject: below --
2002-08-29 3:13 Robert Dewar
2002-08-29 3:03 Robert Dewar
2002-08-28 16:07 Richard Kenner
2002-08-28 4:47 Robert Dewar
2002-08-27 14:19 Robert Dewar
2002-08-27 14:18 Robert Dewar
2002-08-27 14:17 Robert Dewar
2002-08-28 9:45 ` Jan Hubicka
2002-08-27 5:57 Richard Kenner
2002-08-27 5:49 Richard Kenner
2002-08-27 4:58 Robert Dewar
2002-08-27 5:42 ` Jan Hubicka
2002-08-27 5:55 ` Andreas Jaeger
2002-08-27 4:24 Richard Kenner
2002-08-27 5:43 ` Jan Hubicka
2002-08-27 4:08 Richard Kenner
2002-08-27 4:13 ` Jan Hubicka
2002-08-26 20:50 Robert Dewar
2002-08-27 2:46 ` Jan Hubicka
2002-08-26 13:58 Richard Kenner
2002-08-27 1:17 ` Andreas Jaeger
2002-08-27 5:12 ` Joseph S. Myers
2002-08-26 13:49 Richard Kenner
2002-08-27 3:09 ` Jan Hubicka
2002-08-26 10:14 Jan Hubicka
2002-08-26 10:20 ` David Edelsohn
2002-08-26 10:23 ` Jan Hubicka
2002-08-26 10:53 ` Jan Hubicka
2002-08-26 11:56 ` Jan Hubicka
2002-08-26 12:18 ` David Edelsohn
2002-08-26 12:20 ` Jan Hubicka
2002-08-26 17:35 ` David Brown
2002-08-28 0:57 ` Florian Weimer
2002-08-28 0:52 ` Florian Weimer
2002-08-28 0:56 ` Andreas Jaeger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020828114904.9A814F2D79@nile.gnat.com \
--to=dewar@gnat.com \
--cc=aj@suse.de \
--cc=dje@watson.ibm.com \
--cc=gcc@gcc.gnu.org \
--cc=jh@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).