On 11 June 2010 15:26, Jan Hubicka <hubi...@ucw.cz> wrote:
>> Ah, so the problem is the missing -flto in the second compilation
>> step? I think this is a bug in the compiler for not reporting this
>> somehow. Is there are PR open for this?
>
> Compiler can not report it because it does not see the other object files.

It does see the object files in the final compilation step (perhaps
the compiler does not read them but it could). And files compiled with
LTO or without LTO are clearly differentiable. So I don't see anything
technical stopping the compiler to give a warning about such dubious
setup. Should I open a PR?

Cheers,

Manuel.

Reply via email to