PR fortran/34532
* gfortran.texi: Fixed section about implicit conversion of logical
and integer variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131180
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-12-26 Daniel Franke <franke.daniel@gmail.com>
+
+ PR fortran/34532
+ * gfortran.texi: Fixed section about implicit conversion of
+ logical and integer variables.
+
2007-12-25 Tobias Burnus <burnus@net-b.de>
PR fortran/34514
@code{.FALSE.} and any nonzero value is interpreted as @code{.TRUE.}.
@smallexample
- INTEGER :: i = 1
- IF (i) PRINT *, 'True'
+ LOGICAL :: l
+ l = 1
+@end smallexample
+@smallexample
+ INTEGER :: i
+ i = .TRUE.
@end smallexample
-However, there is no implicit conversion of @code{LOGICAL} and
-@code{INTEGER} values performed during I/O operations.
+However, there is no implicit conversion of @code{INTEGER} values in
+@code{if}-statements, nor of @code{LOGICAL} or @code{INTEGER} values
+in I/O operations.
@node Hollerith constants support
@section Hollerith constants support