https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809
--- Comment #2 from wilco at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > We may have dups of this. And we now have inlining for strcmp/memcmp when > the > result is only compared against zero. I don't see that happening with latest trunk (maybe patches are still outstanding?), however if so then that code could be generalized to support any strcmp.