Main Content

Code Generation for Constants in Structures and Arrays

The code generator does not recognize constant structure fields or array elements in the following cases:

 Fields or elements are assigned inside control constructs

 Constants are assigned to array elements using non-scalar indexing

 A function returns a structure or array that has constant and nonconstant elements

Go to top of page