]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
jvspec.c (lang_specific_driver): Read spec file even if -fsyntax-only.
authorTom Tromey <tromey@redhat.com>
Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Tue, 12 Sep 2006 18:54:36 +0000 (18:54 +0000)
* jvspec.c (lang_specific_driver): Read spec file even if
-fsyntax-only.

From-SVN: r116901

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

index 1df29ccb8381876b3abee6cbb5604ad3afe2cdff..5ffb6df295a36ec8d8fcb9e4dfe39dc6adbdcdc2 100644 (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:
index f64d438807c666fb4a7ba253195f8277afd37828..275dda7c92c3081e8c82c785d92f5e96c3b6b9a4 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;