This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PATCH: -fkeep-inline-functions
- To: Tom Tromey <tromey at redhat dot com>
- Subject: PATCH: -fkeep-inline-functions
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 1 Aug 2001 00:18:48 -0400 (EDT)
- cc: java-patches at gcc dot gnu dot org
On 30 Jul 2001, Tom Tromey wrote:
> Jeff> How would you suggest I get this into the specs? I'm still weak
> Jeff> on that part of the compiler.
>
> One way, if it works, would be to add it in libgcj.spec. That is a
> very easy (though a bit obscure). You'd have to test to make sure the
> user can successfully disable it though.
Thanks. That seems to get the job done. I can still use
-fno-keep-inline-functions on the command line to get the present
behavior.
If this is OK, I'd like to commit the test case as well.
2001-08-01 Jeff Sturm <jsturm@one-point.com>
* libgcj.spec.in: Pass -fkeep-inline-functions to jc1.
Index: libgcj.spec.in
===================================================================
RCS file: /cvs/gcc/gcc/libjava/libgcj.spec.in,v
retrieving revision 1.19
diff -u -r1.19 libgcj.spec.in
--- libgcj.spec.in 2001/07/18 17:06:24 1.19
+++ libgcj.spec.in 2001/08/01 04:06:14
@@ -6,4 +6,4 @@
%rename lib liborig
*lib: -lgcj -lm @LIBICONV@ @GCSPEC@ @THREADSPEC@ @ZLIBSPEC@ @SYSTEMSPEC@ %(libgcc) %(liborig)
-*jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@
+*jc1: @HASH_SYNC_SPEC@ @DIVIDESPEC@ @JC1GCSPEC@ @EXCEPTIONSPEC@ -fkeep-inline-functions