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

--- Comment #10 from Thomas Wolff <towo at computer dot org> ---
The significant difference is this:
<       movzwl  %ax, %eax
---
>       cwtl

Instead of an unsigned (zero-extending) word length extension of the wcwidth
parameter, gcc 16 applies a singed (sign-extending) extension, which is
certainly wrong on a character code.

Reply via email to