This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Trivial testsuite fix



A private message from Kai to myself include this patch to fix an out of bounds array access in the testsuite.

Installed on the trunk for Kai.


commit 07373396d21b65f975c2354e7c6ab454200b40af
Author: Jeff Law <law@redhat.com>
Date:   Mon Apr 29 10:22:11 2013 -0600

           * gcc.c-torture/execute/pr55875.c

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3364efc..73eeaf2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-29  Kai Tietz  <ktietz@redhat.com>
+
+	* gcc.c-torture/execute/pr55875.c
+
 2013-04-29  Richard Biener  <rguenther@suse.de>
 
 	PR middle-end/57075
diff --git a/gcc/testsuite/gcc.c-torture/execute/pr55875.c b/gcc/testsuite/gcc.c-torture/execute/pr55875.c
index 4a0ce1b..4e56f7c 100644
--- a/gcc/testsuite/gcc.c-torture/execute/pr55875.c
+++ b/gcc/testsuite/gcc.c-torture/execute/pr55875.c
@@ -1,4 +1,4 @@
-int a[250];
+int a[251];
 __attribute__ ((noinline))
 t(int i)
 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]