[Bug debug/102507] ICE in btf_finalize when compiling with -gbtf

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 29 20:29:50 GMT 2021


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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Indu Bhagat <ibhagat@gcc.gnu.org>:

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

commit r12-3972-gd6a87d96d7473cbd2404d5dcc7eef36a7f53b2b2
Author: Indu Bhagat <indu.bhagat@oracle.com>
Date:   Wed Sep 29 13:25:39 2021 -0700

    debug/102507: ICE in btf_finalize when compiling with -gbtf

    Fix the free up of btf_var_ids hash_map in btf_finalize ().

    gcc/ChangeLog:

            PR debug/102507
            * btfout.c (GTY): Add GTY (()) albeit for cosmetic only purpose.
            (btf_finalize): Empty the hash_map btf_var_ids.


More information about the Gcc-bugs mailing list