This implicit conversion (LOGICAL to INTEGER) is used on the patch when write use the 'I5' to print out the value of the LOGICAL as an int.
Now, as far as I remember about my classes of F77 there is no casting operators and no implicit casting is allowed. So the way we detect the value of .TRUE. is not correct even if it's accepted by some compilers. I modify the config/f77_get_value_true.m4 file to (*I hope*) a slightly more F77 friendly version. The patch is attached to the email.
I'm waiting for comments before committing. Thanks, george. "We must accept finite disappointment, but we must never lose infinite hope." Martin Luther King
true_detection.patch
Description: Binary data