2014-03-06 Richard Biener <rguenther@suse.de>
commit958d76870bf53bc866d431b5e3f5641999a348f7
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Mar 2014 08:48:01 +0000 (6 08:48 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Mar 2014 08:48:01 +0000 (6 08:48 +0000)
treefa7f9924d2c5057881344899e74b9fd4ecc3993d
parent6dd4126d982476a97e83786f5b22d89ebfb8d9f9
2014-03-06  Richard Biener  <rguenther@suse.de>

* gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin
or -fno-lto is specified and the linker has full plugin support.
* collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is
enabled.
(main): Remove -flto processing, adjust lto_mode using
use_plugin late.
* lto-wrapper.c (merge_and_complain): Merge compile-time
optimization levels.
(run_gcc): And pass it through to the link options.

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