This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PING] [PATCH] Avoid excessive function type casts with splay-trees


Ping...


On 05/03/18 22:13, Bernd Edlinger wrote:
> Hi,
> 
> this is basically the same patch I posted a few months ago,
> with a few formatting nits by Jakub fixed.
> 
> Bootstrapped and reg-tested again with current trunk.
> 
> Is it OK for trunk?
> 
> 
> Bernd.
> 
> On 12/15/17 11:44, Bernd Edlinger wrote:
>> Hi,
>>
>> when working on the -Wcast-function-type patch I noticed some rather
>> ugly and non-portable function type casts that are necessary to 
>> accomplish
>> some actually very simple tasks.
>>
>> Often functions taking pointer arguments are called with a different 
>> signature
>> taking uintptr_t arguments, which is IMHO not really safe to do...
>>
>> The attached patch adds a context argument to the callback functions but
>> keeps the existing interface as far as possible.
>>
>>
>> Bootstrapped and reg-tested on x86_64-pc-linux-gnu.
>> Is it OK for trunk?
>>
>>
>> Thanks
>> Bernd.
>>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]