[Vm-dev] -ftlo option (link-time optimizer)

Levente Uzonyi leves at caesar.elte.hu
Sat Jan 5 18:55:13 UTC 2019


Well, I just checked what happens if I compile the VM with gcc 8, but no 
LTO.
Actually the same issue exists. Float >> #basicAt: (primitive 38) always 
returns 0 with that VM. So, I presume there's either undefined behavior, 
an optimization issue or a compiler bug somewhere.

Levente

On Sat, 5 Jan 2019, Levente Uzonyi wrote:

>
> Our last discussion[1] about LTO ended at a similar point. LTO can be 
> disabled for specific files. And, besides its optimization benefits, it 
> can also detect type mismatches in different modules.
> I have a VM built with gcc 8 that mostly works. For example, I can update 
> an image from the trunk repository, but some floating point tests fail.
>
> Levente
>
> [1] 
> http://forum.world.st/primitiveDigitCompare-is-slow-was-Re-squeak-dev-The-Inbox-Kernel-dtl-1015-mcz-td4890070i20.html#a4890675
>
>


More information about the Vm-dev mailing list