[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #4 from Andrew Pinski --- What target and what is the host?

[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 preprocessor/103446] Invalid wide multibyte character constant

2021-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103446 --- Comment #2 from Andrew Pinski --- Is there a full testcase including what options you used? Did you use "-finput-charset=" and -fexec-charset= options?