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

--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Kael Franco from comment #4)
> (In reply to Drea Pinski from comment #2)
> > I am not sure if this needs to be done since there is memset_explicit in C23
> > now.
> > 
> > https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2897.htm
> 
> GCC, just like Clang, has no __builtin_memset_explicit, I think this should
> be added for C23 support.

I mentioned this before, adding the __builtin for memset_explicit is the wrong
approach. In fact we don't want the compiler to know anything about
memset_explicit which is why having the builtin is wrong appoarch.

Reply via email to