jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.

* jvspec.c (lang_specific_driver): Read spec file even if
	-fsyntax-only.

From-SVN: r116901
This commit is contained in:
Tom Tromey 2006-09-12 18:54:36 +00:00 committed by Tom Tromey
parent f01194138c
commit ed08fcf6fc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-09-12 Tom Tromey <tromey@redhat.com>
* jvspec.c (lang_specific_driver): Read spec file even if
-fsyntax-only.
2006-09-12 Tom Tromey <tromey@redhat.com>
PR java/28754:

View File

@ -1,6 +1,6 @@
/* Specific flags and argument handling of the front-end of the
GNU compiler for the Java(TM) language.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This file is part of GCC.
@ -358,7 +358,6 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
else if (strcmp (argv[i], "-fsyntax-only") == 0
|| strcmp (argv[i], "--syntax-only") == 0)
{
want_spec_file = 0;
library = 0;
will_link = 0;
continue;