public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/1177: gcj issues an error instead of a warning
@ 2000-12-20 12:21 oliver
0 siblings, 0 replies; only message in thread
From: oliver @ 2000-12-20 12:21 UTC (permalink / raw)
To: java-gnats
>Number: 1177
>Category: java
>Synopsis: gcj issues an error instead of a warning
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: closed
>Class: duplicate
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:17:01 PST 2000
>Closed-Date: Thu Apr 13 17:49:57 PDT 2000
>Last-Modified: Thu Apr 13 17:50:00 PDT 2000
>Originator: oliver@atecom.com
>Release: gcc version 2.96 20000410 (experimental)
>Organization:
>Environment:
>Description:
gcj complains about the variable result not having been initialized.
>How-To-Repeat:
gcj -C test.java
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/200
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Apr 13 17:49:57 2000
State-Changed-Why:
Duplicate of PR gcj/148.
From: Bryce McKinlay <bryce@albatross.co.nz>
To: oliver@atecom.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/200: gcj issues an error instead of a warning
Date: Fri, 14 Apr 2000 12:45:32 +1200
Hi Oliver,
Thanks for the bug report. This is a known problem - see PR gcj/148
("Definate Assignment Problem"). However, I'm going to add your test
code to our regression suite, because it deals with a try/finally block
rather than a try/catch block as in 148.
BTW, I dont think this code should generate either an error or a warning
- at least, it is accepted by both javac and jikes.
regards
[ bryce ]
From: bryce@albatross.co.nz
To: apbianco@cygnus.com, java-gnats@sourceware.cygnus.com, oliver@atecom.com
Cc:
Subject: Re: gcj/200
Date: 14 Apr 2000 00:49:57 -0000
Synopsis: gcj issues an error instead of a warning
State-Changed-From-To: open->closed
State-Changed-By: bryce
State-Changed-When: Thu Apr 13 17:49:57 2000
State-Changed-Why:
Duplicate of PR gcj/148.
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=200&database=java
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.java"
Ci8qKgogKiB0ZXN0LmphdmEKICoKICoKICogQ3JlYXRlZDogVGh1IEFwciAxMyAxNjo0ODo0MCAy
MDAwCiAqCiAqIEBhdXRob3IgT2xpdmVyIEJyYW5kdAogKiBAdmVyc2lvbgogKi8KCnB1YmxpYyBj
bGFzcyB0ZXN0ICB7CiAgICBwdWJsaWMgdGVzdCAoKSAKICAgIHsKICAgIH0KICAgIAogICAgcHVi
bGljIGludCBmb28gKCkKICAgIHsKICAgICAgICBpbnQgcmVzdWx0OwogICAgICAgIAogICAgICAg
IHRyeQogICAgICAgIHsKICAgICAgICAgICAgcmVzdWx0ID0gMDsKICAgICAgICB9CiAgICAgICAg
ZmluYWxseQogICAgICAgIHsKICAgICAgICB9CiAgICAgICAgcmV0dXJuIHJlc3VsdDsKICAgICAg
ICAKICAgIH0KICAgIAp9Ly8gdGVzdAo=
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-20 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-20 12:21 java/1177: gcj issues an error instead of a warning oliver
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).