Designated initializers for C structs according to C99 are broken in Ultimate in version 0.3.0-dev-f28124e. The C translation plugin does not seem to correctly handle the lookup of C struct field names from specified initializers, thus violating the assertion in the CTranslationUtil in line 253.
The following reduced program from a large embedded program can be used to reproduce the issue:
Designated initializers for C structs according to C99 are broken in Ultimate in version 0.3.0-dev-f28124e. The C translation plugin does not seem to correctly handle the lookup of C struct field names from specified initializers, thus violating the assertion in the
CTranslationUtil
in line 253.The following reduced program from a large embedded program can be used to reproduce the issue: