[Bug fortran/32715] improve diagnostics of attempted allocation of non-array

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 19 16:30:00 GMT 2007



------- Comment #1 from burnus at gcc dot gnu dot org  2007-07-19 16:30 -------
In gfc_match_allocate
      m = gfc_match_variable (&tail->expr, 0);
matches successfully, but it fails at:
  if (gfc_match (" )%t") != MATCH_YES)
    goto syntax;

As "i" is scalar, it does not seem to match the "(4)" (or only partially) and
thus it does not match " )%t".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32715



More information about the Gcc-bugs mailing list