I'm not sure if this relates to Bug #8923, so I created a new bug report.
The following code causes gij to segfault:
class Bug
{
public void bug()
{
int x;
System.out.println((x << 1).toString()); // <segfault here
}
}
--
Summary: gcj segfaults on invalid code (related to 8923?)
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: brakhane at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27442