[Bug java/28663] [4.2 regression] gcj fails to binary-compile eclipse's javac

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 29 14:05:00 GMT 2006



------- Comment #10 from aph at gcc dot gnu dot org  2006-08-29 14:05 -------
class Psupersuper
{
}

class Psuper extends Psupersuper
{
}

class P extends Psuper
{
  Psupersuper barf()
  {
    return new P();
  }
}


class PR28663
{
  static Psuper arse ()
  {
    return (P)new P().barf();
  }
}


-- 


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



More information about the Gcc-bugs mailing list