https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
--- Comment #8 from Zloten ---
Sorry for my late reply
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
--- Comment #7 from Zloten ---
It's very very strange. I've tested GCC 11.2.0(x86-64) and MinGW(x86-64). Both
have the same problem.
Let's do not use L suffix (it's implementation-defined).
Let's use u suffix.
For both:
int test() {
return
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
--- Comment #5 from Zloten ---
I use the latest MinGW, target-host are Windows, x86-64.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
--- Comment #3 from Zloten ---
No. Just - O2.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
--- Comment #1 from Zloten ---
56481 = 0xDCA1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446
Bug ID: 103446
Summary: Invalid wide multibyte character constant
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c