public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikpe at it dot uu dot se" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)
Date: Wed, 28 Jul 2010 09:46:00 -0000	[thread overview]
Message-ID: <20100728094540.25838.qmail@sourceware.org> (raw)
In-Reply-To: <bug-45070-14457@http.gcc.gnu.org/bugzilla/>



------- Comment #10 from mikpe at it dot uu dot se  2010-07-28 09:45 -------
(In reply to comment #8)
> I just realized that this is a packed structure and probably need to look up
> the semantics of this in the AAPCS. IIRC the AAPCS states that it doesn't
> support packed structures or bitfields at exported interfaces. 

In the C test case the function returning a packed struct is `static' and
called only by name from within the same translation unit.  Surely that's not
an "exported interface".


-- 


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


  parent reply	other threads:[~2010-07-28  9:46 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-25 23:23 [Bug c++/45070] New: " siarhei dot siamashka at gmail dot com
2010-07-25 23:25 ` [Bug c++/45070] " siarhei dot siamashka at gmail dot com
2010-07-26  8:49 ` mikpe at it dot uu dot se
2010-07-26  9:33 ` mikpe at it dot uu dot se
2010-07-28  7:16 ` siarhei dot siamashka at gmail dot com
2010-07-28  7:18 ` siarhei dot siamashka at gmail dot com
2010-07-28  8:37 ` [Bug target/45070] " siarhei dot siamashka at gmail dot com
2010-07-28  9:01 ` ramana at gcc dot gnu dot org
2010-07-28  9:22 ` ramana at gcc dot gnu dot org
2010-07-28  9:35 ` rearnsha at gcc dot gnu dot org
2010-07-28  9:46 ` mikpe at it dot uu dot se [this message]
2010-08-03 17:13 ` ian dot bolton at arm dot com
2010-08-14 15:33 ` armin76 at gentoo dot org
2010-08-14 16:28 ` siarhei dot siamashka at gmail dot com
2010-08-19  8:28 ` ramana at gcc dot gnu dot org
2010-09-02 13:06 ` ibolton at gcc dot gnu dot org
2010-09-04 16:42 ` armin76 at gentoo dot org
2010-09-07  9:26 ` ibolton at gcc dot gnu dot org
2010-09-07 11:08 ` ibolton at gcc dot gnu dot org
2010-09-14 14:06 ` rearnsha at gcc dot gnu dot org
     [not found] <bug-45070-4@http.gcc.gnu.org/bugzilla/>
2012-09-04  9:38 ` amker at gcc dot gnu.org
2012-09-04 19:44 ` ramana at gcc dot gnu.org
2012-09-05 10:51 ` amker at gcc dot gnu.org
2012-09-05 10:55 ` amker at gcc dot gnu.org
2012-09-07 10:52 ` amker at gcc dot gnu.org
2012-09-07 11:02 ` amker at gcc dot gnu.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=20100728094540.25838.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).