OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [compat/] [abi/] [pr38736_main.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
/* PR target/38736 */
2
/* { dg-skip-if "attribute ((aligned))" { ! { i?86-*-* x86_64-*-* } } } */
3
/* { dg-require-effective-target avx } */
4
 
5
/* Test compatibility of attribute ((aligned)) with and without -mavx.  */
6
 
7
extern int aligned_x (void);
8
extern int aligned_y_avx (void);
9
extern "C" void abort (void);
10
 
11
int
12
main ()
13
{
14
  if (aligned_x () != aligned_y_avx ())
15
    abort ();
16
 
17
  return 0;
18
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.