diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jvspec.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 1df29cc..5ffb6df 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -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. diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index f64d4388..275dda7 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -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; |