mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
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
21 lines
279 B
C
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;
|
|
}
|