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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr44971.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fcompare-debug -w" } */
3
 
4
typedef struct
5
{
6
  int default_screen;
7
} *_XPrivint;
8
typedef int FcBool;
9
typedef struct
10
{
11
  struct _XftintInfo *next;
12
} XftintInfo;
13
int _XftintInfo;
14
 
15
void _XftintInfoGet (int * dpy, FcBool createIfNecessary)
16
{
17
  int event_base;
18
  &event_base
19
   && dpy[createIfNecessary] != 0;
20
}
21
 
22
void _XftCloseint (int dpy, XftintInfo * info,XftintInfo  * *prev)
23
{
24
  _XftintInfoGet (dpy, 0);
25
  for (prev = &_XftintInfo; info = *prev; prev = &(*prev)->next)
26
    ;
27
}

powered by: WebSVN 2.1.0

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