public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/27400]  New: switch indexed by class crashes compiler
@ 2006-05-02 19:36 cagney at redhat dot com
  2006-05-29 22:12 ` [Bug java/27400] " pinskia at gcc dot gnu dot org
  2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2006-05-02 19:36 UTC (permalink / raw)
  To: java-prs

$ cat EnumClass.java
class EnumClass
{
    static public final EnumClass x = new EnumClass ();
}
$ cat ClassSwitch.java
class ClassSwitch
{
    public static void main (String[] args)
    {
        switch (args.length) {
        case EnumClass.x: return;
        }
        System.out.println ("Switched");
    }
}
$ gcj ClassSwitch.java
ClassSwitch.java:5: internal compiler error: Segmentation fault
$ gcj --version
gcj (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
           Summary: switch indexed by class crashes compiler
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cagney at redhat dot com


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


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

* [Bug java/27400] switch indexed by class crashes compiler
  2006-05-02 19:36 [Bug java/27400] New: switch indexed by class crashes compiler cagney at redhat dot com
@ 2006-05-29 22:12 ` pinskia at gcc dot gnu dot org
  2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-29 22:12 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-29 22:12 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-29 22:12:44
               date|                            |


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


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

* [Bug java/27400] switch indexed by class crashes compiler
  2006-05-02 19:36 [Bug java/27400] New: switch indexed by class crashes compiler cagney at redhat dot com
  2006-05-29 22:12 ` [Bug java/27400] " pinskia at gcc dot gnu dot org
@ 2007-01-09 20:53 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-09 20:53 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-09 20:48 -------
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


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


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

end of thread, other threads:[~2007-01-09 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-02 19:36 [Bug java/27400] New: switch indexed by class crashes compiler cagney at redhat dot com
2006-05-29 22:12 ` [Bug java/27400] " pinskia at gcc dot gnu dot org
2007-01-09 20:53 ` tromey 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).