Recognized as memset, fixed.

Tested on x86_64-unknown-linux-gnu, applied.

Richard.

2012-07-13  Richard Guenther  <rguent...@suse.de>

        * libmudflap.c/fail11-frag.c: Adjust to not look like memset.
        * libmudflap.c/fail12-frag.c: Likewise.

Index: libmudflap/testsuite/libmudflap.c/fail11-frag.c
===================================================================
--- libmudflap/testsuite/libmudflap.c/fail11-frag.c     (revision 189461)
+++ libmudflap/testsuite/libmudflap.c/fail11-frag.c     (working copy)
@@ -10,7 +10,7 @@ y = x;
 while (i--)
 {
   ++x;
-  *x = 0;
+  *x = i;
 }
 return 0;
 }
Index: libmudflap/testsuite/libmudflap.c/fail12-frag.c
===================================================================
--- libmudflap/testsuite/libmudflap.c/fail12-frag.c     (revision 189461)
+++ libmudflap/testsuite/libmudflap.c/fail12-frag.c     (working copy)
@@ -10,7 +10,7 @@ y = x;
 while (i--)
 {
   ++x;
-  *x = 0;
+  *x = i;
 }
 return 0;
 }

Reply via email to