From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9705 invoked by alias); 31 Aug 2005 15:26:11 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 9684 invoked by uid 48); 31 Aug 2005 15:26:10 -0000 Date: Wed, 31 Aug 2005 15:26:00 -0000 Message-ID: <20050831152610.9683.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20050829094413.23620.wmahan@gmail.com> References: <20050829094413.23620.wmahan@gmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces X-Bugzilla-Reason: CC X-SW-Source: 2005-q3/txt/msg00457.txt.bz2 List-Id: ------- 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 interface `B$BInt'. void methB() { } ^ 1 error Actually that is correct, we should error out, even fixing that bug I still get an ICE. I will report a bug for that one soon too. Back trace: #0 0x0805991c in check_inner_circular_reference (source=0xb7d35b80, target=0xb7d32b80) at parse.y:5375 #1 0x08059a15 in check_inner_circular_reference (source=0xb7d32e04, target=0xb7d32b80) at parse.y:5397 #2 0x08059a15 in check_inner_circular_reference (source=0xb7d32b80, target=0xb7d32b80) at parse.y:5397 #3 0x08066d99 in java_check_circular_reference () at parse.y:5445 #4 0x080cce1f in parse_source_file_3 () at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/java/jcf- parse.c:1020 #5 0x080d0a3d in java_parse_file (set_yydebug=0) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/ java/jcf-parse.c:1286 -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2005-08-31 15:26:08 date| | Summary|Segfault compiling inner |[4.0/4.1 Regression] |interfaces |Segfault compiling inner | |interfaces http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23620