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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
loop_optimization23_pkg.adb
blob
a5fc90d720508bbc66dadcc2e5a717660215f727
1
-- { dg-do compile }
2
-- { dg-options "-O3" }
3
-- PR tree-optimization/71083
4
package body
Loop_Optimization23_Pkg
is
5
procedure
Foo
(
X
:
in out
ArrayOfStructB
)
is
6
begin
7
for
K
in
0
.
.99
loop
8
X
(
K
+
1
).
b
.
b
:=
X
(
K
).
b
.
b
;
9
end loop
;
10
end
Foo
;
11
end
Loop_Optimization23_Pkg
;