public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/12890] New: ICE on compilation of class with throwing method
@ 2003-11-03 20:17 gcc-bug at vogtner dot de
  2003-11-03 20:20 ` [Bug java/12890] " gcc-bug at vogtner dot de
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gcc-bug at vogtner dot de @ 2003-11-03 20:17 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=12890

           Summary: ICE on compilation of class with throwing method
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc-bug at vogtner dot de
                CC: gcc-bugs 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

to reproduce:

(1) put files M.java and E.java in cwd
(2) execute gcj M.java

I get:
   M.java:0: internal compiler error: Segmentation fault
   Please submit a full bug report,
   with preprocessed source if appropriate.
   See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Error show up with GCC 3.3, does not show up with GCC 3.2.2

==> M.java START <==
import E;

public class M {
        void fun (M q) throws E
        {
        }
};
==> M.java END <==
==> E.java START <==
public class E extends Throwable {
}
==> E.java END <==


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

* [Bug java/12890] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
@ 2003-11-03 20:20 ` gcc-bug at vogtner dot de
  2003-11-03 20:21 ` gcc-bug at vogtner dot de
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gcc-bug at vogtner dot de @ 2003-11-03 20:20 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=12890



------- Additional Comments From gcc-bug at vogtner dot de  2003-11-03 20:20 -------
Created an attachment (id=5048)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5048&action=view)
M.java


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

* [Bug java/12890] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
  2003-11-03 20:20 ` [Bug java/12890] " gcc-bug at vogtner dot de
@ 2003-11-03 20:21 ` gcc-bug at vogtner dot de
  2003-11-04  1:21 ` jbuck at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gcc-bug at vogtner dot de @ 2003-11-03 20:21 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=12890



------- Additional Comments From gcc-bug at vogtner dot de  2003-11-03 20:21 -------
Created an attachment (id=5049)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5049&action=view)
E.java


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

* [Bug java/12890] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
  2003-11-03 20:20 ` [Bug java/12890] " gcc-bug at vogtner dot de
  2003-11-03 20:21 ` gcc-bug at vogtner dot de
@ 2003-11-04  1:21 ` jbuck at gcc dot gnu dot org
  2003-11-04  4:38 ` [Bug java/12890] [3.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jbuck at gcc dot gnu dot org @ 2003-11-04  1:21 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=12890


jbuck at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-04 01:21:36
               date|                            |


------- Additional Comments From jbuck at gcc dot gnu dot org  2003-11-04 01:21 -------
Confirmed; it is also in 3.3.2 on i686-pc-linux-gnu.


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (2 preceding siblings ...)
  2003-11-04  1:21 ` jbuck at gcc dot gnu dot org
@ 2003-11-04  4:38 ` pinskia at gcc dot gnu dot org
  2003-11-11 16:29 ` aph at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-04  4:38 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=12890


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|ICE on compilation of class |[3.3 Regression] ICE on
                   |with throwing method        |compilation of class with
                   |                            |throwing method
   Target Milestone|---                         |3.3.3


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (3 preceding siblings ...)
  2003-11-04  4:38 ` [Bug java/12890] [3.3 Regression] " pinskia at gcc dot gnu dot org
@ 2003-11-11 16:29 ` aph at gcc dot gnu dot org
  2003-11-12 15:24 ` cvs-commit at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-11-11 16:29 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-11-04 01:21:36         |2003-11-11 16:29:09
               date|                            |


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (4 preceding siblings ...)
  2003-11-11 16:29 ` aph at gcc dot gnu dot org
@ 2003-11-12 15:24 ` cvs-commit at gcc dot gnu dot org
  2003-11-12 15:25 ` aph at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-12 15:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-12 15:24 -------
Subject: Bug 12890

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	aph@gcc.gnu.org	2003-11-12 15:24:42

Modified files:
	gcc/java       : ChangeLog lang.c parse.y 

Log message:
	2003-11-12  Andrew Haley  <aph@redhat.com>
	
	PR java/11533
	* lang.c (merge_init_test_initialization): Clear DECL_INITIAL for
	init_test_decls being inlined.
	
	PR java/12890:
	* parse.y (do_resolve_class): Check return value from
	breakdown_qualified().

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1287&r2=1.1288
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/lang.c.diff?cvsroot=gcc&r1=1.145&r2=1.146
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.453&r2=1.454



-- 


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (5 preceding siblings ...)
  2003-11-12 15:24 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-12 15:25 ` aph at gcc dot gnu dot org
  2004-02-26  6:14 ` gcc-bug at vogtner dot de
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aph at gcc dot gnu dot org @ 2003-11-12 15:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aph at gcc dot gnu dot org  2003-11-12 15:25 -------
Comments?  Pah!


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


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (6 preceding siblings ...)
  2003-11-12 15:25 ` aph at gcc dot gnu dot org
@ 2004-02-26  6:14 ` gcc-bug at vogtner dot de
  2004-02-26  6:37 ` dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gcc-bug at vogtner dot de @ 2004-02-26  6:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gcc-bug at vogtner dot de  2004-02-26 06:14 -------
just checked 3.3.3: Got the same error.

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


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (7 preceding siblings ...)
  2004-02-26  6:14 ` gcc-bug at vogtner dot de
@ 2004-02-26  6:37 ` dhazeghi at yahoo dot com
  2004-02-26 11:14 ` aph at redhat dot com
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-02-26  6:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2004-02-26 06:37 -------
Yeah, looks like Andrew didn't check his fix in on the branch...

-- 


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (9 preceding siblings ...)
  2004-02-26 11:14 ` aph at redhat dot com
@ 2004-02-26 11:14 ` cvs-commit at gcc dot gnu dot org
  2004-02-26 13:59 ` aph at gcc dot gnu dot org
  2004-02-26 16:28 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-26 11:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-02-26 11:14 -------
Subject: Bug 12890

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	aph@gcc.gnu.org	2004-02-26 11:13:58

Modified files:
	gcc/java       : ChangeLog parse.y 

Log message:
	2004-02-26  Andrew Haley  <aph@redhat.com>
	
	PR java/12890:
	* parse.y (do_resolve_class): Check return value from
	breakdown_qualified().

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1093.2.46&r2=1.1093.2.47
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.405.2.10&r2=1.405.2.11



-- 


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (8 preceding siblings ...)
  2004-02-26  6:37 ` dhazeghi at yahoo dot com
@ 2004-02-26 11:14 ` aph at redhat dot com
  2004-02-26 11:14 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: aph at redhat dot com @ 2004-02-26 11:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aph at redhat dot com  2004-02-26 11:14 -------
Subject:  [3.3 Regression] ICE on compilation of class with throwing method

dhazeghi at yahoo dot com writes:
 > 
 > ------- Additional Comments From dhazeghi at yahoo dot com  2004-02-26 06:37 -------
 > Yeah, looks like Andrew didn't check his fix in on the branch...

Sorry about that.

Andrew.


-- 


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (10 preceding siblings ...)
  2004-02-26 11:14 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-26 13:59 ` aph at gcc dot gnu dot org
  2004-02-26 16:28 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: aph at gcc dot gnu dot org @ 2004-02-26 13:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aph at gcc dot gnu dot org  2004-02-26 13:59 -------
.


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


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


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

* [Bug java/12890] [3.3 Regression] ICE on compilation of class with throwing method
  2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
                   ` (11 preceding siblings ...)
  2004-02-26 13:59 ` aph at gcc dot gnu dot org
@ 2004-02-26 16:28 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-26 16:28 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.3                       |3.3.4


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


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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 20:17 [Bug java/12890] New: ICE on compilation of class with throwing method gcc-bug at vogtner dot de
2003-11-03 20:20 ` [Bug java/12890] " gcc-bug at vogtner dot de
2003-11-03 20:21 ` gcc-bug at vogtner dot de
2003-11-04  1:21 ` jbuck at gcc dot gnu dot org
2003-11-04  4:38 ` [Bug java/12890] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-11-11 16:29 ` aph at gcc dot gnu dot org
2003-11-12 15:24 ` cvs-commit at gcc dot gnu dot org
2003-11-12 15:25 ` aph at gcc dot gnu dot org
2004-02-26  6:14 ` gcc-bug at vogtner dot de
2004-02-26  6:37 ` dhazeghi at yahoo dot com
2004-02-26 11:14 ` aph at redhat dot com
2004-02-26 11:14 ` cvs-commit at gcc dot gnu dot org
2004-02-26 13:59 ` aph at gcc dot gnu dot org
2004-02-26 16:28 ` 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).