https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86089
--- Comment #10 from Jürgen Reuter <juergen.reuter at desy dot de> --- I can confirm that re-introducing the line case BUILT_IN_STRCPY_CHK: in lines 619/20 in tree-ssa-strlen.c does indeed solve this problem and also the problem (ICE) with our code reported in PR86103.