OSDN Git Service

* gcc.dg/visibility-11.c: Enlarge test array to 1024 bytes to
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2006 05:43:14 +0000 (05:43 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2006 05:43:14 +0000 (05:43 +0000)
avoid memcpy optimization.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115705 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/visibility-11.c

index be305c6..4f044f5 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-24  Uros Bizjak  <uros@kss-loka.si>
+
+       * gcc.dg/visibility-11.c: Enlarge test array to 1024 bytes to
+       avoid memcpy optimization.
+       
 2006-07-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/25289
index e599582..41aeed8 100644 (file)
@@ -12,7 +12,7 @@
 extern void* memcpy (void *, const void *, __SIZE_TYPE__);
 #pragma GCC visibility pop
 
-struct a { int a[10]; };
+struct a { int a[1024]; };
 
 extern void *bar (struct a *, struct a *, int);