This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/8608] segmentation fault on compiling bad program
- From: "rmathew at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 7 Feb 2005 13:06:45 -0000
- Subject: [Bug java/8608] segmentation fault on compiling bad program
- References: <20021116043603.8608.165635@bugs.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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