2010-05-18 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 May 2010 15:11:01 +0000 (15:11 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 May 2010 15:11:01 +0000 (15:11 +0000)
commitc8c65e0730796d01e04c22de958fe904bb80c447
tree29fa0e79a40d95c675cb1520878165eae1fd1985
parent28918f8e0acd0e75c39839724f8fc13c56ca580a
2010-05-18  Richard Guenther  <rguenther@suse.de>

PR lto/44143
* lto-wrapper.c (verbose): New variable.  Initialize from -v.
(debug): Initialize from -save-temps.
(collect_execute): Print command-line when verbose.
(run_gcc): Always use COLLECT_GCC_OPTIONS.  Use fork_execute
for ltrans invocation.  Produce -dumpbase flag again.
(process_args): Remove.
(main): Simplify.
* collect2.c (maybe_run_lto_and_relink): Only pass object
files to lto-wrapper.
* gcc.c (LINK_COMMAND_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159536 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/collect2.c
gcc/gcc.c
gcc/lto-wrapper.c