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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr43165.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/43165 */
2
/* { dg-options "-g" } */
3
/* { dg-require-effective-target int32plus } */
4
 
5
struct __attribute__((packed)) S
6
{
7
  unsigned char a;
8
  unsigned short b;
9
  unsigned short c;
10
  unsigned d : 24;
11
};
12
 
13
void
14
foo (struct S p)
15
{
16
  for (; p.c; p.c++)
17
    ;
18
}

powered by: WebSVN 2.1.0

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