This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] add benchmark for strcoll
- From: Leonhard Holz <leonhard dot holz at web dot de>
- To: libc-alpha at sourceware dot org
- Cc: vapier at gentoo dot org
- Date: Tue, 10 Mar 2015 12:43:26 +0100
- Subject: Re: [PATCH] add benchmark for strcoll
- Authentication-results: sourceware.org; auth=none
- References: <54FD65DB dot 8050008 at web dot de> <20150309173715 dot GB12857 at vapier>
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__;
^