https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120899

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is doing something similar as:
```
int main(int argc, char *argv[]) {
        goto lab;
        typedef int t[argc];
        t *a;
lab:    ;
}
```

as a is a pointer to a VLA defined type.


>From .original:
    typedef int <anon>[0:(sizetype) ((long int) SAVE_EXPR <argc> + -1)];
  (void) SAVE_EXPR <argc>;
    int[0:(sizetype) ((long int) SAVE_EXPR <argc> + -1)] * a;

So maybe we don't need to print an diagnostic out for the typedef with an
anonymous name.

Reply via email to