diff options
author | Richard Guenther <rguenther@suse.de> | 2010-05-18 15:11:01 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-05-18 15:11:01 +0000 |
commit | cf96bae709f621f31c4319cac26d9852f835337c (patch) | |
tree | 29fa0e79a40d95c675cb1520878165eae1fd1985 /gcc/gcc.c | |
parent | 80e2a014c8f9517884c069c7718faa5211c4f895 (diff) | |
download | gcc-cf96bae709f621f31c4319cac26d9852f835337c.zip gcc-cf96bae709f621f31c4319cac26d9852f835337c.tar.gz gcc-cf96bae709f621f31c4319cac26d9852f835337c.tar.bz2 |
re PR lto/44143 (-fdump-tree-all for lto does not work as expected)
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.
From-SVN: r159536
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -781,15 +781,9 @@ proper position among the other output files. */ %{fuse-linker-plugin: \ -plugin %(linker_plugin_file) \ -plugin-opt=%(lto_wrapper) \ - -plugin-opt=%(lto_gcc) \ -plugin-opt=-fresolution=%u.res \ %{static|static-libgcc:-plugin-opt=-pass-through=%(lto_libgcc)} \ %{static:-plugin-opt=-pass-through=-lc} \ - %{O*:-plugin-opt=-O%*} \ - %{w:-plugin-opt=-w} \ - %{f*:-plugin-opt=-f%*} \ - %{m*:-plugin-opt=-m%*} \ - %{v:-plugin-opt=-v} \ } \ %{flto} %{fwhopr} %l " LINK_PIE_SPEC \ "%X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r}\ |