I'm seeing the following:
# gcj -O2 -shared -findirect-dispatch -Wl,-Bsymbolic -fPIC -o libtritonus.jar.so
tritonus.jar
org/tritonus/util/TCircularBuffer.java: In class
'org.tritonus.util.TCircularBuffer':
org/tritonus/util/TCircularBuffer.java: In method
'org.tritonus.util.TCircularBuffer.read(byte[],int,int)':
org/tritonus/util/TCircularBuffer.java:0: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
This works at -O0 and fails at -O1 and above.
I will attach the jar file to this case. It comes from tritonus-0.3.0 which is
Free Software.
--
Summary: ICE: SEGV building jar file
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20773