public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "john at atrove dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/13021] New: GCJ Boehm descriptor may be incorrect if alignment  != sizeof(void*)
Date: Wed, 12 Nov 2003 12:25:00 -0000	[thread overview]
Message-ID: <20031112122506.13021.john@atrove.com> (raw)

The boehm descriptor generated by GCJ may be incorrect if the alignment is not 
the same as the sizeof(void*).  This is the case with the m68k, where the 
aligment is 16 bits, whilst a void* takes 32 bits.  The problem is that the 
boehm calualation truncates the descriptor, causing the boehm garbage 
collector to miss pointers, if a bitmap descriptor is generated and all 
pointers are not aligned to sizeof(void*).  If all the fields are not aligned 
to sizeof(void*), then a procedure descriptor should be generated.

-- 
           Summary: GCJ Boehm descriptor may be incorrect if alignment  !=
                    sizeof(void*)
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: john at atrove dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: m68k-unknown-coff


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


             reply	other threads:[~2003-11-12 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-12 12:25 john at atrove dot com [this message]
2005-07-13 13:34 ` [Bug java/13021] " pinskia 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=20031112122506.13021.john@atrove.com \
    --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).