2 -- { dg-options "-O2 -gnatp -fdump-tree-optimized" }
4 -- The raise statement must be optimized away by
5 -- virtue of TYPE_NONALIASED_COMPONENT set on A.
7 package body Aliasing2 is
9 function F (P : Ptr) return Integer is
21 -- { dg-final { scan-tree-dump-not "gnat_rcheck" "optimized" } }
22 -- { dg-final { cleanup-tree-dump "optimized" } }