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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [lto/] [20091020-2_0.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-lto-do link } */
2
/* { dg-require-effective-target fpic } */
3
/* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
4
 
5
typedef struct {
6
    int NumPackStreams;
7
} CSzAr;
8
typedef struct {
9
    CSzAr db;
10
} CSzArEx;
11
int SzArEx_Init(CSzArEx *p)
12
{
13
  return p->db.NumPackStreams;
14
}
15
int SzArEx_GetFolderFullPackSize(const CSzArEx *p)
16
{
17
  return p->db.NumPackStreams;
18
}
19
 

powered by: WebSVN 2.1.0

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