PATCH: -fkeep-inline-functions
Jeff Sturm
jsturm@one-point.com
Tue Jul 31 21:18:00 GMT 2001
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
More information about the Java-patches
mailing list