undefined behavior (UB) Behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which the Fortran Standard imposes no requirements. An example of undefined behavior is the behavior on integer overflow.