This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/1229: Compiler problem with regard to initialization.
- To: java-gnats at sourceware dot cygnus dot com
- Subject: java/1229: Compiler problem with regard to initialization.
- From: apbianco at sourceware dot cygnus dot com
- Date: 6 Apr 2000 16:27:22 -0000
- Reply-To: apbianco at sourceware dot cygnus dot com
>Number: 1229
>Category: java
>Synopsis: Compiler problem with regard to initialization.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: tromey
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:18:02 PST 2000
>Closed-Date: Thu Jul 06 10:54:02 PDT 2000
>Last-Modified: Thu Jul 6 11:00:00 PDT 2000
>Originator: Alex Petit-Bianco
>Release: All, I guess.
>Organization:
>Environment:
RHL6.1
>Description:
Gcj'ing the testcase down to bytecode and running it with
gij produces the right output. Gcj'ing down to bytecode and
then translating it to native and running the executable
produces the right output. Gcj'ing from source down to
native and running the executable produces an incorrect
output.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/193
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Jul 6 10:54:02 2000
Responsible-Changed-Why:
I fixed this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Thu Jul 6 10:54:02 2000
State-Changed-Why:
I fixed this bug a while back.
From: tromey@cygnus.com
To: apbianco@cygnus.com, apbianco@sourceware.cygnus.com,
java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:
Subject: Re: gcj/193
Date: 6 Jul 2000 17:54:02 -0000
Synopsis: Compiler problem with regard to initialization.
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Jul 6 10:54:02 2000
Responsible-Changed-Why:
I fixed this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Thu Jul 6 10:54:02 2000
State-Changed-Why:
I fixed this bug a while back.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=193&database=java
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="StaticInit4.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="StaticInit4.java"
aW50ZXJmYWNlIEkgewogICAgaW50IGkgPSAxLCBpaSA9IFN0YXRpY0luaXQ0Lm91dCgiaWkiLCAy
KTsKfQoKaW50ZXJmYWNlIEogZXh0ZW5kcyBJIHsKICAgIGludCBqID0gU3RhdGljSW5pdDQub3V0
KCJqIiwgMyksIGpqID0gU3RhdGljSW5pdDQub3V0KCJqaiIsIDQpOwp9CgppbnRlcmZhY2UgSyBl
eHRlbmRzIEogewogICAgaW50IGsgPSBTdGF0aWNJbml0NC5vdXQoImsiLCA1KTsKfQoKY2xhc3Mg
U3RhdGljSW5pdDQgewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykg
ewogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihKLmkpOwogICAgICAgIFN5c3RlbS5vdXQucHJp
bnRsbihLLmopOwogICAgfQoKICAgIHB1YmxpYyBzdGF0aWMgaW50IG91dChTdHJpbmcgcywgaW50
IGkpIHsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4ocyArICI9IiArIGkpOwogICAgICAgIHJl
dHVybiBpOwogICAgfQp9Cg==