URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr39315-check.c] - Rev 318
Compare with Previous | Blame | View Log
/* { dg-compile } */ typedef float __m128 __attribute__ ((__vector_size__ (16))); __extension__ typedef __PTRDIFF_TYPE__ ptrdiff_t; extern void foo (__m128 *); extern void abort (void); __m128 y = { 0.0, 1.0, 2.0, 3.0 }; void bar (__m128 *x, int align) { if ((((ptrdiff_t) x) & (align - 1)) != 0) abort (); if (__builtin_memcmp (x, &y, sizeof (y)) != 0) abort (); } int main () { foo (&y); return 0; }