As the 64-bit compiler gradually supplants the old reliable FTN95-32, we may run into another curious and unexpected behaviour: with 8-byte integers, the 32-bit compiler can do a more efficient job of catching integer overflow than the 64-bit compiler.
That is because FTN95-32 uses the X87 section of the CPU to do 8-byte integer arithmetic. When an expression is evaluated and saved to memory, an FIST/FISTP instruction is used. If the number is too large an integer for 8 bytes in memory, a floating-point exception is raised, if exceptions are unmasked, and the exception can be processed.
In FTN95-64, in contrast, arithmetic with 8-byte integers is faster with the main (integer) part of the CPU, but a lot more code has to be emitted by the compiler if the user wants to catch integer overflow -- no hardware assist in the form of an exception is available.