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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
lto16_pkg.adb
blob
edfa399369a2967b6740ede7205994412422f476
1
with
Ada
.
Calendar
;
use
Ada
.
Calendar
;
2
3
package body
Lto16_Pkg
is
4
5
function
F
return
Float
is
6
F1
:
Float
:=
Float
(
Seconds
(
Clock
));
7
F2
:
Float
:=
Float
(
Seconds
(
Clock
));
8
F
:
Float
;
9
begin
10
if
F1
>
F2
then
11
F
:= (
F2
-
F1
) /
2.0
;
12
else
13
F
:= (
F1
-
F2
) /
2.0
;
14
end if
;
15
return
F
;
16
end
;
17
18
end
Lto16_Pkg
;