https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121157
Bug ID: 121157 Summary: GNAT internal error when using -gcodeview Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: tkacvins at gmail dot com CC: dkm at gcc dot gnu.org Target Milestone: --- Created attachment 61907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61907&action=edit Ada package specification When coming an Ada file to object file, I get this error message gcc -g -gcodeview -c local_io.adb +===========================GNAT BUG DETECTED==============================+ | 15.1.0 (x86_64-w64-mingw32) in AT_unsigned, at dwarf2out.cc:4572 | | Error detected around local_io.adb:316:22 | | Compiling local_io.adb | | Please submit a bug report; see https://gcc.gnu.org/bugs/ . | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact command that you entered. | | Also include sources listed below. | +==========================================================================+ The gcc I am using is 15.1.0 on MinGW-w64 UCRT64 Using built-in specs. COLLECT_GCC=N:\x64\mingw-w64-gcc-15.1.0-ucrt\bin\gcc.exe COLLECT_LTO_WRAPPER=C:/vector_deps/N/x64/mingw-w64-gcc-15.1.0-ucrt/bin/../lib/gcc/x86_64-w64-mingw32/15.1.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-15.1.0/configure --prefix=/ucrt64 --with-local-prefix=/ucrt64/local --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib --enable-bootstrap --enable-checking=release --with-arch=nocona --with-tune=generic --enable-mingw-wildcard --enable-languages=c,lto,c++,ada --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-backtrace=yes --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 --with-pkgversion='Rev6, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --disable-libstdcxx-debug --enable-plugin --with-boot-ldflags=-static-libstdc++ --with-stage1-ldflags=-static-libstdc++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.1.0 (Rev6, Built by MSYS2 project)