This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/32774] New: GCJ dumps core when semicolon placed to wrong place (x86, arm_le)
- From: "cyberflex at mail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jul 2007 09:12:50 -0000
- Subject: [Bug java/32774] New: GCJ dumps core when semicolon placed to wrong place (x86, arm_le)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This code makes GCJ-4.1 core dump because of presence
unneeded (or incorrect) ";" symbol after the method definition
close brace:
interface MyInterface {
public Object dumpGCJCoreAtCompilation();
}
class MyClass implements MyInterface{
public Object dumpGCJCoreAtCompilation(){return null;};
}
This code compiled fine:
class MyClass {
public Object dumpGCJCoreAtCompilation(){return null;}
}
--
Summary: GCJ dumps core when semicolon placed to wrong place
(x86, arm_le)
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cyberflex at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32774