repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
opt58.adb
blob
ac39cc06056e029bc745411c6a7f97dfc3c192f7
1
-- { dg-do compile }
2
-- { dg-options "-O" }
3
4
with
Unchecked_Conversion
;
5
with
System
;
use
System
;
6
with
Opt58_Pkg
;
use
Opt58_Pkg
;
7
8
procedure
Opt58
is
9
10
function
Convert
is new
Unchecked_Conversion
(
Integer
,
Rec
);
11
12
Dword
:
Integer
:=
0
;
13
I
:
Small_Int
:=
F1
(
Convert
(
Dword
));
14
15
begin
16
if
F2
(
Null_Address
,
I
=
0
)
then
17
null
;
18
end if
;
19
end
Opt58
;