This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] correct __clear_cache signature
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: Martin Sebor <msebor at gmail dot com>
- Cc: "gcc-patches\@gcc.gnu.org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 18 Feb 2019 21:23:50 +0000
- Subject: Re: [PATCH] correct __clear_cache signature
- References: <66fe11a5-62b2-3016-c9d6-9ccf28858528@gmail.com>
Martin Sebor <msebor@gmail.com> writes:
> Recent libgcc builds have been triggering -Wbuiltin-declaration-mismatch
> due to the declaration of the __clear_cache built-in being incompatible
> with how GCC declares it internally. The attached patch adjusts
> the libgcc declaration and the one in the manual to match what GCC
> expects.
>
> Tested on x86_64-linux.
OK, thanks.
Richard