gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin or -fno-lto is speci...
commitf3ba16d0589db7548b76f381102759f2c4cc7558
authorRichard Biener <rguenther@suse.de>
Thu, 6 Mar 2014 08:48:01 +0000 (6 08:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 6 Mar 2014 08:48:01 +0000 (6 08:48 +0000)
treefa7f9924d2c5057881344899e74b9fd4ecc3993d
parentdf2b279c5c77f5925e85246f3dbdad92508c573b
gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin or -fno-lto is specified and the...

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.

From-SVN: r208375
gcc/ChangeLog
gcc/collect2.c
gcc/gcc.c
gcc/lto-wrapper.c