EXTRA_DIST = $(noinst_SCRIPTS) \
bug133694.vgtest bug133694.stderr.exp bug133694.stdout.exp \
+ bug152022.vgtest bug152022.stderr.exp bug152022.stdout.exp \
espindola2.vgtest espindola2.stderr.exp \
fpeflags.stderr.exp fpeflags.vgtest \
$(addsuffix .stderr.exp,$(INSN_TESTS)) \
check_PROGRAMS = \
bug133694 \
+ bug152022 \
espindola2 \
int3-x86 \
scalar_exit_group scalar_fork scalar_supp scalar_vfork \
--- /dev/null
+
+/* As discussed on valgrind-users in the thread
+ http://comments.gmane.org/gmane.comp.debugging.valgrind/7535
+ valgrinding Wine running a large win32 app (Picasa) fails with the message
+
+ vex: priv/host-x86/isel.c:510 (doHelperCall): Assertion
+ `typeOfIRExpr(env->type_env, args[i]) == Ity_I32' failed.
+
+ See http://bugs.kde.org/show_bug.cgi?id=152022
+
+This little fragment used to cause Memcheck to assert, so if the
+program runs to completion without dying, the test is passed.
+*/
+
+
+int main ( void ) {
+ __asm__ __volatile__( "subw $0x28, %%sp\n"
+ "movl $0, 0(%%esp)\n"
+ "addw $0x28, %%sp" : : : "memory" );
+ return 0;
+}
+
--- /dev/null
+
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
+malloc/free: in use at exit: 0 bytes in 0 blocks.
+malloc/free: 0 allocs, 0 frees, 0 bytes allocated.
+For a detailed leak analysis, rerun with: --leak-check=yes
+For counts of detected errors, rerun with: -v