https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101823
Bug ID: 101823 Summary: GCC generates the wrong string in the assembly code. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bootmgr at 163 dot com Target Milestone: --- Created attachment 51275 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51275&action=edit test.s The gcc I compiled generated wrong assembly code on Windows. This gcc is Canadian compiled from Ubuntu. Error Messages: H:\cxx>g++ test.cc C:\Users\ADMINI~1\AppData\Local\Temp\ccxMVKI1.s: Assembler messages: C:\Users\ADMINI~1\AppData\Local\Temp\ccxMVKI1.s:43: Warning: missing closing `"' C:\Users\ADMINI~1\AppData\Local\Temp\ccxMVKI1.s:43: Error: invalid character (0xa in mnemonic Configured with: ../gcc/configure --disable-multilib --disable-nls --disable-rpath --disable-win32-registry --enable-graphite --enable-languages=c,c++,jit,lto --enable-mingw-wildcard --enable-threads=posix --disable-libstdcxx-pch --disable- libstdcxx-verbose --enable-fully-dynamic-string --enable-large-address-aware --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64