Tom Hughes 99e443c3f5 For FPU/MMX/SSE instructions which don't reference any memory, make memcheck
look at whether the eflags are read or written and generate UCode to validate
and/or mark as valid the eflags when necessary.

CCMAIL: 78514-done@bugs.kde.org


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2344
2004-03-28 11:26:29 +00:00

21 lines
279 B
C

#include <stdlib.h>
struct instance
{
unsigned myVal:1;
};
static struct instance* myInstance;
int main(int argc, char** argv)
{
float g = 1.0f;
myInstance = malloc(sizeof(struct instance));
myInstance->myVal = 1;
if (g == 1.0f)
return 0;
}