https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000
--- Comment #11 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Thu, Sep 29, 2022 at 07:57:24PM +0000, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107000 > > --- Comment #10 from anlauf at gcc dot gnu.org --- > (In reply to kargl from comment #9) > > This catches the parenthesis. > > ... but it is still not sufficient to handle ugly stuff like: > > print *, [real :: 1, +(+(.true.))] * 2 > Hmmm, there is gfc_resolve_expr(). I don't know if it is too early in the parsing to use it.