blob: 9c5f43af36fbba3720c081fcc7dd933833c55951 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fno-early-inlining -fipa-sra" } */
struct S
{
float red;
int green;
void *blue;
};
extern int gi;
static int foo ();
int
bar (void)
{
foo ();
return 0;
}
static int
foo (struct S s)
{
gi = s.green;
return 0;
}