public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/13508] New: ICE on legal code
@ 2003-12-30  0:06 rmerkert at alphatech dot com
  2003-12-30  0:07 ` [Bug java/13508] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rmerkert at alphatech dot com @ 2003-12-30  0:06 UTC (permalink / raw)
  To: gcc-bugs

The following code produces ICE:

cat > A.java <<EOF
public class A{
    public class B {
        public B() {
            assert false;
        }
    }
}
EOF
gcj -c A.java -classpath .

It seems to have something to do with the inner class, because this code works:
public class A{
    public A() {
            assert false;
    }
}


ICE happens in 3.4.0 20031224 and 3.3.3 20031222 and also in all other 3.3.x
releases.

-- 
           Summary: ICE on legal code
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rmerkert at alphatech dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: gcj (GCC) 3.4.0 20031224 (experimental)


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


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

* [Bug java/13508] ICE on legal code
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
@ 2003-12-30  0:07 ` pinskia at gcc dot gnu dot org
  2003-12-30  0:08 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30  0:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 00:06 -------
This is a dup of bug 11714.

*** This bug has been marked as a duplicate of 11714 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug java/13508] ICE on legal code
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
  2003-12-30  0:07 ` [Bug java/13508] " pinskia at gcc dot gnu dot org
@ 2003-12-30  0:08 ` pinskia at gcc dot gnu dot org
  2003-12-30  0:18 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30  0:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 00:07 -------
Lets turn that around.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|DUPLICATE                   |


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


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

* [Bug java/13508] ICE on legal code
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
  2003-12-30  0:07 ` [Bug java/13508] " pinskia at gcc dot gnu dot org
  2003-12-30  0:08 ` pinskia at gcc dot gnu dot org
@ 2003-12-30  0:18 ` pinskia at gcc dot gnu dot org
  2003-12-30  0:20 ` [Bug java/13508] ICE on assert in inner class pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30  0:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 00:07 -------
*** Bug 11714 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ingolia at mit dot edu


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


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

* [Bug java/13508] ICE on assert in inner class
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
                   ` (2 preceding siblings ...)
  2003-12-30  0:18 ` pinskia at gcc dot gnu dot org
@ 2003-12-30  0:20 ` pinskia at gcc dot gnu dot org
  2004-02-26 16:41 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-30  0:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-30 00:08 -------
Cofirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-30 00:08:35
               date|                            |
            Summary|ICE on legal code           |ICE on assert in inner class


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


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

* [Bug java/13508] ICE on assert in inner class
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
                   ` (3 preceding siblings ...)
  2003-12-30  0:20 ` [Bug java/13508] ICE on assert in inner class pinskia at gcc dot gnu dot org
@ 2004-02-26 16:41 ` pinskia at gcc dot gnu dot org
  2004-02-28  0:55 ` cvs-commit at gcc dot gnu dot org
  2004-02-28  0:59 ` bothner at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-26 16:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-26 16:41 -------
This is most likely fixed by:
2004-02-25  Per Bothner  <per@bothner.com>

	* parse.y (build_assertion):  If we're in an inner class, create the
	class$ helper routine in the outer class.
Can someone confirm that?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |per at bothner dot com
   Target Milestone|---                         |3.5.0


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


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

* [Bug java/13508] ICE on assert in inner class
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
                   ` (4 preceding siblings ...)
  2004-02-26 16:41 ` pinskia at gcc dot gnu dot org
@ 2004-02-28  0:55 ` cvs-commit at gcc dot gnu dot org
  2004-02-28  0:59 ` bothner at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-28  0:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-28 00:55 -------
Subject: Bug 13508

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bothner@gcc.gnu.org	2004-02-28 00:55:40

Modified files:
	gcc/java       : ChangeLog 

Log message:
	Note that entry fixes PR java/13508, java/11714.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1336&r2=1.1337



-- 


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


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

* [Bug java/13508] ICE on assert in inner class
  2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
                   ` (5 preceding siblings ...)
  2004-02-28  0:55 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-28  0:59 ` bothner at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: bothner at gcc dot gnu dot org @ 2004-02-28  0:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bothner at gcc dot gnu dot org  2004-02-28 00:59 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-02-28  0:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30  0:06 [Bug java/13508] New: ICE on legal code rmerkert at alphatech dot com
2003-12-30  0:07 ` [Bug java/13508] " pinskia at gcc dot gnu dot org
2003-12-30  0:08 ` pinskia at gcc dot gnu dot org
2003-12-30  0:18 ` pinskia at gcc dot gnu dot org
2003-12-30  0:20 ` [Bug java/13508] ICE on assert in inner class pinskia at gcc dot gnu dot org
2004-02-26 16:41 ` pinskia at gcc dot gnu dot org
2004-02-28  0:55 ` cvs-commit at gcc dot gnu dot org
2004-02-28  0:59 ` bothner 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).