public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] fix array element count
@ 2023-03-16 1:44 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-16 1:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:11b2c85c4acb74f6231275ef0bc015c49566aa1d
commit 11b2c85c4acb74f6231275ef0bc015c49566aa1d
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed Mar 15 07:55:04 2023 -0300
[testsuite] fix array element count
This test is similar to pr103116-1.c, but instead of writing to
4*COUNT elements of x, it writes to 8*COUNT elements, but the
definition of x seems to have been adjusted along with the loop. Fix
the array size so that it doesn't scribble over unrelated
statically-allocated objects.
for gcc/testsuite/ChangeLog
* gcc.dg/vect/pr103116-2.c (x): Fix array size.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr103116-2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/pr103116-2.c b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
index 2f4ed0f404c..aa9797a9407 100644
--- a/gcc/testsuite/gcc.dg/vect/pr103116-2.c
+++ b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
@@ -31,7 +31,7 @@ loop (TYPE *restrict x, TYPE *restrict y)
}
}
-TYPE x[COUNT * 4];
+TYPE x[COUNT * 8];
int
main (void)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] fix array element count
@ 2023-03-15 23:30 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-15 23:30 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:681630ac000c0660e6c72f2f0a1a6f925f1c0021
commit 681630ac000c0660e6c72f2f0a1a6f925f1c0021
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed Mar 15 07:55:04 2023 -0300
[testsuite] fix array element count
This test is similar to pr103116-1.c, but instead of writing to
4*COUNT elements of x, it writes to 8*COUNT elements, but the
definition of x seems to have been adjusted along with the loop. Fix
the array size so that it doesn't scribble over unrelated
statically-allocated objects.
for gcc/testsuite/ChangeLog
* gcc.dg/vect/pr103116-2.c (x): Fix array size.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr103116-2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/pr103116-2.c b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
index 2f4ed0f404c..aa9797a9407 100644
--- a/gcc/testsuite/gcc.dg/vect/pr103116-2.c
+++ b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
@@ -31,7 +31,7 @@ loop (TYPE *restrict x, TYPE *restrict y)
}
}
-TYPE x[COUNT * 4];
+TYPE x[COUNT * 8];
int
main (void)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/testme)] [testsuite] fix array element count
@ 2023-03-15 14:06 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2023-03-15 14:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:482e4e1433b3d78ba6c2015f2416496fdd4db376
commit 482e4e1433b3d78ba6c2015f2416496fdd4db376
Author: Alexandre Oliva <oliva@adacore.com>
Date: Wed Mar 15 07:55:04 2023 -0300
[testsuite] fix array element count
This test is similar to pr103116-1.c, but instead of writing to
4*COUNT elements of x, it writes to 8*COUNT elements, but the
definition of x seems to have been adjusted along with the loop. Fix
the array size so that it doesn't scribble over unrelated
statically-allocated objects.
for gcc/testsuite/ChangeLog
* gcc.dg/vect/pr103116-2.c (x): Fix array size.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr103116-2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/pr103116-2.c b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
index 2f4ed0f404c..aa9797a9407 100644
--- a/gcc/testsuite/gcc.dg/vect/pr103116-2.c
+++ b/gcc/testsuite/gcc.dg/vect/pr103116-2.c
@@ -31,7 +31,7 @@ loop (TYPE *restrict x, TYPE *restrict y)
}
}
-TYPE x[COUNT * 4];
+TYPE x[COUNT * 8];
int
main (void)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-16 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 1:44 [gcc(refs/users/aoliva/heads/testme)] [testsuite] fix array element count Alexandre Oliva
-- strict thread matches above, loose matches on Subject: below --
2023-03-15 23:30 Alexandre Oliva
2023-03-15 14:06 Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).