From: Richard Sandiford Date: Sun, 20 Oct 2013 07:21:00 +0000 (+0000) Subject: mips-ps-5.c: Add alignment attributes. X-Git-Tag: releases/gcc-4.9.0~3336 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fac129d88e25ff32e2cc532d3809ecc65b2d764a;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac6691c3c0c1..64d56a03446e 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 6bf908ee9768..077076f4736c 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 35d25fdc89c7..3b4e53085989 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)