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
/
dse_step.adb
blob
040bcb7d2d5b9280ce0899cf0c6c1c8f305f9095
1
package body
Dse_Step
is
2
3
procedure
Do_Step
(
This
:
in out
Counter
)
is
4
begin
5
This
.
Value
:=
This
.
Value
+
This
.
Step
;
6
end
;
7
8
procedure
Step_From
(
Start
:
in
My_Counter
)
is
9
Lc
:
My_Counter
:=
Start
;
10
begin
11
while
Nsteps
>
0
loop
12
Do_Step
(
Lc
);
13
Nsteps
:=
Nsteps
-
1
;
14
end loop
;
15
Mv
:=
Lc
.
Value
;
16
end
;
17
18
end
;