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 ?