types of new builtins
Jim Wilson
wilson@specifixinc.com
Wed May 19 23:02:00 GMT 2004
Jan Beulich wrote:
Why do the (new) bit-op builtins have prototypes with signed parameters
instead of unsigned ones?
Because no one else noticed the mistake before.
Interestingly, all these bit operation functions are documented to take
unsigned arguments (on Other-Builtins.html).
Also, the libgcc2.c versions of these functions have unsigned arguments.
Clearly, they were intended to be functions that take unsigned
arguments. The builtins.def file should be fixed. Submit a patch, or
file a bug report into bugzilla.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list