]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR ada/70017
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2016 20:52:40 +0000 (20:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2016 20:52:40 +0000 (20:52 +0000)
* gcc.dg/pr70017.c (foo): Store 0 to first element of each array.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr70017.c

index a3592de40f61c65cf923ea45c801e3fe8ba8a9ab..ba4ca4c7741a7fc4b7aba793f6a869e7390e3f95 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR ada/70017
+       * gcc.dg/pr70017.c (foo): Store 0 to first element of each array.
+
 2016-03-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        PR rtl-optimization/69904
index 44f0ab949158f7f2424f37bd04774174297da367..52586fe57c9567789c9cf05988759836fb0252fc 100644 (file)
@@ -13,4 +13,8 @@ void foo(void)
 {
   HUNDRED(a)
   HUNDRED(b)
+#undef ONE
+#define ONE(s) a##s[0] = 0;
+  HUNDRED(a)
+  HUNDRED(b)
 } /* { dg-warning "frame size too large for reliable stack checking" } */