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

--- Comment #3 from cqwrteur <unlvsur at live dot com> ---
(In reply to Jonathan Wakely from comment #2)
> Should be fixed now.

Question about toupper or any functions in ctype.h

These functions are not thread-safe and they do incur a very high cost due to
calling into shared libraries even for a very simple task. Plus it is undefined
behavior if the character value is above 127. They do not deal with
-fexec-charset correctly either.

Why not just write your own function which is simpler, faster, and more
versatile??

Reply via email to