https://gcc.gnu.org/g:b6e2dd90a8de756ac299c38f99418d26e74a5637
commit r17-4638-gb6e2dd90a8de756ac299c38f99418d26e74a5637 Author: Andrea Pinski <[email protected]> Date: Thu Sep 24 14:02:28 2026 -0700 testsuite: clear the input arrays in vect-alias-check-ptr-info-2.c [PR127587] Just some uninitialized arrays causing maybe garbage as input here. So let's clear the arrays before the use. Pushed as obvious after testing the testcase still works. PR testsuite/127587 gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-alias-check-ptr-info-2.c: Clear the arrays before the use of them. Signed-off-by: Andrea Pinski <[email protected]> Diff: --- gcc/testsuite/gcc.dg/vect/vect-alias-check-ptr-info-2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.dg/vect/vect-alias-check-ptr-info-2.c b/gcc/testsuite/gcc.dg/vect/vect-alias-check-ptr-info-2.c index 1deda2395acb..a3ca94960802 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-alias-check-ptr-info-2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-alias-check-ptr-info-2.c @@ -14,6 +14,8 @@ f (int c) { int n = hi - lo + 2; double t[n], u[n]; + __builtin_memset(t, 0, sizeof(t)); + __builtin_memset(u, 0, sizeof(u)); double *tab[2] = { t, u }; /* Load tab[idx&1] on both arms so PRE hoists it into a pretmp. */
