Add an UNSPEC_PROLOGUE_USE to prevent the link register from being considered dead.
[official-gcc.git] / gcc / ada / a-uncdea.ads
blob460ba68b742d96de78d1b3249134f9bad828d0bd
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- A D A . U N C H E C K E D _ D E A L L O C A T I O N --
6 -- --
7 -- S p e c --
8 -- --
9 -- --
10 -- This specification is adapted from the Ada Reference Manual for use with --
11 -- GNAT. In accordance with the copyright of that document, you can freely --
12 -- copy and modify this specification, provided that if you redistribute a --
13 -- modified version, any changes that you have made are clearly indicated. --
14 -- --
15 ------------------------------------------------------------------------------
17 generic
18 type Object (<>) is limited private;
19 type Name is access Object;
21 procedure Ada.Unchecked_Deallocation (X : in out Name);
22 pragma Preelaborate (Unchecked_Deallocation);
24 pragma Import (Intrinsic, Unchecked_Deallocation);