public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/23620] [4.0/4.1 Regression] Segfault compiling inner interfaces
Date: Wed, 31 Aug 2005 15:30:00 -0000	[thread overview]
Message-ID: <20050831152610.9680.qmail@sourceware.org> (raw)
In-Reply-To: <20050829094413.23620.wmahan@gmail.com>


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


  parent reply	other threads:[~2005-08-31 15:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29  9:44 [Bug java/23620] New: " wmahan at gmail dot com
2005-08-30 11:45 ` [Bug java/23620] " pinskia at gcc dot gnu dot org
2005-08-31 15:30 ` pinskia at gcc dot gnu dot org [this message]
2005-08-31 16:24 ` [Bug java/23620] [4.0/4.1 Regression] " wmahan at gmail dot com
2005-09-01 19:18 ` wmahan at gmail dot com
2005-09-01 21:38 ` pinskia at gcc dot gnu dot org
2005-09-02  7:13 ` nathan at gcc dot gnu dot org
2005-09-21 14:29 ` tromey at gcc dot gnu dot org
     [not found] <bug-23620-11253@http.gcc.gnu.org/bugzilla/>
2005-10-14  8:47 ` cvs-commit at gcc dot gnu dot org
2005-10-14  8:48 ` nathan at gcc dot gnu dot org
2005-10-14  8:48 ` cvs-commit at gcc dot gnu dot org
2005-10-14 12:09 ` pinskia at gcc dot gnu dot org
2005-10-14 12:10 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050831152610.9680.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).