[Bug fortran/29210] New: Name parameter in complex constant not allowed in F95

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 25 09:13:00 GMT 2006


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



More information about the Gcc-bugs mailing list