On 11 June 2010 15:04, Bingfeng Mei <b...@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.

Reply via email to