[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-29 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #8 from Zloten --- Sorry for my late reply

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-29 Thread zloten at mail dot ru via Gcc-bugs
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

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
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.

[Bug preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #3 from Zloten --- No. Just - O2.

[Bug c/103446] Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #1 from Zloten --- 56481 = 0xDCA1

[Bug c/103446] New: Invalid wide multibyte character constant

2021-11-26 Thread zloten at mail dot ru via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: zloten at mail dot ru Target Milestone: --- assert('Z' == 0x5A); assert('Ы' == 0xD0AB); assert('闩' == 0x00E997A9); assert('𠂡' == 0xF0A082A1); assert(U'Z' == 0x5A); assert(U&

[Bug c/80274] New: There is an unoptimized direct memory write of 16bit value on x86_64 with O2 and O3.

2017-03-31 Thread zloten at mail dot ru
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zloten at mail dot ru Target Milestone: --- The next code: void foo() { *(unsigned short*)0x=1; } Compiles to: foo(): mov eax, 1 mov