annotate gcc/testsuite/gcc.dg/lto/20091020-2_0.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-lto-do link } */
kono
parents:
diff changeset
2 /* { dg-require-effective-target fpic } */
kono
parents:
diff changeset
3 /* { dg-lto-options {{-fPIC -r -nostdlib -flto}} } */
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
4 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
111
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 typedef struct {
kono
parents:
diff changeset
7 int NumPackStreams;
kono
parents:
diff changeset
8 } CSzAr;
kono
parents:
diff changeset
9 typedef struct {
kono
parents:
diff changeset
10 CSzAr db;
kono
parents:
diff changeset
11 } CSzArEx;
kono
parents:
diff changeset
12 int SzArEx_Init(CSzArEx *p)
kono
parents:
diff changeset
13 {
kono
parents:
diff changeset
14 return p->db.NumPackStreams;
kono
parents:
diff changeset
15 }
kono
parents:
diff changeset
16 int SzArEx_GetFolderFullPackSize(const CSzArEx *p)
kono
parents:
diff changeset
17 {
kono
parents:
diff changeset
18 return p->db.NumPackStreams;
kono
parents:
diff changeset
19 }
kono
parents:
diff changeset
20