OSDN Git Service

* jvspec.c (lang_specific_driver): Read spec file even if
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)
-fsyntax-only.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116901 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/jvspec.c

index 1df29cc..5ffb6df 100644 (file)
@@ -1,5 +1,10 @@
 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:
        * expr.c (expand_java_field_op): Initialize field's declaring
        interface if necessary.
index f64d438..275dda7 100644 (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;