summaryrefslogtreecommitdiff
path: root/gcc/gcc.h
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2001-08-02 12:26:00 +0000
committerRainer Orth <ro@gcc.gnu.org>2001-08-02 12:26:00 +0000
commit578672a2676308528001f385e2f3773595ec3387 (patch)
tree9d31c155fc6533acc82d406f6aeb96eb7ad549f9 /gcc/gcc.h
parent1dbb6023c73cfb340b24d8c81cf31f41f8f1805b (diff)
downloadgcc-578672a2676308528001f385e2f3773595ec3387.tar.gz
re PR java/227 (mips-tfile:internal error (when compiling java code))
* gcc.c (set_collect_gcc_options): New function, split out from main. Ignore elided switches. (do_spec_1): Invoke before executing command. (set_input): Export. Move declaration ... * gcc.h (set_input): ... here. * config/alpha/osf.h (ASM_FINAL_SPEC): Use %U.s to refer to input file. java: * jvspec.c (jvgenmain_spec): Cannot use %umain, breaks ASM_FINAL_SPEC. (lang_specific_pre_link): Use set_input to set input_filename. Append `main' here. * jvgenmain.c (usage): Append literal `main' to CLASSNAME. (main): Fix definition. Strip `main' from classname. Fixes PR java/227. From-SVN: r44572
Diffstat (limited to 'gcc/gcc.h')
-rw-r--r--gcc/gcc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcc.h b/gcc/gcc.h
index 62526769d86..55a79a90fa9 100644
--- a/gcc/gcc.h
+++ b/gcc/gcc.h
@@ -1,5 +1,5 @@
/* Header file for modules that link with gcc.c
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -33,6 +33,7 @@ extern void fatal PARAMS ((const char *, ...))
ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
extern void error PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1;
extern void pfatal_with_name PARAMS ((const char *)) ATTRIBUTE_NORETURN;
+extern void set_input PARAMS ((const char *));
/* Spec files linked with gcc.c must provide definitions for these. */