Hi everyone! I need to get the array size from a declaration like "int v[100]" (here the size is "100").
For example: if (TREE_CODE (TREE_TYPE (var))) == ARRAY_TYPE) { int array_size = // ...here I want to get the size } How can I do? Thank you Max
Hi everyone! I need to get the array size from a declaration like "int v[100]" (here the size is "100").
For example: if (TREE_CODE (TREE_TYPE (var))) == ARRAY_TYPE) { int array_size = // ...here I want to get the size } How can I do? Thank you Max