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

rmathew at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 7 21:53:00 GMT 2005


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



More information about the Gcc-bugs mailing list