https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97822
--- Comment #10 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Werner Zeh from comment #6) > Created attachment 62928 [details] > Preprocessed sourcefile to reproduce internal bug > > Preprocessed sourcefile which can be used to reproduce the internal gcc bug. > The compile call details are as follows: > > .../mingw/gcc-12.2.0/linux/x86_64-w64-mingw32/bin/x86_64-w64-mingw32-gcc > -m64 -v -save-temps example.cc -c -o example.o > Using built-in specs. > COLLECT_GCC=.../mingw/gcc-12.2.0/linux/x86_64-w64-mingw32/bin/x86_64-w64- > mingw32-gcc Can you please try with latest mainline gcc-16? The testcase compiles OK for me with a cross from linux to: Target: x86_64-w64-mingw32 Configured with: ../git/gcc/configure --enable-languages=c,c++ --target=x86_64-w64-mingw32 --disable-nls --enable-shared --enable-threads=posix Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20251127 (experimental) [master r16-5641-g319a956cd25] (GCC)
