OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20091013-1_0.c] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-lto-options {{-fPIC -r -nostdlib -flto} {-fPIC -r -nostdlib -O2 -flto}} } */
3
 
4
void * HeapAlloc(void*,unsigned int,unsigned long);
5
 
6
typedef struct tagGdiFont GdiFont;
7
 
8
typedef struct tagDC {
9
    int xunused;
10
    GdiFont *gdiFont;
11
    unsigned int font_code_page;
12
} DC;
13
 
14
DC *alloc_dc_ptr( void *funcs, unsigned short magic )
15
{
16
  DC *dc;
17
  if (!(dc = HeapAlloc( 0, 0, sizeof(*dc) ))) return ((void *)0);
18
  dc->gdiFont = 0;
19
  return dc;
20
}
21
 

powered by: WebSVN 2.1.0

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