I often take it for granted the compiler is always right (and it darn well just about is), but bugs like this look exactly like mis-cast magic to me. Learning how the compiler makes decisions seems like a rabbit hole, but may be fascinating enough to be worth it. (And think about being a maintainer of such a complex beast!)
Do you happen to know how that is done? How is a test case "auto"-reduced? I've never done that before.