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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr21518.c] - Blame information for rev 318

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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