public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dave@hiauly1.hia.nrc.ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/8641] [hp-ux 11.00] va_arg(arglist,type) does not work if sizeof(type) = 6
Date: Mon, 16 Jun 2003 20:36:00 -0000	[thread overview]
Message-ID: <20030616203618.7162.qmail@sources.redhat.com> (raw)
In-Reply-To: <20021119085616.8641.fl@abas.de>

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dave@hiauly1.hia.nrc.ca  2003-06-16 20:36 -------
Subject: Re:  [hp-ux 11.00] va_arg(arglist,type) does not wor

> does this problem look familiar to you by any chance? Thanks,

Yes, although I haven't looked at this particular PR.  I believe
that this is fixed in 3.3 and later.  All versions of gcc for the
32-bit port prior to 3.3 passed small 5-7 byte structures incorrectly.
They were left justified, rather than right justified as specified in
the ABI.  This is the cause of the reported truncation.  This only
shows up in code that has to inter-operate with code compiled with
the HP compiler and when using va_arg.

Dave


  parent reply	other threads:[~2003-06-16 20:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021119085616.8641.fl@abas.de>
2003-05-26  4:31 ` pinskia@physics.uc.edu
2003-06-16 20:36 ` dave@hiauly1.hia.nrc.ca [this message]
2003-06-17  6:49 ` Frank_Liepold@abas.de
2003-06-17  7:35 ` dhazeghi@yahoo.com
2003-08-05 23:46 ` pinskia at physics dot uc dot edu
2003-08-06  0:52 ` dave at hiauly1 dot hia dot nrc dot ca
2003-08-06  0:54 ` pinskia at physics dot uc dot edu
2003-12-18  8:05 ` fl at abas dot de

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=20030616203618.7162.qmail@sources.redhat.com \
    --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).