projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e39c496
)
isl-ast-gen-if.c (main): Increase size of a array to allow a[50] to be a valid location.
author
Nick Clifton
<nickc@gcc.gnu.org>
Mon, 22 Jun 2015 16:25:08 +0000
(16:25 +0000)
committer
Nick Clifton
<nickc@gcc.gnu.org>
Mon, 22 Jun 2015 16:25:08 +0000
(16:25 +0000)
* gcc.dg/graphite/isl-ast-gen-if.c (main): Increase size of a
array to allow a[50] to be a valid location.
From-SVN: r224743
gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c
b/gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c
index 07285a92078914db5d5f5b73799992310938975d..2b05c7bb57d7ea1aa58676fda45eed1519f6a31f 100644
(file)
--- a/
gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c
+++ b/
gcc/testsuite/gcc.dg/graphite/isl-ast-gen-if-1.c
@@
-28,7
+28,7
@@
extern void abort ();
int
main (void)
{
- int a[5
0];
+ int a[5
1]; /* NB This size allows foo's first iteration to write to a[50]. */
foo (a, 50);
int res = array_sum (a);
if (res != 49)