https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84504
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #1 from kargl at gcc dot gnu.org --- This appears to be related to PR44290. There is a fairly long discussion. The conclusion in that PR suggests that you example is invalid. I'm not so sure that is correct. The EBNF in F2018, 10.2.2 to me seems to permit what you are trying to do, but I don't use pointers so would need to spend too much time unraveling the subtleties.