public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/fix-vect.exp-asan-errors)] testsuite: fix vect.exp ASAN errors Date: Wed, 15 Dec 2021 12:41:31 +0000 (GMT) [thread overview] Message-ID: <20211215124131.429223858423@sourceware.org> (raw) https://gcc.gnu.org/g:7fe4bfa7cac0c193e7173905b44d22847d510034 commit 7fe4bfa7cac0c193e7173905b44d22847d510034 Author: Martin Liska <mliska@suse.cz> Date: Wed Dec 15 13:41:00 2021 +0100 testsuite: fix vect.exp ASAN errors gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-simd-18.c: Fix ASAN error. * gcc.dg/vect/vect-simd-19.c: Likewise. * gcc.dg/vect/vect-simd-20.c: Likewise. Diff: --- gcc/testsuite/gcc.dg/vect/vect-simd-18.c | 2 +- gcc/testsuite/gcc.dg/vect/vect-simd-19.c | 2 +- gcc/testsuite/gcc.dg/vect/vect-simd-20.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c index b25f5a5cd31..cca350f5c21 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-18.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-18.c @@ -17,7 +17,7 @@ foo (int s, int *p) return r; } -int p[10000 / 78]; +int p[10000 / 78 + 1]; int main () diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c index a71dfa676d8..67e25c0e07e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-19.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-19.c @@ -17,7 +17,7 @@ foo (int s, int m, int n, int *p) return r; } -int p[10000 / 78]; +int p[10000 / 78 + 1]; int main () diff --git a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c index c85f05f61c6..35546ba5a23 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-simd-20.c +++ b/gcc/testsuite/gcc.dg/vect/vect-simd-20.c @@ -18,7 +18,7 @@ foo (int s, int m, int n, int *p) return r; } -int p[10000 / 78 * 7]; +int p[(10000 / 78 + 1) * 7]; int main ()
reply other threads:[~2021-12-15 12:41 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211215124131.429223858423@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).