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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20040130-1.c] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR target/11475 */
2
/* Origin: <heinrich.brand@fujitsu-siemens.com> */
3
 
4
/* This used to fail on SPARC because of a broken pattern.  */
5
 
6
#pragma pack(2)
7
 
8
struct
9
{
10
  unsigned char G936:7;
11
  unsigned short G937:6;
12
  unsigned int :4;
13
  unsigned short :14;
14
  unsigned int G938:8;
15
#if __INT_MAX__ >= 2147483647L
16
  unsigned int :30;
17
#endif
18
  unsigned short :16;
19
#if __INT_MAX__ >= 2147483647L
20
  unsigned int :18;
21
#endif
22
  unsigned short G939:9;
23
} G928b;
24
 
25
void TestG928(void)
26
{
27
  G928b.G936 |= G928b.G939;
28
}

powered by: WebSVN 2.1.0

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