how to disable inlining of ldc2 when 'dub build --build=release'?
lixiaozi via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 22 03:37:06 PDT 2017
On Saturday, 20 May 2017 at 08:22:43 UTC, Stefan Koch wrote:
> On Saturday, 20 May 2017 at 08:08:38 UTC, Johan Engelen wrote:
>> On Saturday, 20 May 2017 at 08:02:26 UTC, lixiaozi wrote:
>>> [...]
>>> I noticed it's the inline optimization in ldc2 that caused
>>> the crash.
>>
>> If you are certain that your code is 100% correct, please file
>> a bug report. Inlining is done by LLVM and it is rare to find
>> an LLVM bug like that (what architecture are you on, x86?).
>
> While LLVM in general has quite a few bugs, inlining should be
> rather solid.
> Any chance we can get a test-case ?
Thanks.
I've tried to get a test-case, but they couldn't core dump.
More information about the Digitalmars-d-learn
mailing list