This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27268] New: gij could give a warning on senseless code
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Apr 2006 11:13:35 -0000
- Subject: [Bug libgcj/27268] New: gij could give a warning on senseless code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[forwarded from http://bugs.debian.org/340651]
$ gij test
Segmentation fault
$ cat test.java
public class test
{
public test()
{
test t = new test();
}
public static void main(String argv[])
{
new test();
}
}
while the blackdown runtime prints
Exception in thread "main" java.lang.StackOverflowError
at test.<init>(test.java)
at test.<init>(test.java:5)
at test.<init>(test.java:5)
at test.<init>(test.java:5)
[...]
and loops forever.
--
Summary: gij could give a warning on senseless code
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27268