[Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native

2004-12-06 Thread tromey at gcc dot gnu dot org

--- Additional Comments From tromey at gcc dot gnu dot org  2004-12-06 
15:33 ---
Fix checked in, will appear in gcc 4.0


-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


[Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native

2004-12-06 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-06 
15:32 ---
Subject: Bug 14853

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-12-06 15:32:38

Modified files:
gcc/java   : ChangeLog java-tree.h parse.y check-init.c 

Log message:
PR java/14853:
* java-tree.h (extract_field_decl): Declare.
* parse.y (extract_field_decl): Renamed from
strip_out_static_field_access_decl.  No longer static.
* check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1516&r2=1.1517
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-tree.h.diff?cvsroot=gcc&r1=1.223&r2=1.224
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.524&r2=1.525
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/check-init.c.diff?cvsroot=gcc&r1=1.61&r2=1.62



-- 


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


[Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native

2004-12-06 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-06 
15:31 ---
Subject: Bug 14853

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-12-06 15:30:57

Modified files:
libjava: ChangeLog 
Added files:
libjava/testsuite/libjava.compile: PR14853.java PR14853.xfail 

Log message:
For PR java/14853:
* testsuite/libjava.compile/PR14853.java: New file.
* testsuite/libjava.compile/PR14853.xfail: New file.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3259&r2=1.3260
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/PR14853.java.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/PR14853.xfail.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


[Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native

2004-12-03 Thread tromey at gcc dot gnu dot org

--- Additional Comments From tromey at gcc dot gnu dot org  2004-12-04 
00:28 ---
I looked into this today.

When compiling to .o (or with --syntax-only), the
"System.out" reference is wrapped in a compound_expr
whose LHS initializes the System class.

I'm working on this.


-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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


[Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native

2004-10-31 Thread mmitchel at gcc dot gnu dot org

--- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-01 00:45 
---
Postponed until GCC 3.4.4.

-- 
   What|Removed |Added

   Target Milestone|3.4.3   |3.4.4


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