Patch: FYI: fix to gcj option processing

Tom Tromey tromey@redhat.com
Sun Jun 8 19:01:00 GMT 2003


I'm checking this in on the trunk.

This fixes a small bug in gcj option processing.  Without this fix you
can't use -fassume-compiled when linking.

This is only important for the trunk because this option isn't
supported in 3.3.

Tom

Index: gcc/java/ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and
	fno-assume-compiled.

Index: gcc/java/jvspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jvspec.c,v
retrieving revision 1.62
diff -u -r1.62 jvspec.c
--- gcc/java/jvspec.c 1 Jan 2003 15:10:01 -0000 1.62
+++ gcc/java/jvspec.c 7 Jun 2003 15:37:24 -0000
@@ -64,7 +64,7 @@
 		   %{g*} %{O*} \
 		   %{v:-version} %{pg:-p} %{p}\
 		   %<fbounds-check %<fno-bounds-check\
-		   %<fassume-compiled %<fno-assume-compiled\
+		   %<fassume-compiled* %<fno-assume-compiled*\
 		   %<fcompile-resource* %<fassert %<fno-assert \
 		   %<femit-class-file %<femit-class-files %<fencoding*\
 		   %<fuse-boehm-gc %<fhash-synchronization %<fjni\



More information about the Java-patches mailing list