Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Unified Diff: gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c
diff --git a/gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c b/gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c
index 757af63f124bb81ddecb91fedf3f3532b9fa7d6a..60a4fc85481693ff76923f4c66d42b98c0fdc435 100644
--- a/gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c
+++ b/gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-10.c
@@ -5,11 +5,11 @@
#define N 64
-unsigned char uX[N] __attribute__ ((__aligned__(16)));
-unsigned short uY[N] __attribute__ ((__aligned__(16)));
+unsigned char uX[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
+unsigned short uY[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
unsigned int uresult[N];
-signed char X[N] __attribute__ ((__aligned__(16)));
-signed short Y[N] __attribute__ ((__aligned__(16)));
+signed char X[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
+signed short Y[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
int result[N];
/* Unsigned type promotion (hi->si) */
@@ -43,6 +43,7 @@ int main (void)
for (i=0; i<N; i++) {
X[i] = 16-i;
uX[i] = 16-i;
+ __asm__ volatile ("");
}
foo1 (N);
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-1.c ('k') | gcc/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698