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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>:

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

commit r14-9770-gb2460d621efe740bd95ad41afef6d806ec1bd9c7
Author: Tobias Burnus <tbur...@baylibre.com>
Date:   Wed Apr 3 12:37:39 2024 +0200

    GCN: Fix --with-arch= handling in mkoffload [PR111966]

    The default -march= setting used in mkoffload did not reflect the modified
    default set by GCC's configure-time --with-arch=, causing issues when
    generating debug code.

    gcc/ChangeLog:

            PR other/111966
            * config/gcn/mkoffload.cc (get_arch): New; moved -march= flag
            handling from ...
            (main): ... here; call it to handle --with-arch config option
            and -march= commandline.

Reply via email to