[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
https://issues.dlang.org/show_bug.cgi?id=24153 ryuukk_ changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #4 from ryuukk_ --- The issue still happen with the latest master, i probably forgot the ``-inline`` when i said that i couldn't reproduce it Reduced test above still trigger the issue --
[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
https://issues.dlang.org/show_bug.cgi?id=24153 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |FIXED --- Comment #3 from RazvanN --- Closing this as the submitter cannot reproduce the issue anymore: https://github.com/dlang/dmd/pull/15627#issuecomment-1805526316 --
[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
https://issues.dlang.org/show_bug.cgi?id=24153 --- Comment #2 from ryuukk_ --- Found the cause: Here reduced test: ```D struct InvBoneBindInfo { } struct Test(Value) { void test() { auto t = Value.init; } } extern(C) void main() { Test!(InvBoneBindInfo[32]) test; test.test(); } ``` The problem is ``Value.init``, because value is a static array --
[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
https://issues.dlang.org/show_bug.cgi?id=24153 --- Comment #1 from ryuukk_ --- I sublimted a PR that fixes it, but apparently is not valid? https://github.com/dlang/dmd/pull/15627 --
[Issue 24153] Inliner breaks -betterC by requiring TypeInfo
https://issues.dlang.org/show_bug.cgi?id=24153 ryuukk_ changed: What|Removed |Added Keywords||betterC --