https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117282
Jeffrey A. Law <law at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at gcc dot gnu.org --- Comment #4 from Jeffrey A. Law <law at gcc dot gnu.org> --- This could potentially be handled during expansion since we'd know the result type (boolean) and could just test s != 0 && *s != 0 rather than doing the full strlen.