https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93340
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gcc dot gnu.org --- Comment #5 from anlauf at gcc dot gnu.org --- There is also a related missed simplification of substrings. The dump-tree of subroutine p call foo ('abcd'(1:1)) end is: void p () { foo (&"abcd"[1]{lb: 1 sz: 1}, 1); } I'd expect: void p () { foo (&"a"[1]{lb: 1 sz: 1}, 1); } which we get for call foo ('a'(1:1)) or call foo ('a')