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
tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
warn18.adb
blob
c990575ebf17a8b810c77ac8bf556e302420ec03
1
-- { dg-do compile }
2
-- { dg-options "-Wuninitialized" }
3
4
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
5
6
procedure
Warn18
is
7
type
Set
is array
(
Natural
range
<>)
of
Boolean
;
8
pragma
Pack
(
Set
);
9
10
O
:
constant
Set
(
0
..
255
) := (
28
=>
True
,
others
=>
False
);
11
begin
12
Put_Line
(
O
(
1
)
'Img
);
13
end
Warn18
;