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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrea Pinski <[email protected]>:

https://gcc.gnu.org/g:78c5290e696d76fdbe7f3b006df9145d1ed7927c

commit r17-6448-g78c5290e696d76fdbe7f3b006df9145d1ed7927c
Author: Shiva S <[email protected]>
Date:   Fri Nov 13 16:46:44 2026 +0000

    gimple-ssa-warn-access: Use gcc_unreachable in host code

    gimple-ssa-warn-access.cc is part of the compiler itself and is
    compiled by the host compiler.  The host compiler need not provide
    __builtin_unreachable.  Use gcc_unreachable instead, as elsewhere
    in GCC.

    Bootstrapped and regression-tested on x86_64-pc-linux-gnu
    (default languages, --disable-multilib), with no new regressions
    relative to the unmodified baseline.

    Also tested with a non-GCC, EDG-based host compiler (GNU extensions
    disabled) on a non-glibc platform, where the patch resolves a build
    failure.

            PR tree-optimization/128701
    gcc/ChangeLog:

            * gimple-ssa-warn-access.cc (pass_waccess::set_pass_param): Use
            gcc_unreachable instead of __builtin_unreachable.

    Signed-off-by: Shiva <[email protected]>

Reply via email to