This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Nov 2015 18:13:28 +0000
- Subject: [Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs
- Auto-submitted: auto-generated
- References: <bug-67784-4 at http dot gcc dot gnu dot org/bugzilla/>
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;
}