OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [b2.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
 
2
struct s
3
{
4
  unsigned a : 8;
5
  unsigned b : 8;
6
  unsigned c : 8;
7
  unsigned d : 8;
8
};
9
 
10
/*
11
struct
12
{
13
  unsigned a : 8;
14
  unsigned b : 16;
15
  unsigned c : 8;
16
};
17
*/
18
 
19
struct s
20
foo (struct s s, int i)
21
{
22
  s.b = i;
23
  return s;
24
}

powered by: WebSVN 2.1.0

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