public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Christophe Lyon <clyon@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5472] libcpp: Fix ATTR_LIKELY definition PR preprocessor/103355 Date: Tue, 23 Nov 2021 16:11:04 +0000 (GMT) [thread overview] Message-ID: <20211123161104.1FB353858D28@sourceware.org> (raw) https://gcc.gnu.org/g:46d3cfd29dc701e1e0d18b0380d6299fce7944f2 commit r12-5472-g46d3cfd29dc701e1e0d18b0380d6299fce7944f2 Author: Christophe Lyon <christophe.lyon@foss.st.com> Date: Tue Nov 23 16:06:42 2021 +0000 libcpp: Fix ATTR_LIKELY definition PR preprocessor/103355 Fix the definition of ATTR_LIKELY when __has_cpp_attribute is not defined, as it is the case with old compilers such as gcc-4.8.5. libcpp/: PR preprocessor/103355 * system.h (ATTR_LIKELY): Fix definition. Diff: --- libcpp/system.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcpp/system.h b/libcpp/system.h index f6fc583ab80..b78ab813d2f 100644 --- a/libcpp/system.h +++ b/libcpp/system.h @@ -430,6 +430,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; # else # define ATTR_LIKELY # endif +#else +# define ATTR_LIKELY #endif /* Poison identifiers we do not want to use. */
reply other threads:[~2021-11-23 16:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211123161104.1FB353858D28@sourceware.org \ --to=clyon@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).