Phobos and LTO

Daniel Kozak via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 7 13:11:41 PST 2017


Dne 7.3.2017 v 19:42 Johan Engelen via Digitalmars-d napsal(a):

> On Tuesday, 7 March 2017 at 18:15:52 UTC, Temtaime wrote:
>> On Sunday, 5 March 2017 at 19:52:12 UTC, Daniel Kozak wrote:
>>> Dne 5.3.2017 v 20:31 Temtaime via Digitalmars-d napsal(a):
>>>
>>>> On Sunday, 5 March 2017 at 17:17:13 UTC, Las wrote:
>>>>> Is Phobos compiled with LTO enabled?
>>>>
>>>> There is no LTO with D.
>>> Yes it is
>>> https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html 
>>>
>>
>> Being specific only for LDC and only on linux - it's a lie to say 
>> simple « yes ».
>
> Cheer up, you wrote "there is no LTO with D", which there clearly is. :-)
>
> It works on OS X too.
> And OS X is the only platform for which we package the LTO linker 
> binaries in the release.
>
> -Johan

OTOH he maybe has dmd in mind when he speaking about D. It is a really 
common pattern (problem) I am challenging every time (unfortunately) 
when I am speaking about D.


More information about the Digitalmars-d mailing list