public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment  != sizeof(void*)
       [not found] <bug-13021-6828@http.gcc.gnu.org/bugzilla/>
@ 2006-04-12 17:42 ` tromey at gcc dot gnu dot org
  2007-09-07 14:00 ` zippel at gcc dot gnu dot org
  2007-09-07 15:26 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2006-04-12 17:42 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2006-04-12 17:42 -------
I don't have a convenient way to test a fix for this.
But it does not look very hard to fix... just adding
an extra check in boehm.c:mark_reference_fields.

Note that the corresponding code in libgcj already seems
to handle this case:

              // If we run into a weird situation, we bail.
              if (off % sizeof (void *) != 0)
                return (void *) (GCJ_DEFAULT_DESCR);


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment  != sizeof(void*)
       [not found] <bug-13021-6828@http.gcc.gnu.org/bugzilla/>
  2006-04-12 17:42 ` [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment != sizeof(void*) tromey at gcc dot gnu dot org
@ 2007-09-07 14:00 ` zippel at gcc dot gnu dot org
  2007-09-07 15:26 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: zippel at gcc dot gnu dot org @ 2007-09-07 14:00 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from zippel at gcc dot gnu dot org  2007-09-07 14:00 -------
This now fixed on trunk with r128191/r128208.


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment  != sizeof(void*)
       [not found] <bug-13021-6828@http.gcc.gnu.org/bugzilla/>
  2006-04-12 17:42 ` [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment != sizeof(void*) tromey at gcc dot gnu dot org
  2007-09-07 14:00 ` zippel at gcc dot gnu dot org
@ 2007-09-07 15:26 ` tromey at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-09-07 15:26 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2007-09-07 15:26 -------
Fixed.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment  != sizeof(void*)
       [not found] <20031112122506.13021.john@atrove.com>
@ 2005-07-13 13:32 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-13 13:32 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-13 13:31 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   GCC host triplet|i686-pc-cygwin              |
 GCC target triplet|m68k-unknown-coff           |m68k-*-coff
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-13 13:31:57
               date|                            |
            Summary|GCJ Boehm descriptor may be |GCJ Boehm descriptor may be
                   |incorrect if alignment  !=  |incorrect if alignment  !=
                   |sizeof(void*)               |sizeof(void*)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-07 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-13021-6828@http.gcc.gnu.org/bugzilla/>
2006-04-12 17:42 ` [Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment != sizeof(void*) tromey at gcc dot gnu dot org
2007-09-07 14:00 ` zippel at gcc dot gnu dot org
2007-09-07 15:26 ` tromey at gcc dot gnu dot org
     [not found] <20031112122506.13021.john@atrove.com>
2005-07-13 13:32 ` pinskia at gcc dot gnu dot org

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).