Joakim <dl...@joakim.fea.st> writes: > On Monday, 4 January 2016 at 09:26:39 UTC, Dan Olson wrote: >> Joakim <dl...@joakim.fea.st> writes: >> >>> On Thursday, 31 December 2015 at 00:11:34 UTC, Dan Olson wrote: >>>> [...] >>> >>> Sounds good, submit a PR and let's get it in. >> >> Was planning to get that PR going then got side tracked by a more >> difficult ARM exeption unwinding bug. It happens in std.random >> unittest at LDC -O2 or higher. Does this sound familiar Joakim? > > Yep, except tests were failing in three unittest blocks with -O1 too, > but I never looked into exactly why: > > https://gist.github.com/joakim-noah/63693ead3aa62216e1d9#file-ldc_android_arm-L3139
I must add, I don't think the optimizer or inliner are the cause of this unwinding bug. They are just good at making big functions. I think I could create the same bug at -O0.