[Bug fortran/124656] [16 Regression] [UBSAN] check.cc:4100:13: runtime error
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 27 20:02:30 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124656
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:b2b3db8f83a37492429327b5228ee1c7f20a13f7
commit r16-8309-gb2b3db8f83a37492429327b5228ee1c7f20a13f7
Author: Harald Anlauf <anlauf@gmx.de>
Date: Fri Mar 27 20:51:20 2026 +0100
Fortran: fix array bounds violation in min_max_args [PR124656]
PR fortran/124656
gcc/fortran/ChangeLog:
* check.cc (min_max_args): Fix array index used for registering
labeled arguments of the MIN/MAX intrinsics for subsequent
duplicate label checks.
More information about the Gcc-bugs
mailing list