https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:b284053bb75661fc1bf13c275f3ba5364bb17608

commit r12-3069-gb284053bb75661fc1bf13c275f3ba5364bb17608
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Mon Aug 23 11:50:14 2021 +0200

    dwarf2out: Emit DW_AT_location for global register vars during early dwarf
[PR101905]

    The following patch emits DW_AT_location for global register variables
    already during early dwarf, since usually late_global_decl hook isn't even
    called for those, as nothing needs to be emitted for them.

    2021-08-23  Jakub Jelinek  <ja...@redhat.com>

            PR debug/101905
            * dwarf2out.c (gen_variable_die): Add DW_AT_location for global
            register variables already during early_dwarf if possible.

            * gcc.dg/guality/pr101905.c: New test.

Reply via email to