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

--- Comment #22 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <ia...@gcc.gnu.org>:

https://gcc.gnu.org/g:743b8dd6fd757e997eb060d70fd4ae8e04fb56cd

commit r12-2968-g743b8dd6fd757e997eb060d70fd4ae8e04fb56cd
Author: Iain Sandoe <i...@sandoe.co.uk>
Date:   Sat Jul 31 16:29:03 2021 +0100

    Darwin, X86, config: Adjust 'as' command lines [PR100340].

    Versions of the assembler using clang from XCode 12.5/12.5.1
    have a bug which produces different code layout between debug and
    non-debug input, leading to a compare fail for default configure
    parameters.

    This is a workaround fix to disable the optimisation that is
    responsible for the bug.

    Signed-off-by: Iain Sandoe <i...@sandoe.co.uk>

    PR target/100340 - Bootstrap fails with Clang 12.0.5 (XCode 12.5)

            PR target/100340

    gcc/ChangeLog:

            * config.in: Regenerate.
            * config/i386/darwin.h (EXTRA_ASM_OPTS): New
            (ASM_SPEC): Pass options to disable branch shortening where
            needed.
            * configure: Regenerate.
            * configure.ac: Detect versions of 'as' that support the
            optimisation which has the bug.

Reply via email to