The following code is legal F2003 but I believe it's not legal F95. It should
be diagnosed as such.

$ cat a.f90 
  real,parameter :: foo = 1.7
  complex,parameter :: bar = (foo, foo)
  end


-- 
           Summary: Name parameter in complex constant not allowed in F95
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org


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

Reply via email to