mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
Make gen_const_ptr_struct_recursive aware of the possible presence of some trailing padding by always bitcasting the pointer to its expected type. Not an elegant solution but makes LLVM happy and is consistent with how the other callsites are handling this case. Fixes #5398