https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

            Bug ID: 92240
           Summary: [10 regression] ICE in duplicate, at ipa-prop.c:3883
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

r277460 PASS
r277485 FAIL

gcc_current/configure --prefix=/usr/local/gcc_current
--enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --enable-cet --with-tune=native

make
...
/home/dimhen/build/gcc_current/./prev-gcc/xgcc
-B/home/dimhen/build/gcc_current/./prev-gcc/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/gcc_current/x86_64-pc-linux-gnu/include -isystem
/usr/local/gcc_current/x86_64-pc-linux-gnu/sys-include -fno-checking
-DHAVE_CONFIG_H -I. -I/home/dimhen/src/gcc_current/isl
-I/home/dimhen/src/gcc_current/isl/include -Iinclude/
-I/home/dimhen/src/gcc_current/gmp -I/home/dimhen/build/gcc_current/./gmp -g
-O2 -fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c
/home/dimhen/src/gcc_current/isl/isl_fold.c -o isl_fold.o
during IPA pass: inline
/home/dimhen/src/gcc_current/isl/isl_fold.c:1777:1: internal compiler error: in
duplicate, at ipa-prop.c:3883
 1777 | }
      | ^
0xeeab70 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*,
ipa_edge_args*, ipa_edge_args*)
        /home/dimhen/src/gcc_current/gcc/ipa-prop.c:3883
0xef3257 call_summary<ipa_edge_args*>::symtab_duplication(cgraph_edge*,
cgraph_edge*, void*)
        /home/dimhen/src/gcc_current/gcc/symbol-summary.h:771
0xafb841 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edge*)
        /home/dimhen/src/gcc_current/gcc/cgraph.c:453
0xb19c79 cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_count,
profile_count, bool)
        /home/dimhen/src/gcc_current/gcc/cgraphclones.c:141
0xb1acba cgraph_node::create_clone(tree_node*, profile_count, bool,
vec<cgraph_edge*, va_heap, vl_ptr>, bool, cgraph_node*, ipa_param_adjustments*,
char const*)
        /home/dimhen/src/gcc_current/gcc/cgraphclones.c:390
0x26ccd59 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
        /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:217
0x26cce0e clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
        /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236
0x26cce0e clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
        /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:236
0x26cda93 inline_call(cgraph_edge*, bool, vec<cgraph_edge*, va_heap, vl_ptr>*,
int*, bool, bool*)
        /home/dimhen/src/gcc_current/gcc/ipa-inline-transform.c:479
0x26bec88 inline_small_functions
        /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2151
0x26c0731 ipa_inline
        /home/dimhen/src/gcc_current/gcc/ipa-inline.c:2615
0x26c15d6 execute
        /home/dimhen/src/gcc_current/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.

Reply via email to