]> gcc.gnu.org Git - gcc.git/commit
Fix PR debug/101947
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Sep 2021 13:41:49 +0000 (15:41 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Tue, 7 Sep 2021 13:42:51 +0000 (15:42 +0200)
commit81e9178fe7f8bae4609619b1195765b14eef35b7
treeb37377c3c0fa7038f408a9de52d545d54fcf77e1
parentad9fcb961c0705f56907a728c3748c011a0a8048
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.
gcc/dwarf2out.c
This page took 0.049991 seconds and 5 git commands to generate.