This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH][benchtests] Use benchmark framework for strtod


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


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