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] - 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-options "-O2" } */
3
 
4
struct alignment_test_struct
5
{
6
  char space[4] __attribute__((__aligned__));
7
};
8
 
9
extern int aligned_x (void);
10
 
11
int
12
aligned_x (void)
13
{
14
  return __alignof__(struct alignment_test_struct);
15
}

powered by: WebSVN 2.1.0

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