AI tools frequently struggle with legacy Fortran, introducing unintended semantic changes or compilation errors when attempting modernization due to less well-written source code for training and its focus on predictable, machine-level efficiency over modern abstraction.