[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [creduce-bugs] Fix for bug in UnionToStruct
Sorry for the late reply.
Committed in 085633 with minor tweaks. Thanks for the patch!
On 08/12/2015 08:06 AM, Johan Bengtsson wrote:
I manage to trigger a bug in UnionToStruct. If a union variable was
initialized by copying another varable of the same type, as in the
attached example, the union-to-struct transform would crash as it
assumed that all union variables were initialized using an initializer
list. I attached a patch that (hopefully) fixes the problem.