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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr17273.c] - Blame information for rev 327

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

Line No. Rev Author Line
1 297 jeremybenn
struct A { int i; };
2
struct B { struct A a; };
3
 
4
void f(struct A*, struct A*);
5
#define bool _Bool
6
 
7
void bar(bool b)
8
{
9
  struct B * D1601;
10
  struct A D1576;
11
  struct A * D1593;
12
  struct B * D1592;
13
  struct B D1575;
14
 
15
  D1575 = (struct B){};
16
 
17
  if (b) D1592 = &D1575; else D1592 = &D1575;
18
 
19
  D1593 = &D1592->a; // <-- we are prograting &D1575 into here.
20
  D1576 = (struct A){};
21
  f (D1593, &D1576);
22
}

powered by: WebSVN 2.1.0

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