From fac129d88e25ff32e2cc532d3809ecc65b2d764a Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 20 Oct 2013 07:21:00 +0000 Subject: [PATCH] mips-ps-5.c: Add alignment attributes. gcc/testsuite/ * gcc.target/mips/mips-ps-5.c: Add alignment attributes. * gcc.target/mips/mips-ps-7.c: Likewise. From-SVN: r203871 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/mips/mips-ps-5.c | 4 +++- gcc/testsuite/gcc.target/mips/mips-ps-7.c | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac6691c3c0c..64d56a03446 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-10-20 Richard Sandiford + + * gcc.target/mips/mips-ps-5.c: Add alignment attributes. + * gcc.target/mips/mips-ps-7.c: Likewise. + 2013-10-20 Richard Sandiford * gcc.target/mips/bswap-1.c, gcc.target/mips/bswap-2.c, diff --git a/gcc/testsuite/gcc.target/mips/mips-ps-5.c b/gcc/testsuite/gcc.target/mips/mips-ps-5.c index 6bf908ee976..077076f4736 100644 --- a/gcc/testsuite/gcc.target/mips/mips-ps-5.c +++ b/gcc/testsuite/gcc.target/mips/mips-ps-5.c @@ -2,7 +2,9 @@ /* { dg-options "-mpaired-single -mgp64 -ftree-vectorize" } */ /* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ -extern float a[], b[], c[]; +extern float a[] __attribute__ ((aligned (8))); +extern float b[] __attribute__ ((aligned (8))); +extern float c[] __attribute__ ((aligned (8))); NOMIPS16 void foo (void) diff --git a/gcc/testsuite/gcc.target/mips/mips-ps-7.c b/gcc/testsuite/gcc.target/mips/mips-ps-7.c index 35d25fdc89c..3b4e5308598 100644 --- a/gcc/testsuite/gcc.target/mips/mips-ps-7.c +++ b/gcc/testsuite/gcc.target/mips/mips-ps-7.c @@ -3,7 +3,9 @@ /* { dg-options "-mgp32 -mpaired-single -ftree-vectorize" } */ /* { dg-skip-if "requires vectorization" { *-*-* } { "-O0" "-Os" } { "" } } */ -extern float a[], b[], c[]; +extern float a[] __attribute__ ((aligned (8))); +extern float b[] __attribute__ ((aligned (8))); +extern float c[] __attribute__ ((aligned (8))); NOMIPS16 void foo (void) -- 2.30.2