https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115315
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|valgrind error in |[PDT] valgrind error in |gfc_simplify_expr |gfc_simplify_expr Priority|P3 |P4 Last reconfirmed| |2024-06-01 --- Comment #1 from anlauf at gcc dot gnu.org --- Reduced testcase: subroutine p2 type t1(n1,n2) integer,kind :: n1,n2 integer :: c2(iachar('ABCDEFGHIJ'(n1:n1))) end type end The current implementation is known to be incomplete.