https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107585
Bug ID: 107585 Summary: [13 Regression] ICE: in decompose, at rtl.h:2288 at -O Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization 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 53858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53858&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O testcase.c testcase.c:10:1: internal compiler error: in decompose, at rtl.h:2288 10 | } | ^ 0x7979da wi::int_traits<std::pair<rtx_def*, machine_mode> >::decompose(long*, unsigned int, std::pair<rtx_def*, machine_mode> const&) /repo/gcc-trunk/gcc/rtl.h:2288 0x7979da wide_int_ref_storage<false, true>::wide_int_ref_storage<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*, machine_mode> const&) /repo/gcc-trunk/gcc/wide-int.h:1024 0x7979da generic_wide_int<wide_int_ref_storage<false, true> >::generic_wide_int<std::pair<rtx_def*, machine_mode> >(std::pair<rtx_def*, machine_mode> const&) /repo/gcc-trunk/gcc/wide-int.h:782 0x7979da native_encode_rtx(machine_mode, rtx_def*, vec<unsigned char, va_heap, vl_ptr>&, unsigned int, unsigned int) /repo/gcc-trunk/gcc/simplify-rtx.cc:7007 0x13b7298 native_encode_rtx(machine_mode, rtx_def*, vec<unsigned char, va_heap, vl_ptr>&, unsigned int, unsigned int) /repo/gcc-trunk/gcc/simplify-rtx.cc:6977 0x174ec46 optimize_constant_pool /repo/gcc-trunk/gcc/varasm.cc:4416 0x17587cf output_shared_constant_pool() /repo/gcc-trunk/gcc/varasm.cc:4523 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-r13-3822-20221108213455-gb305793b985-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/13.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-r13-3822-20221108213455-gb305793b985-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221109 (experimental) (GCC)