This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]