https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240
--- Comment #9 from Dmitry G. Dyachenko ---
Created attachment 47654
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47654&action=edit
pre-processed isl_fold.c
gcc_r277495
./contrib/download_prerequisites
~/src/gcc_r277485/configure --enable-checking=yes --enable-languages=c,c++
--disable-multilib --with-isl
make
[...]
libtool: compile: /home/dimhen/build/./prev-gcc/xgcc
-B/home/dimhen/build/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/
-isystem /usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I.
-I/home/dimhen/src/gcc_r277485/isl -I/home/dimhen/src/gcc_r277485/isl/include
-Iinclude/ -I/home/dimhen/src/gcc_r277485/gmp -I/home/dimhen/build/./gmp -g -O2
-fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c
/home/dimhen/src/gcc_r277485/isl/isl_fold.c -o isl_fold.o
during IPA pass: inline
/home/dimhen/src/gcc_r277485/isl/isl_fold.c:1777:1: internal compiler error: in
duplicate, at ipa-prop.c:3883
1777 | }
| ^
0xe820f8 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*,
ipa_edge_args*, ipa_edge_args*)
/home/dimhen/src/gcc_r277485/gcc/ipa-prop.c:3883
0xe8a7df call_summary::symtab_duplication(cgraph_edge*,
cgraph_edge*, void*)
/home/dimhen/src/gcc_r277485/gcc/symbol-summary.h:771
0xae6b11 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edge*)
/home/dimhen/src/gcc_r277485/gcc/cgraph.c:453
0xb04f3f cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_count,
profile_count, bool)
/home/dimhen/src/gcc_r277485/gcc/cgraphclones.c:141
0xb05f80 cgraph_node::create_clone(tree_node*, profile_count, bool,
vec, bool, cgraph_node*, ipa_param_adjustments*,
char const*)
/home/dimhen/src/gcc_r277485/gcc/cgraphclones.c:390
0x2060f11 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:217
0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:236
0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:236
0x2061c4b inline_call(cgraph_edge*, bool, vec*,
int*, bool, bool*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:479
0x2052e40 inline_small_functions
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:2151
0x20548e9 ipa_inline
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:2615
0x205578e execute
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:3023
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
/home/dimhen/build/./prev-gcc/xgcc -B/home/dimhen/build/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I.
-I/home/dimhen/src/gcc_r277485/isl -I/home/dimhen/src/gcc_r277485/isl/include
-Iinclude/ -I/home/dimhen/src/gcc_r277485/gmp -I/home/dimhen/build/./gmp -g -O2
-fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c
/home/dimhen/src/gcc_r277485/isl/isl_fold.c -o isl_fold.i -E
/home/dimhen/build/./prev-gcc/xgcc -fpreprocessed
-B/home/dimhen/build/./prev-gcc/ -fno-checking -g -O2 -fno-checking -gtoggle -c
isl_fold.i