https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116068
Bug ID: 116068 Summary: [15 Regression] ICE: in bitmap_alloc, at bitmap.cc:785 with -Os -flto -ffat-lto-objects -floop-parallelize-all Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: ipa 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 58748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58748&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -Os -flto -ffat-lto-objects -floop-parallelize-all -ftree-parallelize-loops=2 --param=parloops-schedule=dynamic testcase.c testcase.c: In function 'foo0._loopfn.0': testcase.c:24:1: internal compiler error: in bitmap_alloc, at bitmap.cc:785 24 | } | ^ 0x2b38cee internal_error(char const*, ...) /repo/gcc-trunk/gcc/diagnostic-global-context.cc:491 0xe4e87b fancy_abort(char const*, int, char const*) /repo/gcc-trunk/gcc/diagnostic.cc:1725 0x7331aa bitmap_alloc(bitmap_obstack*) /repo/gcc-trunk/gcc/bitmap.cc:785 0x16a7a36 walk_aliased_vdefs_1 /repo/gcc-trunk/gcc/tree-ssa-alias.cc:4038 0x16a7acf walk_aliased_vdefs(ao_ref*, tree_node*, bool (*)(ao_ref*, tree_node*, void*), void*, bitmap_head**, bool*, unsigned int) /repo/gcc-trunk/gcc/tree-ssa-alias.cc:4082 0x12aef59 ipa_polymorphic_call_context::get_dynamic_type(tree_node*, tree_node*, tree_node*, gimple*, unsigned int*) /repo/gcc-trunk/gcc/ipa-polymorphic-call.cc:1738 0x12ea221 ipa_compute_jump_functions_for_edge /repo/gcc-trunk/gcc/ipa-prop.cc:2343 0x12ebbba ipa_compute_jump_functions_for_bb /repo/gcc-trunk/gcc/ipa-prop.cc:2500 0x12ebbba analysis_dom_walker::before_dom_children(basic_block_def*) /repo/gcc-trunk/gcc/ipa-prop.cc:3134 0x289b70e dom_walker::walk(basic_block_def*) /repo/gcc-trunk/gcc/domwalk.cc:311 0x12e8859 ipa_analyze_node(cgraph_node*) /repo/gcc-trunk/gcc/ipa-prop.cc:3203 0x1031fb0 symbol_table::call_cgraph_insertion_hooks(cgraph_node*) /repo/gcc-trunk/gcc/cgraph.cc:385 0x104118a symbol_table::process_new_functions() /repo/gcc-trunk/gcc/cgraphunit.cc:362 0x1041c3d symbol_table::process_new_functions() /repo/gcc-trunk/gcc/cgraphunit.cc:304 0x1041c3d expand_all_functions /repo/gcc-trunk/gcc/cgraphunit.cc:2064 0x1041c3d symbol_table::compile() /repo/gcc-trunk/gcc/cgraphunit.cc:2404 0x1044607 symbol_table::compile() /repo/gcc-trunk/gcc/cgraphunit.cc:2315 0x1044607 symbol_table::finalize_compilation_unit() /repo/gcc-trunk/gcc/cgraphunit.cc:2589 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-r15-2241-20240724125158-g90597341095-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/15.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 --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-2241-20240724125158-g90597341095-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240724 (experimental) (GCC)