8sa1-gcc/gcc/java
Caroline Tice 0855eab7a3 gcc.c (combine_flag): New global variable, for new driver option.
2004-04-05  Caroline Tice  <ctice@apple.com>

        * gcc.c (combine_flag): New global variable, for new driver option.
        (struct compiler): Add two new fields, to be used when
        combining multiple input files in a single pass (IMA).
        (default_compilers):  Add values for the new fields to all
        compiler entries. Modify the "@c" compiler entry for doing IMA
        properly with "-save-temps" and the "combine" flag.
        (option_map):  Add new driver option, "--combine", to tell driver
        to pass multiple input files to compiler at one time.
        (have_o_argbuf_index): New global variable.
        (store_arg): Modify to assign value to have_o_argbuf_index.
        (struct infile):  Add three new fields, to help with IMA.
        (display_help): Add help for new "combine" option.
        (process_command): Remove local variable have_o; add code to check
        for new "combine" option; remove assignment to combine_inputs.
        (do_spec_1):  Modify to deal with IMA better.
        (main): Make variable 'lang_n_infiles' local to entire function
        rather than to a single block.  Use flag combine_flag to
        determine whether to do IMA or not; Modify loop initializing
        infiles to deal properly with linker files.
        Add code for doing preprocessing in presence of
        IMA with "-save-temps" flag.  Modify "main" loop to handle
        multiple input files, in multiple languages, with or without
        preprocessing,  gracefully.
        * toplev.c (set_src_pwd): Modify to not complain if attempting to
        re-set it to same directory it's previously been set to (avoid
        irritating, meaningless warning messages when doing IMA with
        save-temps).
        * doc/invoke.texi: Add "-combine" to list of Overall Options;
        remove documentation about IMA that is no longer accurate; Add
        documentation explaining what "-combine" does.
        * ada/lang-specs.h: Add initialization values for new fields in
        "struct compiler".
        * cp/lang-specs.h: Likewise.
        * f/lang-specs.h: Likewise.
        * java/lang-specs.h: Likewise.
        * objc/lang-specs.h: Likewise.
        * treelang/lang-specs.h: Likewise.

Fix gcc driver to work properly with IMI.

From-SVN: r80435
2004-04-05 12:23:27 -07:00
..
boehm.c
buffer.c
buffer.h
builtins.c gengtype.c (create_option): New function. 2004-03-30 19:19:06 +00:00
ChangeLog builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. 2004-03-31 22:50:43 -05:00
chartables.h
check-init.c
class.c class.c, [...]: Fix comment typos. 2004-03-20 14:03:34 +00:00
config-lang.in
constants.c
convert.h
decl.c utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES with targetm.calls.promote_prototypes. 2004-02-05 22:07:33 +00:00
except.c
expr.c gengtype.c (create_option): New function. 2004-03-30 19:19:06 +00:00
gcj.texi * gcj.texi (Extensions): Document GCJ_PROPERTIES. 2004-03-23 17:49:22 +00:00
gen-table.pl
gjavah.c class.c, [...]: Fix comment typos. 2004-03-20 14:03:34 +00:00
java-except.h
java-opcodes.h
java-tree.def
java-tree.h class.c (assume_compiled_node_struct): Rename type to class_flag_node_struct, as it is now also used for enable_assertions. 2004-03-19 15:10:55 -08:00
javaop.def
javaop.h
jcf-depend.c
jcf-dump.c jcf-jump.c (options): New --print-constants option. 2004-03-16 16:00:40 -08:00
jcf-io.c re PR java/14104 (java testsuite fails "linking simple") 2004-03-31 13:36:06 +00:00
jcf-parse.c jcf-parse.c (java_parse_file): Handle the case that input_filename is NULL. 2004-02-29 14:09:58 +00:00
jcf-path.c re PR java/14689 (jcf-path.c missing closedir) 2004-03-25 09:14:45 +00:00
jcf-reader.c
jcf-write.c builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. 2004-03-31 22:50:43 -05:00
jcf.h gengtype.c (create_option): New function. 2004-03-30 19:19:06 +00:00
jv-scan.c gjavah.c: Include "intl.h". 2004-02-10 19:12:34 +00:00
jvgenmain.c gjavah.c: Include "intl.h". 2004-02-10 19:12:34 +00:00
jvspec.c
keyword.gperf
keyword.h
lang-specs.h gcc.c (combine_flag): New global variable, for new driver option. 2004-04-05 12:23:27 -07:00
lang.c class.c, [...]: Fix comment typos. 2004-03-20 14:03:34 +00:00
lang.opt class.c (assume_compiled_node_struct): Rename type to class_flag_node_struct, as it is now also used for enable_assertions. 2004-03-19 15:10:55 -08:00
lex.c
lex.h
Make-lang.in * Make-lang.in (java.install-man): Add extra dependencies. 2004-02-17 05:20:25 +00:00
mangle_name.c
mangle.c
parse-scan.y
parse.h gengtype.c (create_option): New function. 2004-03-30 19:19:06 +00:00
parse.y class.c (assume_compiled_node_struct): Rename type to class_flag_node_struct, as it is now also used for enable_assertions. 2004-03-19 15:10:55 -08:00
resource.c
typeck.c re PR java/14551 (Switch w sign-extended byte and >16 labels causes error in tree.c) 2004-03-15 14:15:09 +00:00
verify.c
win32-host.c
xref.c
xref.h
zextract.c
zipfile.h