[Bug c/91542] internal representation of pointer reference shown in error message

2019-08-25 Thread ldrumm at rtps dot co
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

[Bug c/91542] New: internal representation of pointer reference shown in error message

2019-08-25 Thread ldrumm at rtps dot co
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