[Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 12 18:13:00 GMT 2015


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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Note that I've found an ICE-on-invalid:

void
h ()
{
  int T;
  for (typedef int T;;)
    if (1)
      ;
  T *x;
}


More information about the Gcc-bugs mailing list