blob: 49d6a4c837770ec8896ab8436405ecf5a5490fc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/* PR ipa/65521 */
/* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug" } */
/* { dg-xfail-if "" { powerpc-ibm-aix* } } */
struct S { int s; };
int f6 (void *, unsigned long);
int f7 (int, int *, unsigned long);
int f8 (void);
int f9 (void (*) (void));
int
f1 (void *p)
{
return f6 (p, 256UL);
}
int
f2 (void *p)
{
return f6 (p, 256UL);
}
int
f3 (struct S *x)
{
return f7 (f8 (), &x->s, 16UL);
}
int
f4 (struct S *x)
{
return f7 (f8 (), &x->s, 16UL);
}
void
f5 (void)
{
f9 (f5);
}
|