public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/14853] New: gcj doesnt reject invalid code with -c
@ 2004-04-05 15:04 konqueror at gmx dot de
  2004-04-05 15:05 ` [Bug java/14853] " konqueror at gmx dot de
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: konqueror at gmx dot de @ 2004-04-05 15:04 UTC (permalink / raw)
  To: java-prs

When compiling the following code with "gcj -C" an error message orrurs 
correctly as with other java compilers too. With "gcj -c" this code gets 
compiled successfully (incorrectly) and works, but it should be rejected too. 
 
public class FinalTest 
{ 
public static void main (String[] args) 
{ 
        System.out = new java.io.PrintStream(null); 
} 
}

-- 
           Summary: gcj doesnt reject invalid code with -c
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: konqueror at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug java/14853] gcj doesnt reject invalid code with -c
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
@ 2004-04-05 15:05 ` konqueror at gmx dot de
  2004-04-05 15:13 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: konqueror at gmx dot de @ 2004-04-05 15:05 UTC (permalink / raw)
  To: java-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |konqueror at gmx dot de


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


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

* [Bug java/14853] gcj doesnt reject invalid code with -c
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
  2004-04-05 15:05 ` [Bug java/14853] " konqueror at gmx dot de
@ 2004-04-05 15:13 ` pinskia at gcc dot gnu dot org
  2004-04-05 15:53 ` [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively pinskia at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-05 15:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-05 15:12 -------
Confirmed.
Here is an example not dependent on System.out and shows the problem more clearly:
class tt
{
  static final tt tt1 = new tt();
  tt()
  {
  }
}
public class FinalTest
{
public static void main (String[] args)
{
        tt.tt1 = new tt();
}
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-05 15:12:57
               date|                            |


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


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

* [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
  2004-04-05 15:05 ` [Bug java/14853] " konqueror at gmx dot de
  2004-04-05 15:13 ` pinskia at gcc dot gnu dot org
@ 2004-04-05 15:53 ` pinskia at gcc dot gnu dot org
  2004-06-06  3:58 ` giovannibajo at libero dot it
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-05 15:53 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-05 15:53 -------
This is a regression from 3.0.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
      Known to fail|                            |3.5.0 3.4.0 3.3.3 3.2.3
      Known to work|                            |3.0.4
            Summary|gcj doesnt reject invalid   |[3.3/3.4/3.5 Regression] gcj
                   |code with -c                |doesnt reject invalid code
                   |                            |when compiling natively
   Target Milestone|---                         |3.3.4


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


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

* [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (2 preceding siblings ...)
  2004-04-05 15:53 ` [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively pinskia at gcc dot gnu dot org
@ 2004-06-06  3:58 ` giovannibajo at libero dot it
  2004-06-12 21:56 ` mmitchel at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: giovannibajo at libero dot it @ 2004-06-06  3:58 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From giovannibajo at libero dot it  2004-06-06 03:50 -------
Retargeting to 3.4.1, being a regression on that release branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org
   Target Milestone|3.3.4                       |3.4.1


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


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

* [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (3 preceding siblings ...)
  2004-06-06  3:58 ` giovannibajo at libero dot it
@ 2004-06-12 21:56 ` mmitchel at gcc dot gnu dot org
  2004-08-19 20:47 ` [Bug java/14853] [3.3/3.4/3.5 Regression] Assignment to final field permitted when compiling to native mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-06-12 21:56 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-06-12 21:56 -------
Postponed until GCC 3.4.2.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.1                       |3.4.2


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


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

* [Bug java/14853] [3.3/3.4/3.5 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (4 preceding siblings ...)
  2004-06-12 21:56 ` mmitchel at gcc dot gnu dot org
@ 2004-08-19 20:47 ` mmitchel at gcc dot gnu dot org
  2004-11-01  0:45 ` [Bug java/14853] [3.3/3.4/4.0 " mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-19 20:47 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-08-19 20:47 -------
Postponed until GCC 3.4.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.2                       |3.4.3


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


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

* [Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (5 preceding siblings ...)
  2004-08-19 20:47 ` [Bug java/14853] [3.3/3.4/3.5 Regression] Assignment to final field permitted when compiling to native mmitchel at gcc dot gnu dot org
@ 2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
  2004-12-04  0:29 ` tromey at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01  0:45 UTC (permalink / raw)
  To: java-prs


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


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

* [Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (6 preceding siblings ...)
  2004-11-01  0:45 ` [Bug java/14853] [3.3/3.4/4.0 " mmitchel at gcc dot gnu dot org
@ 2004-12-04  0:29 ` tromey at gcc dot gnu dot org
  2004-12-06 15:31 ` cvs-commit at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-04  0:29 UTC (permalink / raw)
  To: java-prs


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


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

* [Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (7 preceding siblings ...)
  2004-12-04  0:29 ` tromey at gcc dot gnu dot org
@ 2004-12-06 15:31 ` cvs-commit at gcc dot gnu dot org
  2004-12-06 15:32 ` cvs-commit at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-06 15:31 UTC (permalink / raw)
  To: java-prs


------- 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:	tromey@gcc.gnu.org	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


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

* [Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (8 preceding siblings ...)
  2004-12-06 15:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-06 15:32 ` cvs-commit at gcc dot gnu dot org
  2004-12-06 15:34 ` tromey at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-06 15:32 UTC (permalink / raw)
  To: java-prs


------- 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:	tromey@gcc.gnu.org	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


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

* [Bug java/14853] [3.3/3.4/4.0 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (9 preceding siblings ...)
  2004-12-06 15:32 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-06 15:34 ` tromey at gcc dot gnu dot org
  2004-12-06 18:31 ` [Bug java/14853] [3.3/3.4 " giovannibajo at libero dot it
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-06 15:34 UTC (permalink / raw)
  To: java-prs


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (10 preceding siblings ...)
  2004-12-06 15:34 ` tromey at gcc dot gnu dot org
@ 2004-12-06 18:31 ` giovannibajo at libero dot it
  2004-12-06 18:34 ` tromey at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-06 18:31 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From giovannibajo at libero dot it  2004-12-06 18:31 -------
This is a regression on active branches, so the bug should stay open until it's 
fixed there. Is a backport of your patch feasable for the 3.4 and 3.3 branches?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|[3.3/3.4/4.0 Regression]    |[3.3/3.4 Regression]
                   |Assignment to final field   |Assignment to final field
                   |permitted when compiling to |permitted when compiling to
                   |native                      |native


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (11 preceding siblings ...)
  2004-12-06 18:31 ` [Bug java/14853] [3.3/3.4 " giovannibajo at libero dot it
@ 2004-12-06 18:34 ` tromey at gcc dot gnu dot org
  2004-12-06 18:38 ` giovannibajo at libero dot it
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-06 18:34 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-12-06 18:34 -------
The patch should probably apply as-is to 3.4.


-- 


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (12 preceding siblings ...)
  2004-12-06 18:34 ` tromey at gcc dot gnu dot org
@ 2004-12-06 18:38 ` giovannibajo at libero dot it
  2004-12-07 17:07 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-06 18:38 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From giovannibajo at libero dot it  2004-12-06 18:38 -------
Will you test it there then?

-- 


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (13 preceding siblings ...)
  2004-12-06 18:38 ` giovannibajo at libero dot it
@ 2004-12-07 17:07 ` tromey at gcc dot gnu dot org
  2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-07 17:07 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-12-07 17:07 -------
I'm building this for 3.4 right now.
If it works ok I will submit it.
I don't plan to try it for 3.3.


-- 


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (15 preceding siblings ...)
  2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
  2004-12-08 18:09 ` pinskia at gcc dot gnu dot org
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-08 17:29 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-08 17:29 -------
Subject: Bug 14853

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	tromey@gcc.gnu.org	2004-12-08 17:29:02

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&only_with_tag=gcc-3_4-branch&r1=1.2562.2.26&r2=1.2562.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/PR14853.java.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.compile/PR14853.xfail.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (14 preceding siblings ...)
  2004-12-07 17:07 ` tromey at gcc dot gnu dot org
@ 2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
  2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
  2004-12-08 18:09 ` pinskia at gcc dot gnu dot org
  17 siblings, 0 replies; 19+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-08 17:29 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-08 17:29 -------
Subject: Bug 14853

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	tromey@gcc.gnu.org	2004-12-08 17:29:42

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

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&only_with_tag=gcc-3_4-branch&r1=1.1315.2.19&r2=1.1315.2.20
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/check-init.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.53&r2=1.53.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-tree.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.194&r2=1.194.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.464.4.2&r2=1.464.4.3



-- 


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


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

* [Bug java/14853] [3.3/3.4 Regression] Assignment to final field permitted when compiling to native
  2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
                   ` (16 preceding siblings ...)
  2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-08 18:09 ` pinskia at gcc dot gnu dot org
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-08 18:09 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-08 18:09 -------
Fixed on the 3.4 branch also.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-12-08 18:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-05 15:04 [Bug java/14853] New: gcj doesnt reject invalid code with -c konqueror at gmx dot de
2004-04-05 15:05 ` [Bug java/14853] " konqueror at gmx dot de
2004-04-05 15:13 ` pinskia at gcc dot gnu dot org
2004-04-05 15:53 ` [Bug java/14853] [3.3/3.4/3.5 Regression] gcj doesnt reject invalid code when compiling natively pinskia at gcc dot gnu dot org
2004-06-06  3:58 ` giovannibajo at libero dot it
2004-06-12 21:56 ` mmitchel at gcc dot gnu dot org
2004-08-19 20:47 ` [Bug java/14853] [3.3/3.4/3.5 Regression] Assignment to final field permitted when compiling to native mmitchel at gcc dot gnu dot org
2004-11-01  0:45 ` [Bug java/14853] [3.3/3.4/4.0 " mmitchel at gcc dot gnu dot org
2004-12-04  0:29 ` tromey at gcc dot gnu dot org
2004-12-06 15:31 ` cvs-commit at gcc dot gnu dot org
2004-12-06 15:32 ` cvs-commit at gcc dot gnu dot org
2004-12-06 15:34 ` tromey at gcc dot gnu dot org
2004-12-06 18:31 ` [Bug java/14853] [3.3/3.4 " giovannibajo at libero dot it
2004-12-06 18:34 ` tromey at gcc dot gnu dot org
2004-12-06 18:38 ` giovannibajo at libero dot it
2004-12-07 17:07 ` tromey at gcc dot gnu dot org
2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
2004-12-08 17:29 ` cvs-commit at gcc dot gnu dot org
2004-12-08 18:09 ` 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).