public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/44518] [4.5/4.6 regression] objc++ encode-2.mm and encode-3.mm fail on several platforms
Date: Sun, 13 Jun 2010 17:08:00 -0000	[thread overview]
Message-ID: <20100613170743.15165.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44518-7665@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from iains at gcc dot gnu dot org  2010-06-13 17:07 -------
(In reply to comment #5)
> Created an attachment (id=20903)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20903&action=view) [edit]
> correction to encode-2.mm
> 
> On powerpc64 encode-2.mm fails because the test case scans the assembly output
> for the string "{?={Vec<double>=ddi}{Vec<float>=ffi}fd{Vec<char>=cci}i}", but
> on
> powerpc64 it is "{?={Vec<double>=ddi}{Vec<float>=ffi}fd{Vec<char>=CCi}i}".
> 
> Note the different case for the "CC" part.  That's because the test case
> instantiates a Vec with plain char and expects it to mangle to "c".  However,
> plain char maps to either signed or unsigned char depending on the machine, and
> those two types mangle differently.  Apparently "c" corresponds to signed char.
> Adjusting the test case to explicitly say "signed char" fixes it on powerpc64.

Indeed, good catch, thanks.
I'll stick that in the melting pot for the next round - there are other encode
updates needed.
Too late to do any more for 4.5.1 anyway, I suspect.


-- 


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


  parent reply	other threads:[~2010-06-13 17:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-13 13:28 [Bug objc++/44518] New: " mikpe at it dot uu dot se
2010-06-13 14:20 ` [Bug testsuite/44518] " rguenth at gcc dot gnu dot org
2010-06-13 15:26 ` iains at gcc dot gnu dot org
2010-06-13 15:31 ` iains at gcc dot gnu dot org
2010-06-13 16:42 ` mikpe at it dot uu dot se
2010-06-13 16:50 ` mikpe at it dot uu dot se
2010-06-13 17:05 ` iains at gcc dot gnu dot org
2010-06-13 17:08 ` iains at gcc dot gnu dot org [this message]
2010-06-13 17:15 ` mikpe at it dot uu dot se
2010-06-13 17:20 ` iains at gcc dot gnu dot org
2010-06-13 17:42 ` mikpe at it dot uu dot se
2010-07-03  8:16 ` iains at gcc dot gnu dot org
2010-07-11  9:55 ` iains 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=20100613170743.15165.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).