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/37793] New: Improve error message for non_array(i) = array


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


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