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

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Prathamesh Kulkarni
<prathamesh3...@gcc.gnu.org>:

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

commit r15-3571-ge783a4a683762487cb003ae48235f3d44875de1b
Author: Prathamesh Kulkarni <prathame...@nvidia.com>
Date:   Tue Sep 10 21:01:58 2024 +0530

    Pass host specific ABI opts from mkoffload.

    The patch adds an option -foffload-abi-host-opts, which
    is set by host in TARGET_OFFLOAD_OPTIONS, and mkoffload then passes its
value
    to host_compiler.

    gcc/ChangeLog:
            PR target/96265
            * common.opt (foffload-abi-host-opts): New option.
            * config/aarch64/aarch64.cc (aarch64_offload_options): Pass
            -foffload-abi-host-opts.
            * config/i386/i386-options.cc (ix86_offload_options): Likewise.
            * config/rs6000/rs6000.cc (rs6000_offload_options): Likewise.
            * config/nvptx/mkoffload.cc (offload_abi_host_opts): Define.
            (compile_native): Append offload_abi_host_opts to argv_obstack.
            (main): Handle option -foffload-abi-host-opts.
            * config/gcn/mkoffload.cc (offload_abi_host_opts): Define.
            (compile_native): Append offload_abi_host_opts to argv_obstack.
            (main): Handle option -foffload-abi-host-opts.
            * lto-wrapper.cc (merge_and_complain): Handle
            -foffload-abi-host-opts.
            (append_compiler_options): Likewise.
            * opts.cc (common_handle_option): Likewise.

    Signed-off-by: Prathamesh Kulkarni <prathame...@nvidia.com>

Reply via email to