https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103950
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Thorsten Otto from comment #6) > A similar fix will be needed in gimple_fold_builtin_fputs Yes agreed. gimple_fold_builtin_strstr should do the same, though I don't know if it will matter but it is better to be safe than sorry there.