This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Cross-class inlining
- From: Andrew Haley <aph at redhat dot com>
- To: "Robin Garner" <robin dot garner at iname dot com>
- Cc: "java" <java at gcc dot gnu dot org>
- Date: Mon, 20 Oct 2003 18:41:08 +0100
- Subject: Cross-class inlining
- References: <20031014083823.75981.qmail@iname.com>
Robin Garner writes:
> I've seen some mention on the list of inter-class inlining being
> added to gcj in the near future. Can someone say more ? I presume
> this is inter-compilation-unit as well as inter-class ?
It's already there, and it works.
Try this:
gcj -O3 a.java b.java c.java -c -o foo.o
gcj foo.o --main=b
Andrew.