This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH][benchtests] Use benchmark framework for strtod
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 4 Dec 2013 14:34:27 +0000
- Subject: Re: [PATCH][benchtests] Use benchmark framework for strtod
- Authentication-results: sourceware.org; auth=none
- References: <20131204074418 dot GP14845 at spoyarek dot pnq dot redhat dot com>
On Wed, 4 Dec 2013, Siddhesh Poyarekar wrote:
> which I am unable to currently avoid because I need the volatile in
> place to prevent gcc from inlining the math functions. I'll figure
> out a way to fix this warning later if that is OK.
The logical equivalent for strtod would be const char *volatile - making
the pointer itself volatile - so make sure that "volatile" is being used
correctly to qualify whatever the relevant type is, regardless of the
syntax used for that type, rather than simply being concatenated with a
type name.
--
Joseph S. Myers
joseph@codesourcery.com