]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/guality/param-5.c (clear_stack): Tweak.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 2016 14:35:50 +0000 (14:35 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Jun 2016 14:35:50 +0000 (14:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237710 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gcc.dg/guality/param-5.c

index 3ef1ad1e901f03583b82787b91310842a11eb98a..8ca82ea68e5592f53797c786d8b2ef2849255659 100644 (file)
@@ -12,7 +12,7 @@ clear_stack (void)
 {
   char a[128 * 1024 + 128];
 
-  __builtin_memset (a, 0, 128);
+  __builtin_memset (a + 128 * 1024, 0, 128);
 }
 
 __attribute__((noinline, noclone)) void