https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91542
--- Comment #1 from ldrumm at rtps dot co ---
Sorry. I clicked submit too soon.
Interestingly if the index operation is a constant (but not a constant
expression), the error message is correct
```
struct Node {
int n_successors;
};
int foo
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ldrumm at rtps dot co
Target Milestone: ---
Created attachment 46750
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46750&action=edit
reduced-testcase.c
Printing a