https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114088

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #1)
> GCC built-ins like __builtin_strlen just wrap a libc function. 
> __builtin_wcslen would generally just be a call to wcslen, which doesn't give 
> you much.

But __builtin_strlen *does* get optimized when the input is a string literal. 
Not sure about wcslen though.

Reply via email to