As reported by Fran,cois-Xavier at
integer(kind=8) :: i
i = 0
print *, kind(ior (i, z"ff1e"))
print *, kind(ior (0_8, z"ff1e"))
gives different different results for the compile-time and run-time evaluation.
b) F2008 allows BOZ in bit intrinsics, which need to be properly handled; for
IOR(I,J) one has:
* I or J can be BOZ or integers, but they can't both be BOZ.
* "Result Characteristics. Same as I if I is of type integer; otherwise, same
Summary: BOZ kinds differently handled, F2008: BOZ in bit
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org