[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.0 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #10 from cvs-commit at gcc dot gnu dot org 2005-10-14 08:48 --- Subject: Bug 23620 CVSROOT:/cvs/gcc Module name:gcc Branch: gcc-4_0-branch Changes by: [EMAIL PROTECTED] 2005-10-14 08:48:02 Modified files: gcc/java : ChangeLog clas

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread nathan at gcc dot gnu dot org
--- Comment #9 from nathan at gcc dot gnu dot org 2005-10-14 08:48 --- fixed mainline and 4.0 2005-10-14 Nathan Sidwell <[EMAIL PROTECTED]> Wil Mahan <[EMAIL PROTECTED]> PR java/23620 * class.c (make_class): Create empty binfo here. (set_super_info)

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-10-14 Thread cvs-commit at gcc dot gnu dot org
--- Comment #8 from cvs-commit at gcc dot gnu dot org 2005-10-14 08:46 --- Subject: Bug 23620 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-10-14 08:46:55 Modified files: gcc/java : ChangeLog class.c Log message: PR ja

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-09-21 Thread tromey at gcc dot gnu dot org
--- Additional Comments From tromey at gcc dot gnu dot org 2005-09-21 14:29 --- I had to make the methods in B and C public in order to compile. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-09-02 Thread nathan at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |nathan at gcc dot gnu dot |dot org |org Status|NEW

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-09-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-01 21:37 --- Then this was caused by: * class.c (make_class): Do not create binfo here. (set_super_info): Create it here. * java-tree.h (CLASS_HAS_SUPER): Cope with lack of a binfo. Nathan? --

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-09-01 Thread wmahan at gmail dot com
--- Additional Comments From wmahan at gmail dot com 2005-09-01 19:18 --- I think I found the root of the problem. In 3.4.x, make_class() in java/class.c looks like this: type = make_node (RECORD_TYPE); TYPE_BINFO (type) = make_tree_vec (BINFO_ELTS); MAYBE_CREATE_TYPE_TYPE_LANG_SP

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-08-31 Thread wmahan at gmail dot com
--- Additional Comments From wmahan at gmail dot com 2005-08-31 16:23 --- I guess that is a bug in my test case. I didn't notice because it compiles fine with gcc 4.0.1 when A.class and A$AInt.class are not present. The problem seems to be that when check_inner_circular_reference() is l

[Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces

2005-08-31 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 15:26 --- Confirmed, this is a regression from 3.4.0 where this worked just fine. before 3.4.0, we rejected this with: C.java:2: error: Class `C' must override `C.methB()' with a public method in order to implement