]> git.ipfire.org Git - thirdparty/gcc.git/commit
debug/110885 - fix split-dwarf / debug-types interaction master trunk
authorRichard Biener <rguenther@suse.de>
Fri, 30 Jan 2026 08:55:38 +0000 (09:55 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 30 Jan 2026 10:57:31 +0000 (11:57 +0100)
commitb61b3e19f94f9b79afd74602016603124a943510
tree69ba4536b0e0e8df2740b464738d86f6c48413b0
parent12c95fc1adf7f64d4cffa1274560339c90e8dbfb
debug/110885 - fix split-dwarf / debug-types interaction

The following fixes a link failure due to missing skeleton
ancestors.

PR debug/110885
* dwarf2out.cc (generate_skeleton_bottom_up): Generate the
skeleton ancestor tree when moving a new child to the parent
even for template instantiations.

* g++.dg/debug/dwarf2/pr110885.C: New testcase.
gcc/dwarf2out.cc
gcc/testsuite/g++.dg/debug/dwarf2/pr110885.C [new file with mode: 0644]