public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: tromey@redhat.com
Cc: GCJ-patches <java-patches@gcc.gnu.org>,
		GCC Patches <gcc-patches@gcc.gnu.org>,
	andreast@gcc.gnu.org
Subject: Re: [Patch] libffi testsuite: Correct some type specifiers.
Date: Tue, 07 Aug 2007 17:18:00 -0000	[thread overview]
Message-ID: <46B8A93D.1060405@avtrex.com> (raw)
In-Reply-To: <m3fy2vuwb9.fsf@fleche.redhat.com>

Tom Tromey wrote:
>>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
> 
> David> Whilst hacking things up to get MIPS64 working better in libffi, I
> David> came across several test cases where structure elements were declared
> David> as type 'int' but the libffi type specifier identified them as uint32.
> 
> David> This patch corrects some (but probably not all) of these incongruities.
> 
> I think a patch to fix a disparity like this would qualify as obvious.
> 
> However... if the struct definition says 'int', and the test case is
> says ffi_type_sint32, then that seems like a bug in itself.  There's
> no guarantee that int == 32 bits.  Wouldn't it be more correct to use
> ffi_type_sint?

I thought of that after I sent the patch, and I agree.  The problem is 
pervasive in the testsuite.  Patch withdrawn.

I will submit a revised patch soon.

David Daney

      reply	other threads:[~2007-08-07 17:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-07 16:27 David Daney
2007-08-07 17:04 ` Tom Tromey
2007-08-07 17:18   ` David Daney [this message]

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=46B8A93D.1060405@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=andreast@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    --cc=tromey@redhat.com \
    /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).