[PATCH] add benchmark for strcoll

Marek Polacek polacek@redhat.com
Tue Mar 10 12:19:00 GMT 2015


On Tue, Mar 10, 2015 at 12:43:26PM +0100, Leonhard Holz wrote:
> 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__;
>    ^

used != unused

	Marek



More information about the Libc-alpha mailing list