On 25/01/2019 14:01, Andreas Fink wrote:
I found out what makes it break.
The cmake option -DCMAKE_BUILD_TYPE=RelWithDebInfo
Thanks. There was a bug in the log2 calculation for storing the ivar
offsets that worked at O0 because of wrapping behaviour when we
truncated the value to 32-bit, but triggered undefined behaviour that
allowed the optimiser to remove a check. The tests are now all passing
for me in release and debug configurations.
David
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep