aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-19 10:02:40 +0200
committerRichard Biener <rguenther@suse.de>2022-07-19 11:16:27 +0200
commit0f129766fdb687394f0eea04f69268b5cc034cda (patch)
treedcb37a8c6cde95c824d901c330f75ae029c9f786 /gcc/tree-cfg.cc
parent40f6e5912288256ee8ac41474f2dce7b6881c111 (diff)
downloadgcc-0f129766fdb687394f0eea04f69268b5cc034cda.zip
gcc-0f129766fdb687394f0eea04f69268b5cc034cda.tar.gz
gcc-0f129766fdb687394f0eea04f69268b5cc034cda.tar.bz2
lto/106334 - relax assert during WPA tree merging
The dwarf2out map of tree to symbol + offset is populated too early when streaming in trees so that when WPA tree merging decides to recycle them the mapping prevails and if we are unlucky the same address is used for another tree with a symbol + offset DIE to record. The following mitigates the resulting ICE by relaxing the assert, allowing re-use of a slot during WPA. Delaying the register would be better but it's already somewhat hairy and uglifying this further doesn't look too important right now. PR lto/106334 * dwarf2out.cc (dwarf2out_register_external_die): Allow map entry re-use during WPA.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions