This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: FYI: fix to gcj option processing
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC libjava patches <java-patches at gcc dot gnu dot org>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 08 Jun 2003 12:54:22 -0600
- Subject: Patch: FYI: fix to gcj option processing
- Reply-to: tromey at redhat dot com
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\