URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [compat/] [abi/] [pr38736_main.C] - Rev 316
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR target/38736 */
/* { dg-skip-if "attribute ((aligned))" { ! { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target avx } */
/* Test compatibility of attribute ((aligned)) with and without -mavx. */
extern int aligned_x (void);
extern int aligned_y_avx (void);
extern "C" void abort (void);
int
main ()
{
if (aligned_x () != aligned_y_avx ())
abort ();
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log