public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/27104]  New: definite assingment bug in GCJ
@ 2006-04-10 19:00 vnasardinov at gmail dot com
  2006-04-10 19:02 ` [Bug libgcj/27104] " vnasardinov at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: vnasardinov at gmail dot com @ 2006-04-10 19:00 UTC (permalink / raw)
  To: java-prs

All of the compiler versions are the same as in bug 27101.

Sun's compiler:

| $ javac UnwelcomeGuest.java 
| UnwelcomeGuest.java:9: variable USER_ID might already have been assigned
|             USER_ID = GUEST_USER_ID;
|             ^
| 1 error

The Eclipse compiler:

| $ ecj UnwelcomeGuest.java 
| ----------
| 1. ERROR in UnwelcomeGuest.java
|  (at line 9)
|       USER_ID = GUEST_USER_ID;
|       ^^^^^^^
| The final field USER_ID may already have been assigned
| ----------
| 1 problem (1 error)

GCJ:

| $ gcj -C UnwelcomeGuest.java 
| $ echo $?
| 0

Will attach the test case momentarily.


-- 
           Summary: definite assingment bug in GCJ
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vnasardinov at gmail dot com


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


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

end of thread, other threads:[~2006-04-10 19:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-10 19:00 [Bug libgcj/27104] New: definite assingment bug in GCJ vnasardinov at gmail dot com
2006-04-10 19:02 ` [Bug libgcj/27104] " vnasardinov at gmail dot com
2006-04-10 19:04 ` [Bug java/27104] static final variable not being tracked as being set correctly pinskia at gcc dot gnu dot org
2006-04-10 19:15 ` vnasardinov at gmail dot com

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