[Bug fortran/35040] New: usage of init expression in its own definition

dfranke at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 31 10:43:00 GMT 2008


REAL, DIMENSION(2,2), PARAMETER :: xyz = RESHAPE((/ 1,2,3,4 /), SHAPE(xyz))
END

This is accepted by gfortran and all other compilers Tobias tested. However,
neither of us is sure whether it's valid or not.

For any invalid example, see also: PR34495.


-- 
           Summary: usage of init expression in its own definition
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dfranke at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list