public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/15713] New: compile interpret.cc with -fno-strict-aliasing
@ 2004-05-28 19:10 tromey at gcc dot gnu dot org
  2004-05-28 19:13 ` [Bug libgcj/15713] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-05-28 19:10 UTC (permalink / raw)
  To: java-prs

we should either fix interpret.cc or compile it with
-fno-strict-aliasing.  Andrew points out that 
it has code like this in it:

  jbyte value = (*(jint*)&rvalue) & 0xff;

-- 
           Summary: compile interpret.cc with -fno-strict-aliasing
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

* [Bug libgcj/15713] compile interpret.cc with -fno-strict-aliasing
  2004-05-28 19:10 [Bug libgcj/15713] New: compile interpret.cc with -fno-strict-aliasing tromey at gcc dot gnu dot org
@ 2004-05-28 19:13 ` pinskia at gcc dot gnu dot org
  2004-07-13  1:04 ` cvs-commit at gcc dot gnu dot org
  2004-07-13  1:29 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 19:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-28 19:10 -------
Confirmed, it would look nicer if you used a union also as then you can refer to the types by nice 
variable names like double_value and such like that.

This is in _Jv_InterpMethod::run.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-28 19:10:22
               date|                            |
            Version|unknown                     |3.5.0


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


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

* [Bug libgcj/15713] compile interpret.cc with -fno-strict-aliasing
  2004-05-28 19:10 [Bug libgcj/15713] New: compile interpret.cc with -fno-strict-aliasing tromey at gcc dot gnu dot org
  2004-05-28 19:13 ` [Bug libgcj/15713] " pinskia at gcc dot gnu dot org
@ 2004-07-13  1:04 ` cvs-commit at gcc dot gnu dot org
  2004-07-13  1:29 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-13  1:04 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-13 01:04 -------
Subject: Bug 15713

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bryce@gcc.gnu.org	2004-07-13 01:04:48

Modified files:
	libjava        : ChangeLog interpret.cc 
	libjava/include: jvm.h 
	libjava/gcj    : field.h 

Log message:
	2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
	
	PR libgcj/15713
	* include/jvm.h (_Jv_value): New union type.
	* gcj/field.h (_Jv_Field): Add new _addr union field variants
	* interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
	union members.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.2924&r2=1.2925
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/interpret.cc.diff?cvsroot=gcc&r1=1.42&r2=1.43
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/jvm.h.diff?cvsroot=gcc&r1=1.65&r2=1.66
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/field.h.diff?cvsroot=gcc&r1=1.9&r2=1.10



-- 


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


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

* [Bug libgcj/15713] compile interpret.cc with -fno-strict-aliasing
  2004-05-28 19:10 [Bug libgcj/15713] New: compile interpret.cc with -fno-strict-aliasing tromey at gcc dot gnu dot org
  2004-05-28 19:13 ` [Bug libgcj/15713] " pinskia at gcc dot gnu dot org
  2004-07-13  1:04 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-13  1:29 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-13  1:29 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-13 01:29 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-07-13  1:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 19:10 [Bug libgcj/15713] New: compile interpret.cc with -fno-strict-aliasing tromey at gcc dot gnu dot org
2004-05-28 19:13 ` [Bug libgcj/15713] " pinskia at gcc dot gnu dot org
2004-07-13  1:04 ` cvs-commit at gcc dot gnu dot org
2004-07-13  1:29 ` 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).