[PATCH] add benchmark for strcoll

Leonhard Holz leonhard.holz@web.de
Tue Mar 10 11:43:00 GMT 2015


Ok, I changed the code following to your proposals. But one doesnt work:

>
>> +  timing_t res __attribute__ ((unused));
>
> use __attribute_used__ instead

bench-strcoll.c: In function ‘do_bench’:
bench-strcoll.c:334:3: error: ‘__used__’ attribute ignored [-Werror=attributes]
    timing_t res __attribute_used__;
    ^



More information about the Libc-alpha mailing list