[Bug jit/123702] `gcc_jit_context_new_function` doesn't accept Unicode characters in function name

coarse.d1rtxxx at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 25 11:03:06 GMT 2026


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

--- Comment #4 from Coarse Rosinflower <coarse.d1rtxxx at gmail dot com> ---
Okay, I figured out what that comment meant. ASCII control characters and
things like spaces make the assembler complain. However even what could be
considered egregious characters to put in an identifier--non-breaking spaces,
word joiners, Arabic-Indic numerals, the Right-to-left Overrides, etc.--are
still completely fine to put into the assembler. All the check needs to do is
make sure that *if it's an ASCII character*, it is a valid C ID character. If
it's not an ASCII character (if the byte is > 0x80), it can be passed along
perfectly fine.


More information about the Gcc-bugs mailing list