[Bug ipa/124700] New: [16 Regression] ICE in verify_cgraph_node failed, comdat-local symbol referred to by ...
doko at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 30 14:50:38 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124700
Bug ID: 124700
Summary: [16 Regression] ICE in verify_cgraph_node failed,
comdat-local symbol referred to by ...
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
Target Milestone: ---
Created attachment 64083
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64083&action=edit
preprocessed source
seen with trunk 20260322, not seen with the gcc-15 branch (there is also
PR118165, but that regresses on all active branches)
$ g++ -c -mavx2 -mtune=generic -O3 -Wall -Wextra -std=c++14 -fsigned-char
-fopenmp kmermatcher.ii
: In function
'_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm._omp_fn.0':
:74:9: error: comdat-local symbol referred to by std::pair<long unsigned int,
long unsigned int> fillKmerPositionArray(KmerPosition<T>*, size_t,
DBReader<unsigned int>&, Parameters&, BaseMatrix*, bool, size_t, size_t,
size_t*) [with int <anonymous> = 0; T = short int] outside its comdat
_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm._omp_fn.0/63
(_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm._omp_fn.0)
Type: function definition analyzed
Visibility: semantic_interposition prevailing_def_ironly
comdat_group:_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm
artificial
Same comdat group as:
_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm/35
Address is taken.
References:
Referring:
_Z21fillKmerPositionArrayILi0EsESt4pairImmEP12KmerPositionIT0_EmR8DBReaderIjER10ParametersP10BaseMatrixbmmPm.constprop.0/101
(addr)
Availability: available
Function flags: count:21262216 (estimated locally) body parallelized_function
Called by:
Calls: _ZN4Util4hashEPhm/68 (354334800 (estimated locally),16.66 per call)
_ZN8Sequence11mapSequenceEmiPci/67 (1073741823 (estimated locally),50.50 per
call) _ZN8DBReaderIjE9getSeqLenEv/42 (1073741823 (estimated locally),50.50 per
call) _ZN8Progress14updateProgressEv/66 (1073741823 (estimated locally),50.50
per call) _ZNSt7__cxx1112basic_stringD1Ev/61 (21262216 (estimated locally),1.00
per call) _ZN8SequenceC1EmiP10BaseMatrixibbbNSt7__cxx1112basic_stringE/65
(21262216 (estimated locally),1.00 per call) _ZNSt7__cxx1112basic_stringC1Ei/64
(21262216 (estimated locally),1.00 per call)
during IPA pass: inline
:74:9: internal compiler error: verify_cgraph_node failed
0x322e8ff internal_error(char const*, ...)
../../src/gcc/diagnostic-global-context.cc:787
0x146b898 cgraph_node::verify_node()
../../src/gcc/cgraph.cc:4500
0x1458444 symtab_node::verify()
../../src/gcc/symtab.cc:1377
0x1b2263b optimize_inline_calls(tree_node*)
../../src/gcc/tree-inline.cc:5675
0x176400b inline_transform(cgraph_node*)
../../src/gcc/ipa-inline-transform.cc:871
0x19173fd execute_one_ipa_transform_pass
../../src/gcc/passes.cc:2336
0x19173fd execute_all_ipa_transforms(bool)
../../src/gcc/passes.cc:2400
0x14709ed cgraph_node::expand()
../../src/gcc/cgraphunit.cc:1867
0x14709ed cgraph_node::expand()
../../src/gcc/cgraphunit.cc:1827
0x1472a3a expand_all_functions
../../src/gcc/cgraphunit.cc:2057
0x1472a3a symbol_table::compile()
../../src/gcc/cgraphunit.cc:2435
0x14752d2 symbol_table::compile()
../../src/gcc/cgraphunit.cc:2348
0x14752d2 symbol_table::finalize_compilation_unit()
../../src/gcc/cgraphunit.cc:2626
/usr/libexec/gcc/x86_64-linux-gnu/16/cc1plus -fpreprocessed kmermatcher.ii
-quiet -dumpbase kmermatcher.ii -dumpbase-ext .ii -mavx2 -mtune=generic
-march=x86-64 -O3 -Wall -Wextra -std=c++14 -fsigned-char -fopenmp
-fasynchronous-unwind-tables -o /tmp/ccfliyv4.s
More information about the Gcc-bugs
mailing list