re PR testsuite/59442 (movapd tests fail if built with -fstack-protector-strong/all)

PR testsuite/59442
	* gcc.target/i386/sse2-movapd-1.c: Fix alignment attributes.
	* gcc.target/i386/sse2-movapd-2.c: Likewise.
	* gcc.target/i386/avx-vmovapd-256-1.c: Likewise.
	* gcc.target/i386/avx-vmovapd-256-2.c: Likewise.

From-SVN: r205919
This commit is contained in:
Ryan Mansfield 2013-12-12 08:49:42 +01:00 committed by Uros Bizjak
parent 064c4ff292
commit c2207d6514
5 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,11 @@
2013-12-12 Ryan Mansfield <rmansfield@qnx.com>
PR testsuite/59442
* gcc.target/i386/sse2-movapd-1.c: Fix alignment attributes.
* gcc.target/i386/sse2-movapd-2.c: Likewise.
* gcc.target/i386/avx-vmovapd-256-1.c: Likewise.
* gcc.target/i386/avx-vmovapd-256-2.c: Likewise.
2013-12-11 Sriraman Tallam <tmsriram@google.com> 2013-12-11 Sriraman Tallam <tmsriram@google.com>
PR target/59390 PR target/59390
@ -26,8 +34,7 @@
2013-12-11 Bernd Edlinger <bernd.edlinger@hotmail.de> 2013-12-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
Sandra Loosemore <sandra@codesourcery.com> Sandra Loosemore <sandra@codesourcery.com>
* gcc.dg/pr23623.c: Update to test interaction with C++ * gcc.dg/pr23623.c: Update to test interaction with C++ memory model.
memory model.
2013-12-11 Sandra Loosemore <sandra@codesourcery.com> 2013-12-11 Sandra Loosemore <sandra@codesourcery.com>

View File

@ -15,7 +15,7 @@ void static
avx_test (void) avx_test (void)
{ {
union256d u; union256d u;
double e [4] __attribute__ ((aligned (8))) = {41124.234,2344.2354,8653.65635,856.43576}; double e [4] __attribute__ ((aligned (32))) = {41124.234,2344.2354,8653.65635,856.43576};
u.x = test (e); u.x = test (e);

View File

@ -15,7 +15,7 @@ void static
avx_test (void) avx_test (void)
{ {
union256d u; union256d u;
double e [4] __attribute__ ((aligned (8))) = {0.0}; double e [4] __attribute__ ((aligned (32))) = {0.0};
u.x = _mm256_set_pd (39578.467285, 7856.342941, 85632.783567, 47563.234215); u.x = _mm256_set_pd (39578.467285, 7856.342941, 85632.783567, 47563.234215);

View File

@ -25,7 +25,7 @@ static void
TEST (void) TEST (void)
{ {
union128d u; union128d u;
double e[2] __attribute__ ((aligned (8))) = {2134.3343,1234.635654}; double e[2] __attribute__ ((aligned (16))) = {2134.3343,1234.635654};
u.x = test (e); u.x = test (e);

View File

@ -25,7 +25,7 @@ static void
TEST (void) TEST (void)
{ {
union128d u; union128d u;
double e[2] __attribute__ ((aligned (8))) = {0.0}; double e[2] __attribute__ ((aligned (16))) = {0.0};
u.x = _mm_set_pd (2134.3343,1234.635654); u.x = _mm_set_pd (2134.3343,1234.635654);