public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/24969] tmpdir-gcc.dg-struct-layout-1/t026 fails execution
Date: Fri, 02 Dec 2005 18:14:00 -0000	[thread overview]
Message-ID: <20051202181425.19429.qmail@sourceware.org> (raw)
In-Reply-To: <bug-24969-10053@http.gcc.gnu.org/bugzilla/>



------- Comment #10 from hubicka at gcc dot gnu dot org  2005-12-02 18:14 -------
Testing patch:
2005-12-02  Jan Hubicka  <jh@suse.cz>
        PR target/24969
        * i386.c (classify_argument): Properly adjust offset of bitfield for
        substructures.
Index: config/i386/i386.c
===================================================================
*** config/i386/i386.c  (revision 107909)
--- config/i386/i386.c  (working copy)
*************** classify_argument (enum machine_mode mod
*** 2652,2659 ****
                     misaligned integers.  */
                  if (DECL_BIT_FIELD (field))
                    {
!                     for (i = int_bit_position (field) / 8 / 8;
!                          i < (int_bit_position (field)
                                + tree_low_cst (DECL_SIZE (field), 0)
                                + 63) / 8 / 8; i++)
                        classes[i] =
--- 2652,2659 ----
                     misaligned integers.  */
                  if (DECL_BIT_FIELD (field))
                    {
!                     for (i = (int_bit_position (field) + (bit_offset % 64)) /
8 / 8;
!                          i < ((int_bit_position (field) + (bit_offset % 64))
                                + tree_low_cst (DECL_SIZE (field), 0)
                                + 63) / 8 / 8; i++)
                        classes[i] =


-- 


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


  parent reply	other threads:[~2005-12-02 18:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 12:20 [Bug c/24969] New: [4.1/4.2 Regression] " rguenth at gcc dot gnu dot org
2005-11-21 12:22 ` [Bug c/24969] " rguenth at gcc dot gnu dot org
2005-11-21 12:26 ` [Bug c/24969] " rguenth at gcc dot gnu dot org
2005-11-21 12:29 ` rguenth at gcc dot gnu dot org
2005-11-21 13:40 ` [Bug middle-end/24969] " rguenth at gcc dot gnu dot org
2005-11-21 14:06 ` rguenth at gcc dot gnu dot org
2005-11-21 14:25 ` matz at suse dot de
2005-11-21 14:31 ` [Bug target/24969] " rguenth at gcc dot gnu dot org
2005-11-21 14:35 ` rguenth at gcc dot gnu dot org
2005-11-21 15:29 ` pinskia at gcc dot gnu dot org
2005-11-21 15:35 ` pinskia at gcc dot gnu dot org
2005-12-02 18:14 ` hubicka at gcc dot gnu dot org [this message]
2005-12-09 10:09 ` rguenth at gcc dot gnu dot org
2005-12-15 12:49 ` hubicka at gcc dot gnu dot org
2005-12-15 13:48 ` hubicka at gcc dot gnu dot org
2005-12-15 16:24 ` pinskia at gcc dot gnu dot org
2005-12-15 19:04 ` hubicka 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=20051202181425.19429.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).