]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR java/227 (mips-tfile:internal error (when compiling java code))
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Thu, 2 Aug 2001 12:26:00 +0000 (12:26 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Thu, 2 Aug 2001 12:26:00 +0000 (12:26 +0000)
commit578672a2676308528001f385e2f3773595ec3387
tree9d31c155fc6533acc82d406f6aeb96eb7ad549f9
parent1dbb6023c73cfb340b24d8c81cf31f41f8f1805b
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
gcc/ChangeLog
gcc/config/alpha/osf.h
gcc/gcc.c
gcc/gcc.h
gcc/java/ChangeLog
gcc/java/jvgenmain.c
gcc/java/jvspec.c