Patchwork Remove -fnew-verifier relic

login
register
mail settings
Submitter Joseph S. Myers
Date Sept. 2, 2010, 11:38 a.m.
Message ID <Pine.LNX.4.64.1009021138180.32685@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/63471/
State New
Headers show

Comments

Joseph S. Myers - Sept. 2, 2010, 11:38 a.m.
jvspec.c has a relic of an option -fnew-verifier that was otherwise
removed by:

2004-12-03  Tom Tromey  <tromey@redhat.com>

        * lang.c (flag_new_verifier): Define.
        (java_post_options): Set flag_new_verifier if indirect
        dispatch
        is being used.
        * lang.opt (fnew-verifier): Removed.

This option cannot be used since it gets passed to jc1 which knows
nothing about it.  This patch removes this remaining relic.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
commit?

2010-09-02  Joseph Myers  <joseph@codesourcery.com>

	* jvspec.c (jvgenmain_spec): Don't handle -fnew-verifier.
Tom Tromey - Sept. 2, 2010, 4:09 p.m.
>>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:

Joseph> This option cannot be used since it gets passed to jc1 which knows
Joseph> nothing about it.  This patch removes this remaining relic.

Joseph> Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
Joseph> commit?

Joseph> 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
Joseph> 	* jvspec.c (jvgenmain_spec): Don't handle -fnew-verifier.

This is ok.  Thanks.

Tom

Patch

diff -rupN --exclude=.svn gcc-mainline-1-warnignore/gcc/java/jvspec.c gcc-mainline/gcc/java/jvspec.c
--- gcc-mainline-1-warnignore/gcc/java/jvspec.c	2010-09-01 08:25:38.000000000 -0700
+++ gcc-mainline/gcc/java/jvspec.c	2010-09-01 18:06:58.000000000 -0700
@@ -67,7 +67,7 @@  static const char jvgenmain_spec[] =
 		   %<fcompile-resource* %<fassert %<fno-assert \
 		   %<femit-class-file %<femit-class-files %<fencoding*\
 		   %<fuse-boehm-gc %<fhash-synchronization %<fjni\
-		   %<findirect-dispatch %<fnew-verifier\
+		   %<findirect-dispatch\
 		   %<fno-store-check %<foutput-class-dir\
 		   %<fclasspath* %<fbootclasspath*\
 		   %<fextdirs*\