gcc/gcc/f
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
..
ansify.c * ansify.c (die_unless): Revert lineno change here. 2003-05-03 11:24:55 +00:00
bad.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
bad.def
bad.h
bit.c
bit.h
bld-op.def
bld.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
bld.h bld.c: Remove usage of FFETARGET_okCHARACTER2... 2003-06-08 14:22:25 +02:00
bugs.texi
bugs0.texi
ChangeLog cgraph.c: Add overall comment. 2004-04-01 23:28:15 +00:00
ChangeLog.0
com-rt.def com.c (ffecom_init_0): Define built-in functions for tan and atan. 2003-05-31 02:44:34 +00:00
com.c cgraph.c: Add overall comment. 2004-04-01 23:28:15 +00:00
com.h re PR c/6024 (GCC fails to diagnose mismatch of enum types in prototype/function) 2004-01-07 22:24:44 +00:00
config-lang.in
data.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
data.h
equiv.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
equiv.h
expr.c re PR fortran/6491 ([g77] Logical operations error on logicals when using -fugly-logint) 2004-01-14 02:32:49 +00:00
expr.h
ffe.texi ffe.texi: Correctly use @var{srcdir}. 2003-07-10 20:42:21 +00:00
fini.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
g77.texi frontends.texi: Rewrite. 2004-03-21 13:33:25 +00:00
g77spec.c gcc.c (process_command): Allow translation of the copyright symbol but not the rest of the copyright message. 2004-02-20 06:46:42 +00:00
global.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
global.h symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK. 2003-06-07 19:52:49 +02:00
implic.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
implic.h
info-b.def
info-k.def
info-w.def
info.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
info.h
intdoc.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
intdoc.in intdoc.in (Signal Intrinsic (subroutine)): Fix texinfo warning using @code. 2003-11-12 12:21:34 +01:00
intdoc.texi intdoc.texi (Signal Intrinsic (subroutine)): Fix texinfo warning using @code. 2003-11-12 10:58:53 +01:00
intrin.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
intrin.def
intrin.h
invoke.texi g77.texi (Aligned Data): Remove obsolete paragraph including a broken link. 2004-03-21 11:19:08 +00:00
lab.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
lab.h symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK. 2003-06-07 19:52:49 +02:00
lang-specs.h gcc.c (combine_flag): New global variable, for new driver option. 2004-04-05 12:23:27 -07:00
lang.opt c.opt: Document Uncodumented; use it. 2003-07-17 05:33:18 +00:00
lex.c c-common.h (GET_DIRECTIVE_LINE): Remove unused macro. 2004-02-15 14:30:38 +00:00
lex.h
Make-lang.in cgraph.c: Add overall comment. 2004-04-01 23:28:15 +00:00
malloc.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
malloc.h
name.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
name.h
news.texi news.texi: Update with fixed PR's. 2003-09-21 16:19:01 +00:00
news0.texi
parse.c parse.c (ffe_parse_file): Handle the case that main_input_filename is NULL. 2004-02-29 14:12:20 +00:00
proj.h
RELEASE-PREP
root.texi g77.texi (Aligned Data): Remove obsolete paragraph including a broken link. 2004-03-21 11:19:08 +00:00
src.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
src.h
st.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
st.h
sta.c Make-lang.in (sta.o-warn): Delete. 2004-02-24 16:07:29 +00:00
sta.h
stb.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
stb.h std.c: Remove #if 0'ed functions. 2003-06-08 15:56:35 +02:00
stc.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
stc.h std.c: Remove #if 0'ed functions. 2003-06-08 15:56:35 +02:00
std.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
std.h std.c: Remove #if 0'ed functions. 2003-06-08 15:56:35 +02:00
ste.c Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change. 2003-09-21 22:09:32 -07:00
ste.h std.c: Remove #if 0'ed functions. 2003-06-08 15:56:35 +02:00
storag.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
storag.h symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK. 2003-06-07 19:52:49 +02:00
stp.c
stp.h
str-1t.fin
str-2t.fin
str-fo.fin
str-io.fin
str-nq.fin
str-op.fin
str-ot.fin
str.c
str.h std.c: Remove #if 0'ed functions. 2003-06-08 15:56:35 +02:00
sts.c
sts.h
stt.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
stt.h
stu.c
stu.h
stv.c
stv.h
stw.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
stw.h
symbol.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
symbol.def
symbol.h symbol.c (ffesymbol_new_): Remove tests for macro FFECOM_symbolHOOK. 2003-06-07 19:52:49 +02:00
target.c target.c (FFETARGET_ATOF_): Delete. 2003-09-29 22:21:15 +00:00
target.h target.c (FFETARGET_ATOF_): Delete. 2003-09-29 22:21:15 +00:00
top.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
top.h c-common.h (c_common_init_options): New prototype. 2003-07-02 20:15:46 +00:00
type.c fixfixes.c [...]: Remove unnecessary casts. 2003-07-19 16:09:51 +00:00
type.h
where.c bad.c: Convert () to (void) in function definitions. 2003-07-06 22:32:17 +02:00
where.h