Re: [PATCH] correct __clear_cache signature

2019-02-18 Thread Richard Sandiford
Martin Sebor 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 w

PING [PATCH] correct __clear_cache signature

2019-02-18 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2019-02/msg00361.html On 2/6/19 5:28 PM, Martin Sebor wrote: 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 attache

Re: [PATCH] correct __clear_cache signature

2019-02-07 Thread Martin Sebor
On 2/7/19 2:46 AM, Segher Boessenkool wrote: Hi Martin, On Wed, Feb 06, 2019 at 05:28:08PM -0700, Martin Sebor wrote: void -__clear_cache (char *beg __attribute__((__unused__)), - char *end __attribute__((__unused__))) +__clear_cache (void *beg __attribute__((__unused__)), +

Re: [PATCH] correct __clear_cache signature

2019-02-07 Thread Segher Boessenkool
Hi Martin, On Wed, Feb 06, 2019 at 05:28:08PM -0700, Martin Sebor wrote: > void > -__clear_cache (char *beg __attribute__((__unused__)), > -char *end __attribute__((__unused__))) > +__clear_cache (void *beg __attribute__((__unused__)), > +void *end __attribute__((__unused_

[PATCH] correct __clear_cache signature

2019-02-06 Thread Martin Sebor
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 x