annotate gcc/testsuite/gnat.dg/lto17.ads @ 144:8f4e72ab4e11

fix segmentation fault caused by nothing next cur_op to end
author Takahiro SHIMIZU <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 21:23:56 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 package Lto17 is
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 type Chunk_List_Element;
kono
parents:
diff changeset
4 type Chunk_List is access Chunk_List_Element;
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 type Arr is array (Natural range <>) of Integer;
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 type Chunk(Size : Natural) is record
kono
parents:
diff changeset
9 Data : Arr(1 .. Size);
kono
parents:
diff changeset
10 Where : Natural;
kono
parents:
diff changeset
11 end record;
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 type Chunk_List_Element(Size : Natural) is record
kono
parents:
diff changeset
14 Chnk : Chunk(Size);
kono
parents:
diff changeset
15 Link : Chunk_List;
kono
parents:
diff changeset
16 end record;
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 function To_Chunk_List(C : Chunk) return Chunk_List;
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 end Lto17;