In older fortran code, when .or. is used with two integer types, is the result a bit-wise or of the operands or 0/1?
I’m updating legacy code, and believe I should be replacing these instances of .or. with IOR, but am uncertain if that was the expected result in older code. Should I instead be setting the result to either 0 or 1?
I believe what you are seeing is indeed a custom extension. I haven’t seen this one in use before, but I did find a reference on the web about such things actually existing in the wild:
Reference