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
PR ipa/83051
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
pack9.adb
blob
b15a9df030e6053a4cd4640c89e3eded3a667422
1
-- { dg-do compile }
2
-- { dg-options "-O2 -gnatp -fdump-tree-optimized" }
3
4
pragma
Optimize_Alignment
(
Space
);
5
6
package body
Pack9
is
7
8
procedure
Copy
(
X
,
Y
:
R2_Ptr
)
is
9
T
:
R2
:=
Y
.
all
;
10
begin
11
if
T
.
I2
/=
Y
.
I2
then
12
raise
Program_Error
;
13
end if
;
14
X
.
all
:=
T
;
15
end
;
16
17
end
Pack9
;
18
19
-- { dg-final { scan-tree-dump-not "gnat_rcheck" "optimized" } }