* intrinsic.texi (IANY): Correct section title.
(IALL, IANY, IPARITY): Fix example codes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168380
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-31 Janus Weil <janus@gcc.gnu.org>
+
+ * intrinsic.texi (IANY): Correct section title.
+ (IALL, IANY, IPARITY): Fix example codes.
+
2010-12-31 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/47065
INTEGER(1) :: a(2)
a(1) = b'00100100'
- a(1) = b'01101010'
+ a(2) = b'01101010'
! prints 00100000
PRINT '(b8.8)', IALL(a)
@node IANY
-@section @code{IANY} --- Bitwise XOR of array elements
+@section @code{IANY} --- Bitwise OR of array elements
@fnindex IANY
@cindex array, OR
@cindex bits, OR of array elements
INTEGER(1) :: a(2)
a(1) = b'00100100'
- a(1) = b'01101010'
+ a(2) = b'01101010'
- ! prints 01111011
+ ! prints 01101110
PRINT '(b8.8)', IANY(a)
END PROGRAM
@end smallexample
INTEGER(1) :: a(2)
a(1) = b'00100100'
- a(1) = b'01101010'
+ a(2) = b'01101010'
- ! prints 10111011
+ ! prints 01001110
PRINT '(b8.8)', IPARITY(a)
END PROGRAM
@end smallexample