runtime: allow preemption in fast syscall return
[official-gcc.git] / gcc / testsuite / gnat.dg / pack9.adb
blobb15a9df030e6053a4cd4640c89e3eded3a667422
1 -- { dg-do compile }
2 -- { dg-options "-O2 -gnatp -fdump-tree-optimized" }
4 pragma Optimize_Alignment (Space);
6 package body Pack9 is
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;
17 end Pack9;
19 -- { dg-final { scan-tree-dump-not "gnat_rcheck" "optimized" } }