Currently, "non_array(i) = array" is read as statement function at an invalid
place. A more likely error is that non_array was supposed to be an array.

Found at:
http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/bcff74be5cc12be8

Current error message:
 Error: Unexpected STATEMENT FUNCTION statement at (1)

Proposed:
 Error: Unexpected STATEMENT FUNCTION statement or an assignment to an
undeclared array at (1)


-- 
           Summary: Improve error message for non_array(i) = array
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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

Reply via email to