https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90036
--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> --- The warning for the test in comment #3 has disappeared in GCC 10 (it's still there in GCC 9). There are no printf calls with null arguments in the strlen dump. GCC 10 still issues a warning for the test in comment #8. The predicate analysis might be something to look into for GCC 11.