Pushed as obvious and simple. The master branch has been updated by Jerry DeLisle <[email protected]>:
https://gcc.gnu.org/g:0ac324783dfb7627332835da7e48fed2d4049da9 commit r16-8321-g0ac324783dfb7627332835da7e48fed2d4049da9 Author: Jerry DeLisle <[email protected]> Date: Sat Mar 28 10:53:55 2026 -0700 fortran: Fix [PR124666] [16 Regression] [UBSAN] io.cc:290:27: runtime error Simple an obvious fix to avoid integer overflow. PR fortran/124666 gcc/fortran/ChangeLog: * io.cc (format_lex): Use enclosing parens to subtract before adding.
