This is triggered by partial inliner improvement patch (so a test case is not yet available) -- but the bug seems obvious. (found with clang built with partial inlining turned on -- it causes infinite loop during indirect call promotion).
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
uh, how this ever worked is clearly beyond me.
If you can add these tests to the inliner improvement patch, that would be great.