Now I found grubbas example:
if ((s->type == T_FUNCTION) && (s->subtype == FUNCTION_BUILTIN))
can be optimized to
if (((INT32 *)(&s->type))[0] == ((T_FUNCTION<<16)|FUNCTION_BUILTIN))
which if e.g. s->type is T_FLOAT and s->subtype is uninitialized triggers a valgrind warning, though it really is bogus.
/ Martin Nilsson (saturator)
Previous text:
2004-03-02 23:48: Subject: valgrinding Pike - some problems
In my case it's not specifically a Pike issue. I don't have a working test case right now although it would be interesting to look at some.
/ David Hedbor