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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Marek Polacek <mpola...@gcc.gnu.org>:

https://gcc.gnu.org/g:630686f93f0018fa1ef128aa673fddd302cc83e1

commit r12-5459-g630686f93f0018fa1ef128aa673fddd302cc83e1
Author: Marek Polacek <pola...@redhat.com>
Date:   Mon Nov 22 11:29:40 2021 -0500

    libcpp: Use [[likely]] conditionally

    Let's hide [[likely]] behind a macro, to suppress warnings if the
    compiler doesn't support it.

    Co-authored-by: Jonathan Wakely <jwak...@redhat.com>

            PR preprocessor/103355

    libcpp/ChangeLog:

            * lex.c: Use ATTR_LIKELY instead of [[likely]].
            * system.h (ATTR_LIKELY): Define.

Reply via email to