This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/18931] New: jar -> .so optimization problem
- From: "overholt at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 10 Dec 2004 19:18:55 -0000
- Subject: [Bug java/18931] New: jar -> .so optimization problem
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When natively compiling Eclipse jars with -O2, I get a compiler error:
$ gcj -fnew-verifier -fPIC -fjni -findirect-dispatch -shared -O2 -o
eclipse/startup.jar.so eclipse/startup.jar
org/eclipse/core/launcher/Main.java: In class 'org.eclipse.core.launcher.Main':
org/eclipse/core/launcher/Main.java: In method
'org.eclipse.core.launcher.Main.adjustTrailingSlash(java.net.URL,boolean)':
org/eclipse/core/launcher/Main.java:0: internal compiler error: in
copy_to_mode_reg, at explow.c:635
Compiling without -O2 (exact same other arguments) gives no errors.
startup.jar can be found here:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.releng.basebuilder/
$ gcj --version
gcj (GCC) 4.0.0 20041130 (experimental)
--
Summary: jar -> .so optimization problem
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: overholt 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=18931