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

--- Comment #21 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Richard Biener
<rgue...@gcc.gnu.org>:

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

commit r8-10922-ge6a720bf5b1328ff018880063ae3d1e777e5b61d
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Aug 3 15:05:37 2020 +0200

    lto/96385 - avoid unused global UNDEFs in debug objects

    Unused global UNDEFs can have side-effects in some circumstances so
    the following patch avoids them by treating them the same as other
    to be discarded DEFs - make them local.

    2020-08-03  Richard Biener  <rguent...@suse.de>

            PR lto/96385
    libiberty/
            * simple-object-elf.c
            (simple_object_elf_copy_lto_debug_sections): Localize global
            UNDEFs and reuse the prevailing name.

    (cherry picked from commit b32c5d0b72fda2588b4e170e75a9c64e4bf266c7)
  • [Bug lto/96385] [8 Regression] ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to