Remove -fnew-verifier relic

Joseph S. Myers joseph@codesourcery.com
Thu Sep 2 11:56:00 GMT 2010


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.

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*\

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list