https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112718
Bug ID: 112718 Summary: [11/12/13/14 Regression] ICE: in add_dwarf_attr, at dwarf2out.cc:4501 with -g -fdebug-types-section -flto -fno-use-linker-plugin Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 56692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56692&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -g -fdebug-types-section -flto -fno-use-linker-plugin testcase.c testcase.c:8:1: internal compiler error: in add_dwarf_attr, at dwarf2out.cc:4501 8 | } _EC_X9_62_PRIME_192V3; | ^ 0x73f5ce add_dwarf_attr /repo/gcc-trunk/gcc/dwarf2out.cc:4501 0x74151f add_dwarf_attr /repo/gcc-trunk/gcc/vec.h:715 0x74151f add_AT_die_ref /repo/gcc-trunk/gcc/dwarf2out.cc:4925 0x74151f add_sibling_attributes /repo/gcc-trunk/gcc/dwarf2out.cc:8983 0x101524b add_sibling_attributes /repo/gcc-trunk/gcc/dwarf2out.cc:8985 0x1051b4f dwarf2out_finish /repo/gcc-trunk/gcc/dwarf2out.cc:32318 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-5865-20231127072427-gb6db325ac3e-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --disable-bootstrap --with-cloog --with-ppl --with-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-5865-20231127072427-gb6db325ac3e-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231127 (experimental) (GCC)