Yes, valgrind doesn't like code like the following:
if ((s->type == T_FUNCTION) && (s->subtype == FUNCTION_BUILTIN)) ...
which gcc (correctly) optimizes into
if (*((INT32 *)(&s->type)) == (T_FUNCTION | (FUNCTION_BUILTIN<<16))) ...
valgrind doesn't like that the value in the comparison isn't fully welldefined, but it doesn't need to be as long as the welldefined part of the value differs.
/ Henrik Grubbström (Lysator)
Previous text:
2002-12-11 10:18: Subject: gcc 3.2
You'll probably also need to disable all gcc optimizations.
/ Henrik Grubbström (Lysator)