blob: ebd8cbf21a503d46491d0f90526b6829fc2b4b1f (
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
41
|
/* PR debug/45055 */
/* { dg-do compile } */
/* { dg-options "-O2 -ftracer -fsched-pressure -funroll-loops -fschedule-insns -fcompare-debug" } */
int colormap[10];
extern int bar ();
void
foo (int *img, int fp, int y, int *ptr, int depth, int c, int t, int xm)
{
int x, color, count;
for (; y; y--)
{
if (depth)
{
count = bar ();
for (x = xm; x; x--)
{
if (c != 1)
count = color = -1;
if (count == 0)
color = count = bar ();
if (color)
t = bar (fp);
*ptr++ = colormap[t];
}
}
switch (*img)
{
case 1:
bar ();
case 3:
case -1:
case -3:
bar ();
case -4:
bar ();
}
}
}
|