https://bugs.kde.org/show_bug.cgi?id=481131
Bug ID: 481131 Summary: [PATCH] x86 regtest: fix clobber lists in generated asm statements Classification: Developer tools Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: nota...@gmail.com Target Milestone: --- Created attachment 165704 --> https://bugs.kde.org/attachment.cgi?id=165704&action=edit patch Must add result registers also, or else code like this is generated: asm( "fsave %3\n" "movl %2, %%eax\n" "cdq\n" "movl %%edx, %0\n" "movl %%eax, %1\n" "frstor %3\n" "cld\n" : "=m" (result0), "=m" (result1) : "m" (preset0), "m" (state[0]) : "eax" ); This crashes on my machine because gcc places some pointer in %%edx. -- You are receiving this mail because: You are watching all bug changes.