public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation
@ 2005-02-11 16:42 dog at bluezoo dot org
  2005-02-11 16:52 ` [Bug java/19908] " dog at bluezoo dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dog at bluezoo dot org @ 2005-02-11 16:42 UTC (permalink / raw)
  To: java-prs

The issue reported on the mailing list

  http://gcc.gnu.org/ml/java/2005-02/msg00031.html

shows that gcj will not inline a primitive final field that is i initialised
where it is declared, whereas Sun's implementation will (1.5).

The output of FinalFieldChange is

   Ng Keng Yap, 27 of IQ=150 from Malaysia

whereas Sun 1.5 outputs

   Ng Keng Yap, 27 of IQ=110 from Malaysia

-- 
           Summary: Inlining of final fields incompatible with Sun's
                    implementation
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dog at bluezoo dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: powerpc-apple-darwin7.7.0


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


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

* [Bug java/19908] Inlining of final fields incompatible with Sun's implementation
  2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
@ 2005-02-11 16:52 ` dog at bluezoo dot org
  2005-02-11 16:54 ` dog at bluezoo dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dog at bluezoo dot org @ 2005-02-11 16:52 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dog at bluezoo dot org  2005-02-11 16:41 -------
Created an attachment (id=8178)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8178&action=view)
The Person class


-- 


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


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

* [Bug java/19908] Inlining of final fields incompatible with Sun's implementation
  2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
  2005-02-11 16:52 ` [Bug java/19908] " dog at bluezoo dot org
@ 2005-02-11 16:54 ` dog at bluezoo dot org
  2005-02-11 20:50 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dog at bluezoo dot org @ 2005-02-11 16:54 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dog at bluezoo dot org  2005-02-11 16:42 -------
Created an attachment (id=8179)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8179&action=view)
The main class to reproduce the bug


-- 


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


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

* [Bug java/19908] Inlining of final fields incompatible with Sun's implementation
  2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
  2005-02-11 16:52 ` [Bug java/19908] " dog at bluezoo dot org
  2005-02-11 16:54 ` dog at bluezoo dot org
@ 2005-02-11 20:50 ` pinskia at gcc dot gnu dot org
  2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
  2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-11 20:50 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8178|text/x-java-source          |text/plain
          mime type|                            |


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


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

* [Bug java/19908] Inlining of final fields incompatible with Sun's implementation
  2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
                   ` (2 preceding siblings ...)
  2005-02-11 20:50 ` pinskia at gcc dot gnu dot org
@ 2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
  2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-11 20:56 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8179|text/x-java-source          |text/plain
          mime type|                            |


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


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

* [Bug java/19908] Inlining of final fields incompatible with Sun's implementation
  2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
                   ` (3 preceding siblings ...)
  2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
@ 2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-11 20:56 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-11 16:54 -------
As dicussed there are still questions if this is wrong code or not.  Yes this 
is not the same as Sun's implementation but that means nothing really.

-- 


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


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

end of thread, other threads:[~2005-02-11 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 16:42 [Bug java/19908] New: Inlining of final fields incompatible with Sun's implementation dog at bluezoo dot org
2005-02-11 16:52 ` [Bug java/19908] " dog at bluezoo dot org
2005-02-11 16:54 ` dog at bluezoo dot org
2005-02-11 20:50 ` pinskia at gcc dot gnu dot org
2005-02-11 20:56 ` pinskia at gcc dot gnu dot org
2005-02-11 20:56 ` 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).