The code at the link below runs as expected with the FTN95 64 bit compiler returning results identical to two other compilers.
Now, if the whole module betainv_storage is commented out FTN95 64 continues to return the expected results, even although the variables g_p64, g_alpha64, g_beta64 are never defined anywhere. Other compilers correctly fault the code.
What is interesting, is if you step through the code in the debugger, before the function brent01D is called, you can see that g_p64, g_alpha64, g_beta64 exist as real*8 variables!
I was very confused by this, then found that the 32 bit compiler correctly faults the code when the module betainv_storage is commented out.
An accidental discovery, I changed the name of the storage module, forgot to change the USE statements – and found the code still ran!