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

--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

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

commit r15-3135-gcb51e0b236c7d492af2033582230e78d8b55290f
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Fri Aug 23 05:36:45 2024 -0700

    lto: Don't check obj.found for offload section

    obj.found is the number of LTO symbols.  We should include the offload
    section when it is used by linker even if there are no LTO symbols.

            PR lto/116361
            * lto-plugin.c (claim_file_handler_v2): Don't check obj.found
            for the offload section.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to