public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
@ 2003-05-25 23:03 ` pinskia@physics.uc.edu
  2004-08-13 20:23 ` tromey at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: pinskia@physics.uc.edu @ 2003-05-25 23:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-05-25 22:53:47
               date|                            |


------- Additional Comments From pinskia@physics.uc.edu  2003-05-25 22:53 -------
Confirmed on mainline (20030525):
tin:~/src/gnu/gcctest>gcj AnonymousArrayAccess.java 
AnonymousArrayAccess.java:4: error: ';' expected.
       Object o = new Object[]{}[0];
                                ^
1 error



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
  2003-05-25 23:03 ` [Bug java/8473] syntax error on anonymous array subscript pinskia@physics.uc.edu
@ 2004-08-13 20:23 ` tromey at gcc dot gnu dot org
  2004-08-13 21:04 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-08-13 20:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-08-13 20:23 -------
Just a spec note: this is disallowed by one of the grammars
in the JLS, but is actually valid.  The Java Spec Report
is good on this (as so many other things):

http://www.ergnosis.com/java-spec-report/java-language/jls-15.13.html

A quick glance at parse.y indicates that our grammar simply
doesn't allow for this; it probably follows the incorrect part
of the JLS.


-- 


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


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

* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
  2003-05-25 23:03 ` [Bug java/8473] syntax error on anonymous array subscript pinskia@physics.uc.edu
  2004-08-13 20:23 ` tromey at gcc dot gnu dot org
@ 2004-08-13 21:04 ` tromey at gcc dot gnu dot org
  2004-08-16 23:57 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-08-13 21:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-08-13 21:04 -------
Testing a patch.


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


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

* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
                   ` (2 preceding siblings ...)
  2004-08-13 21:04 ` tromey at gcc dot gnu dot org
@ 2004-08-16 23:57 ` cvs-commit at gcc dot gnu dot org
  2004-08-16 23:58 ` cvs-commit at gcc dot gnu dot org
  2004-08-16 23:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-16 23:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-16 23:57 -------
Subject: Bug 8473

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2004-08-16 23:57:30

Modified files:
	libjava        : ChangeLog 
	libjava/testsuite/libjava.jacks: jacks.xfail 

Log message:
	PR java/8473:
	* testsuite/libjava.jacks/jacks.xfail: Removed passing test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3005&r2=1.3006
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/testsuite/libjava.jacks/jacks.xfail.diff?cvsroot=gcc&r1=1.16&r2=1.17



-- 


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


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

* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
                   ` (3 preceding siblings ...)
  2004-08-16 23:57 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-16 23:58 ` cvs-commit at gcc dot gnu dot org
  2004-08-16 23:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-16 23:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-08-16 23:57 -------
Subject: Bug 8473

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tromey@gcc.gnu.org	2004-08-16 23:57:56

Modified files:
	gcc/java       : ChangeLog parse.y 

Log message:
	PR java/8473:
	* parse.y (primary): Changed for initialized and uninitialized
	array creations.
	(array_access): Handle array_creation_initialized.
	(array_creation_expression): Split into
	array_creation_initialized and array_creation_uninitialized.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1438&r2=1.1439
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.500&r2=1.501



-- 


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


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

* [Bug java/8473] syntax error on anonymous array subscript
       [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
                   ` (4 preceding siblings ...)
  2004-08-16 23:58 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-16 23:59 ` tromey at gcc dot gnu dot org
  5 siblings, 0 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-08-16 23:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tromey at gcc dot gnu dot org  2004-08-16 23:59 -------
Fix checked in, will appear in 3.5.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


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

end of thread, other threads:[~2004-08-16 23:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20021105231600.8473.jmr@ugcs.caltech.edu>
2003-05-25 23:03 ` [Bug java/8473] syntax error on anonymous array subscript pinskia@physics.uc.edu
2004-08-13 20:23 ` tromey at gcc dot gnu dot org
2004-08-13 21:04 ` tromey at gcc dot gnu dot org
2004-08-16 23:57 ` cvs-commit at gcc dot gnu dot org
2004-08-16 23:58 ` cvs-commit at gcc dot gnu dot org
2004-08-16 23:59 ` tromey 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).