public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "daniel.c.klauer at web dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/52991] attribute packed broken on mingw32?
Date: Sat, 18 Aug 2012 04:01:00 -0000	[thread overview]
Message-ID: <bug-52991-4-GHYMlRPius@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52991-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #2 from daniel.c.klauer at web dot de 2012-08-18 04:00:51 UTC ---
The -mms-bitfields option seems to trigger the wrong behaviour. As pointed out
by http://gcc.gnu.org/gcc-4.7/changes.html it is enabled by default since
4.7.0, and using -mms-bitfields when compiling with TDM-GCC 4.6.1 also causes
the wrong behaviour.

In contrast, compiling with -mno-ms-bitfields makes the example programs work
as expected under gcc 4.7.0.


  parent reply	other threads:[~2012-08-18  4:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-15  4:21 [Bug c/52991] New: " sherpya at netfarm dot it
2012-08-18  3:37 ` [Bug c/52991] " daniel.c.klauer at web dot de
2012-08-18  4:01 ` daniel.c.klauer at web dot de [this message]
2012-08-18 10:13 ` mikpe at it dot uu.se
2012-08-19 20:56 ` mikpe at it dot uu.se
2012-08-22  8:35 ` mikpe at it dot uu.se
2012-10-06 23:02 ` daniel.c.klauer at web dot de
2012-10-06 23:08 ` paolo.carlini at oracle dot com
2012-12-10 15:14 ` ktietz at gcc dot gnu.org
2012-12-18 17:15 ` rth at gcc dot gnu.org
2012-12-18 21:36 ` ktietz at gcc dot gnu.org
2013-01-09 12:31 ` ktietz at gcc dot gnu.org
2013-01-09 13:34 ` ktietz at gcc dot gnu.org
2013-01-09 13:37 ` ktietz at gcc dot gnu.org
2013-10-05 14:26 ` mikpelinux at gmail dot com
2013-12-12 15:33 ` rogerdpack at gmail dot com
2013-12-12 15:48 ` ktietz at gcc dot gnu.org
2014-01-17 10:09 ` kugel at rockbox dot org
2014-02-16 10:03 ` jackie.rosen at hushmail dot com
2015-07-14  9:08 ` [Bug target/52991] " ossman at cendio dot se
2022-01-10  8:16 ` [Bug target/52991] [6/7/8 Regression] " pinskia at gcc dot gnu.org
2022-01-10  8:16 ` pinskia 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=bug-52991-4-GHYMlRPius@http.gcc.gnu.org/bugzilla/ \
    --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).