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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr21518.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* { dg-do compile } */
2
/* { dg-options "-O2 -fPIC -fno-tree-pre" } */
3
/* { dg-require-effective-target ilp32 } */
4
 
5
extern void __attribute__ ((regparm (3)))
6
drawPointsLines (char type, int first, int *dd);
7
 
8
int
9
do_locator (int *call)
10
{
11
  char prephitmp5;
12
  int type;
13
  int i;
14
 
15
  if (call == 0)
16
    prephitmp5 = 1;
17
  else
18
    {
19
      type = *call;
20
      i = 0;
21
      do
22
        {
23
          if (i != type)
24
            drawPointsLines ((int) (char) type, 0, call);
25
          i = i + 1;
26
        }
27
      while (i != 2);
28
      prephitmp5 = (char) type;
29
    }
30
  drawPointsLines ((int) prephitmp5, 0, call);
31
  return 0;
32
}

powered by: WebSVN 2.1.0

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