public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/35186] Ada doesn't follow i386 psABI
Date: Wed, 13 Feb 2008 19:35:00 -0000	[thread overview]
Message-ID: <20080213193510.17768.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35186-682@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from hjl dot tools at gmail dot com  2008-02-13 19:35 -------
maybe_pad_type has

  if (align == TYPE_ALIGN (type))
    align = 0;

  if (align == 0 && !size)
    return type;
...
   record = make_node (RECORD_TYPE);

That is Ada expects 8 byte alignment for DImode. But TYPE_ALIGN (type),
which conforms to psABI, is 4 byte for DImode.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35186


  parent reply	other threads:[~2008-02-13 19:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 19:21 [Bug ada/35186] New: " hjl dot tools at gmail dot com
2008-02-13 19:23 ` [Bug ada/35186] " pinskia at gcc dot gnu dot org
2008-02-13 19:35 ` hjl dot tools at gmail dot com [this message]
2008-02-13 19:38 ` hjl dot tools at gmail dot com
2008-02-13 19:40 ` [Bug ada/35186] Implicit assumptions about alignment of DImode ebotcazou at gcc dot gnu dot org
2008-02-13 19:51 ` ebotcazou at gcc dot gnu dot org
2008-02-19 14:37 ` hjl at gcc dot gnu dot org
2008-03-06  0:46 ` [Bug ada/35186] implicit assumption " ebotcazou at gcc dot gnu dot org
2008-03-06  0:48 ` ebotcazou at gcc dot gnu dot org
2008-03-25 18:00 ` ebotcazou at gcc dot gnu dot org

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=20080213193510.17768.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).