[ping2][PATCH v2] Add systemtap markers to math function slow paths
Joseph S. Myers
joseph@codesourcery.com
Mon Oct 14 23:54:00 GMT 2013
I see warnings, building for a non-systemtap configuration, of the form:
../sysdeps/ieee754/dbl-64/e_atan2.c:602:4: warning: the address of 'p' will always evaluate as 'true' [-Waddress]
It looks like the bool array used for the dummy probe macro
implementations will need to change if probes involve addresses of
non-weak variables (which generate this warning when converted to bool).
I expect that initializers of the form ((void) arg, 0) would be suitable
(although you won't just be able to use __VA_ARGS__ then to evaluate all
the probe arguments but would need LIBC_PROBE to map to separate macros
for each number of arguments).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list