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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [ipa/] [pr42706.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fno-early-inlining -fipa-sra"  } */
3
 
4
struct S
5
{
6
  float red;
7
  int green;
8
  void *blue;
9
};
10
 
11
extern int gi;
12
static int foo ();
13
 
14
int
15
bar (void)
16
{
17
  foo ();
18
  return 0;
19
}
20
 
21
static int
22
foo (struct S s)
23
{
24
  gi = s.green;
25
  return 0;
26
}
27
 

powered by: WebSVN 2.1.0

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