public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/26603]  New: compiler crashes "segmentation fault"
@ 2006-03-08 12:03 salwicki at MIMUW dot EDU dot PL
  2006-03-08 12:59 ` [Bug java/26603] ICE on invalid using non static inner class as base class outside the class pinskia at gcc dot gnu dot org
  2006-03-08 13:00 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: salwicki at MIMUW dot EDU dot PL @ 2006-03-08 12:03 UTC (permalink / raw)
  To: java-prs

when compiling 

class A{
    class B{}
}

class C extends A.B{}

with 
gcj -S 
compiler crashes

     author of report
                     Marek Warpechowski  warp@mimuw.edu.pl


-- 
           Summary: compiler crashes "segmentation fault"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: salwicki at MIMUW dot EDU dot PL
 GCC build triplet: gcj 4.0.2  from ubuntu repository
  GCC host triplet: amd64 kubuntu


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


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

* [Bug java/26603] ICE on invalid using non static inner class as base class outside the class
  2006-03-08 12:03 [Bug java/26603] New: compiler crashes "segmentation fault" salwicki at MIMUW dot EDU dot PL
@ 2006-03-08 12:59 ` pinskia at gcc dot gnu dot org
  2006-03-08 13:00 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 12:59 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-08 12:59 -------
This is invalid code as you cannot use A.B outside of A as it is not a static
inner class.

Confirmed, not a regression.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|gcj 4.0.2  from ubuntu      |
                   |repository                  |
   GCC host triplet|amd64 kubuntu               |
           Keywords|                            |ice-on-invalid-code
      Known to fail|                            |3.0.4 3.2.3 3.4.0 4.0.0
                   |                            |4.1.0 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-08 12:59:57
               date|                            |
            Summary|compiler crashes            |ICE on invalid using non
                   |"segmentation fault"        |static inner class as base
                   |                            |class outside the class


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


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

* [Bug java/26603] ICE on invalid using non static inner class as base class outside the class
  2006-03-08 12:03 [Bug java/26603] New: compiler crashes "segmentation fault" salwicki at MIMUW dot EDU dot PL
  2006-03-08 12:59 ` [Bug java/26603] ICE on invalid using non static inner class as base class outside the class pinskia at gcc dot gnu dot org
@ 2006-03-08 13:00 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-08 13:00 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-08 13:00 -------
This is a dup of bug 18130.

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


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-03-08 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-08 12:03 [Bug java/26603] New: compiler crashes "segmentation fault" salwicki at MIMUW dot EDU dot PL
2006-03-08 12:59 ` [Bug java/26603] ICE on invalid using non static inner class as base class outside the class pinskia at gcc dot gnu dot org
2006-03-08 13:00 ` 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).