For the following gfortran should print:
  "Intrinsic TRANSFER at %L has partly undefined result: "
  "source size %ld < result size %ld
but this does not work.

character(len=20) :: str
str = transfer(10,str)
end

Ditto for character( KIND=4  ,len=20)


-- 
           Summary: TRANSFER to characters: Size checking
           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=37211

Reply via email to