This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Issue with LTO/-fwhole-program


On 11 June 2010 15:04, Bingfeng Mei <bmei@broadcom.com> wrote:
> Well, mixed LTO/non-LTO is quite useful. For example, we have mixed C/assembly
> Application. Gold support for our target is still far away. I found -fwhole-program
> is very important for our size optimization.

But if I understand correctly, mixed LTO/non-LTO + whole-program is
almost never correct. So we should really emit a warning for this
specific combination. I think making this mistake would be quite easy
but hard to debug.

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]