This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/8608] segmentation fault on compiling bad program


------- Additional Comments From rmathew at gcc dot gnu dot org  2005-02-07 13:06 -------
The simplest testcase that reproduces this bug with
the current mainline is:

class Foo
{
  void bar()
  {
    int a;
    int i;
    for(i=a;;);
  }
}

If the "int i" is removed and the for loop
is changed to "for(int i=a;;);", the ICE
disappears.

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]