------- Comment #4 from dfranke at gcc dot gnu dot org 2007-12-21 13:01 ------- Index: gfortran.texi =================================================================== --- gfortran.texi (revision 131109) +++ gfortran.texi (working copy) @@ -1165,12 +1165,17 @@ zero, and @code{.TRUE.} is interpreted a @code{.FALSE.} and any nonzero value is interpreted as @code{.TRUE.}.
@smallexample - INTEGER :: i = 1 - IF (i) PRINT *, 'True' + LOGICAL :: l + l = 1 [EMAIL PROTECTED] smallexample [EMAIL PROTECTED] + INTEGER :: i + i = .TRUE. @end smallexample -However, there is no implicit conversion of @code{LOGICAL} and [EMAIL PROTECTED] values performed during I/O operations. +However, there is no implicit conversion of @code{INTEGER} values in [EMAIL PROTECTED], nor of @code{LOGICAL} or @code{INTEGER} values +in I/O operations. @node Hollerith constants support @section Hollerith constants support Ok? -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfranke at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34532