write(*, 1005) 'one', 'two', 'three'
write(*, 1005) 'one', 'two'
1005 FORMAT(TR5 , A , A:'&' )
end

should not print the '&' for the second write statement.


-- 
           Summary: Formatted output error with colon (:) descriptor
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gah at ugcs dot caltech dot edu
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to