https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:81e9178fe7f8bae4609619b1195765b14eef35b7 commit r12-3383-g81e9178fe7f8bae4609619b1195765b14eef35b7 Author: Eric Botcazou <ebotca...@adacore.com> Date: Tue Sep 7 15:41:49 2021 +0200 Fix PR debug/101947 This is the recent LTO bootstrap failure with Ada enabled. The compiler now generates DW_OP_deref_type for a unit of the Ada front-end, which means that the offset of base types in the CU must be computed during early DWARF too. gcc/ PR debug/101947 * dwarf2out.c (mark_base_types): New overloaded function. (dwarf2out_early_finish): Invoke it on the COMDAT type list as well as the compilation unit, and call move_marked_base_types afterward.