From 1c37284010b9e177ffc2dc7ac32c7ad9becf2316 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Thu, 2 Feb 2017 16:35:15 +0000 Subject: [PATCH] re PR middle-end/78142 (Commit r241590 is more registers to be used for on gcc.target/aarch64/vector_initialization_nostack.c) PR middle-end/78142 * gcc.target/aarch64/vector_initialization_nostack.c (f12): Use one vector From-SVN: r245132 --- gcc/testsuite/ChangeLog | 6 ++++++ .../gcc.target/aarch64/vector_initialization_nostack.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index fe055b2caf7..04312df7432 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-02-02 Tamar Christina + + PR middle-end/78142 + * gcc.target/aarch64/vector_initialization_nostack.c + (f12): Use one vector + 2017-02-02 Jakub Jelinek * c-c++-common/asan/pr63316.c: Use dg-skip-if instead of dg-options. diff --git a/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c b/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c index bbad04d0026..bf43f1cd72e 100644 --- a/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c +++ b/gcc/testsuite/gcc.target/aarch64/vector_initialization_nostack.c @@ -38,14 +38,14 @@ f11 (void) return sum; } -char arr_c[100][100]; +char arr_c[100]; char f12 (void) { int i; char sum = 0; for (i = 0; i < 100; i++) - sum += arr_c[i][0] * arr_c[0][i]; + sum += arr_c[i] * arr_c[i]; return sum; } -- 2.30.2