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_x.C] - Rev 774

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

/* PR target/38736 */
/* { dg-options "-O2" } */

struct alignment_test_struct
{
  char space[4] __attribute__((__aligned__));
};

extern int aligned_x (void);

int
aligned_x (void)
{
  return __alignof__(struct alignment_test_struct);
}

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

powered by: WebSVN 2.1.0

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