[Bug fortran/56667] New: Syntax error causes misleading message: "Expected PARAMETER symbol in complex constant"

arjen.markus at deltares dot nl gcc-bugzilla@gcc.gnu.org
Wed Mar 20 12:31:00 GMT 2013


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

             Bug #: 56667
           Summary: Syntax error causes misleading message: "Expected
                    PARAMETER symbol in complex constant"
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: arjen.markus@deltares.nl


The following program causes the error message "Expected PARAMETER symbol in
complex constant", whereas the true error is the omission of a closing
parenthesis.

! error_message.f90 --
!     Misleading error message
!
program error_message
    implicit none

    integer :: ir

    write(*,*) ( ir, ir = 1,10

end program error_message



More information about the Gcc-bugs mailing list